mcpField
πŸ‡Ί
πŸ‡ΊπŸ‡Έ Us Immigration Mcp Server

πŸ‡ΊπŸ‡Έ Us Immigration Mcp Server

Local
github.com/sebastianomarchesiniLegal & Government9Updated 45w ago

About πŸ‡ΊπŸ‡Έ Us Immigration Mcp Server

US Immigration MCP Server provides document-generation and evidence-analysis tools for applicants, attorneys, and researchers working on EB1A and EB2 NIW petitions. It covers LaTeX documents, legal citations, and relevant evaluation frameworks; its content is informational, not legal advice.

Key features

  1. 01Generate petition and reference-letter LaTeX
  2. 02Format immigration law citations
  3. 03Analyze Dhanasar's three prongs
  4. 04Map evidence to ten EB1A criteria
  5. 05Check visa bulletin and processing information

Use cases

  1. 01Draft EB2 NIW petition materials
  2. 02Map EB1A evidence to criteria
  3. 03Prepare reference letters and exhibit lists
  4. 04Review priority dates and visa bulletins

MCP support

The MCP server exposes immigration document and analysis tools, legal-text resources, and petition-related prompts to clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

πŸ‡ΊπŸ‡Έ US Immigration MCP Server

License: MIT Node.js 18+ TypeScript MCP

A Model Context Protocol (MCP) server that provides AI assistants with tools, resources, and prompts for U.S. employment-based immigration petitions β€” specifically EB1A (Extraordinary Ability) and EB2 NIW (National Interest Waiver).

✨ Key Features

FeatureDescription
πŸ”€ LaTeX Document GenerationGenerate complete, professional LaTeX petition letters, reference letters, and exhibit lists
πŸ“œ Legal Citation ToolsFormat CFR, USCIS Policy Manual, INA, and case citations correctly
βš–οΈ Dhanasar Framework AnalyzerEvaluate evidence against the three-prong NIW test
πŸ† EB1A Criteria CheckerMap evidence to the 10 regulatory criteria
πŸ“… Visa Bulletin GuidanceUnderstand priority dates and processing times
πŸ“ Document TemplatesStructured prompts for petition letters and reference letters

🎯 Perfect For

  • Self-petitioners preparing their own EB1A or EB2 NIW applications
  • Immigration attorneys streamlining document preparation
  • Researchers and professionals building evidence packages
  • Anyone using LaTeX for professional immigration documents

πŸ“‹ Prerequisites

  • Node.js 18+ (Download)
  • An MCP-compatible client (Claude Desktop, VS Code with MCP extension, Cursor, etc.)
  • LaTeX distribution (for compiling generated documents): TeX Live, MiKTeX, or Overleaf

πŸš€ Quick Start

Installation
# Clone the repository
git clone https://github.com/sebastianomarchesini/us-immigration-mcp.git
cd us-immigration-mcp

# Install dependencies
npm install

# Build the project
npm run build
Configure Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "us-immigration": {
      "command": "node",
      "args": ["/path/to/us-immigration-mcp/dist/index.js"]
    }
  }
}

Restart Claude Desktop. You'll see the tools available in the πŸ”§ menu.

Run in Development Mode
npm run dev

πŸ› οΈ Available Tools

LaTeX Document Generation
ToolDescription
generate_niw_petition_latexComplete EB2 NIW petition letter with Dhanasar framework
generate_eb1a_petition_latexComplete EB1A petition letter with claimed criteria
generate_reference_letter_latexExpert recommendation letter template
generate_exhibit_list_latexFormatted exhibit index
generate_latex_preambleReusable preamble with legal commands
escape_latexEscape special characters for LaTeX
Citation Formatting
ToolDescription
format_cfr_citationCode of Federal Regulations citations
format_case_citationLegal case citations (Bluebook format)
format_uscis_policy_citationUSCIS Policy Manual citations
format_ina_citationImmigration and Nationality Act citations
format_latex_citationCitations formatted for LaTeX documents
get_common_citationsDictionary of frequently used citations
NIW Analysis (Matter of Dhanasar)
ToolDescription
analyze_dhanasar_prongAnalyze evidence against a specific prong
evaluate_niw_petitionComprehensive three-prong evaluation
suggest_niw_evidenceRecommend evidence types for weak areas
get_dhanasar_summaryComplete framework overview
EB1A Analysis
ToolDescription
analyze_eb1a_criterionEvaluate evidence against criteria 1-10
map_evidence_to_eb1a_criteriaSuggest applicable criteria
get_eb1a_criteria_summaryAll 10 criteria overview
compare_eb1a_vs_niwCompare both pathways
Immigration Information
ToolDescription
get_visa_bulletin_infoUnderstanding the Visa Bulletin
explain_priority_datePriority date implications
get_processing_times_infoUSCIS processing information

πŸ“„ LaTeX Usage Examples

Generate an NIW Petition Letter
User: Generate a LaTeX petition letter for my EB2 NIW application. 
      My name is John Smith, I work in machine learning, and my endeavor 
      is developing AI systems for healthcare diagnostics. I have a PhD 
      in Computer Science from Stanford (2020).

The tool will generate a complete .tex file with:

  • Proper legal formatting and citations
  • Dhanasar three-prong structure
  • Placeholder sections for your specific evidence
  • Custom LaTeX commands for legal citations (\cfr{}, \casename{}, \exhibit{})
Compile the LaTeX Document
# Using pdflatex
pdflatex petition.tex

# Or upload to Overleaf for online editing
Custom LaTeX Commands Included
\cfr{8 C.F.R. Β§ 204.5(k)}           % CFR citations (italicized)
\casename{Matter of Dhanasar}        % Case names (italicized)
\exhibit{A-1}                        % Exhibit references (bold)
\seeexhibit{C-2}                     % "See Exhibit C-2" format

πŸ“š Available Resources

Access legal texts via the MCP resources interface:

URIContent
legal://dhanasarMatter of Dhanasar, 26 I&N Dec. 884 (AAO 2016)
legal://kazarianKazarian v. USCIS, 596 F.3d 1115 (9th Cir. 2010)
legal://eb1a-criteria8 C.F.R. Β§ 204.5(h)(3) β€” EB1A criteria
legal://eb2-niw-criteria8 C.F.R. Β§ 204.5(k) β€” EB2 NIW requirements
legal://policy-manual-niwUSCIS Policy Manual Vol. 6, Part F, Ch. 5

πŸ“ Available Prompts

PromptDescription
niw_petition_outlineStructure for NIW petition cover letter
reference_letter_guidanceTemplate for expert recommendation letters
rfe_response_frameworkFramework for responding to RFEs
eb1a_petition_outlineStructure for EB1A petition letter

πŸ—οΈ Project Structure

us-immigration-mcp/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ index.ts                 # Main MCP server entry point
β”‚   β”œβ”€β”€ tools/
β”‚   β”‚   β”œβ”€β”€ citations.ts         # Citation formatting tools
β”‚   β”‚   β”œβ”€β”€ dhanasar.ts          # NIW analysis tools
β”‚   β”‚   β”œβ”€β”€ eb1a.ts              # EB1A criteria tools
β”‚   β”‚   β”œβ”€β”€ visa-bulletin.ts     # Visa bulletin tools
β”‚   β”‚   └── latex.ts             # LaTeX generation tools
β”‚   β”œβ”€β”€ resources/
β”‚   β”‚   └── legal-texts.ts       # Legal resource content
β”‚   └── prompts/
β”‚       └── templates.ts         # Prompt templates
β”œβ”€β”€ templates/                    # Example LaTeX templates
β”œβ”€β”€ dist/                         # Compiled JavaScript
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
└── README.md

⚠️ Disclaimer

This tool is for informational and educational purposes only.

  • This is NOT legal advice. Immigration law is complex and constantly evolving.
  • Always consult with a qualified immigration attorney for your specific case.
  • The developers are not responsible for any immigration decisions made using this tool.
  • Information may not reflect the most recent legal developments.
  • Verify all citations and legal standards before submitting any petition.

🀝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

Ideas for Contributions
  • Add more AAO decision summaries
  • Implement PERM labor certification tools
  • Add EB1B (Outstanding Researcher) support
  • Create i-140 form field mapper
  • Add more LaTeX templates (CV, cover letters)
  • Support for BibTeX legal citations

πŸ§ͺ Development

# Install dependencies
npm install

# Run in development mode (with hot reload)
npm run dev

# Build for production
npm run build

# Run linting
npm run lint

# Run tests
npm test

πŸ“„ License

This project is licensed under the MIT License β€” see LICENSE for details.

πŸ™ Acknowledgments

  • Anthropic for the Model Context Protocol
  • The immigration law community for public legal resources
  • USCIS for the Policy Manual and public AAO decisions
  • The LaTeX community for typesetting excellence

πŸ“¬ Contact


Built with ❀️ to help navigate the U.S. immigration system

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.