immigration-mcp
  
β οΈ Disclaimer: This tool is for informational purposes only and does not constitute legal advice. Always consult a qualified immigration attorney for decisions about your specific case. Data is sourced from official government websites (USCIS, State Department) but may not reflect the most recent updates.
An MCP (Model Context Protocol) server for US immigration guidance β live Visa Bulletin, priority date checker, USCIS news, and immigration term explanations.
Built with the official Go MCP SDK.
Why immigration-mcp?
Navigating US immigration is complex and expensive. immigration-mcp gives AI agents access to live, structured immigration data from official government sources β so you can ask questions in plain English and get accurate, up-to-date answers.
- Free β powered by public government data sources (USCIS, State Department)
- Live data β fetches the latest Visa Bulletin monthly, USCIS news daily
- Open source β MIT licensed
- Production grade β structured logging, graceful shutdown, unit tested
Available Tools
| Tool | Description | |------|-------------| | get_visa_bulletin | Fetch the latest US Visa Bulletin with employment-based priority dates by country and category | | check_priority_date | Check if your priority date is current for I-485 filing | | explain_term | Plain English explanation of any immigration term |
Example Prompts
Once connected to Claude Desktop:
- "What are the current EB2 priority dates for India?"
- "My priority date is March 2015, I'm from India EB2 β can I file I-485 this month?"
- "Has EB2 India moved forward compared to last month?"
- "What is the difference between Final Action Date and Date for Filing?"
- "Are there any recent USCIS policy changes affecting H1B holders?"
- "What documents do I need to file I-485?"
Prerequisites
- Go 1.25+
- No API keys required β powered by public government data
Setup
1. Install
git clone https://github.com/tushariitr-19/immigration-mcp
cd immigration-mcp
go build -o immigration-mcp-server ./cmd/server/
2. Configure Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"immigration-mcp": {
"command": "/path/to/immigration-mcp-server",
"env": {
"DEBUG": "false"
}
}
}
}
Optional: ``bash export DEBUG=true # enables debug logging ``
Screenshots
Available Tools
explain_term in action
Architecture
immigration-mcp/
βββ cmd/server/main.go β entry point, env vars, graceful shutdown
βββ server/server.go β MCP server setup, tool registration
βββ tools/
β βββ visa_bulletin.go β get_visa_bulletin tool
β βββ priority_date.go β check_priority_date tool
β βββ explain_term.go β explain_term tool
βββ util/
β βββ util.go β shared helper functions
β βββ constants.go β shared constants
βββ models/
β βββ models.go β shared data models
βββ tests/
β βββ visa_bulletin_test.go β unit tests
βββ logger/
β βββ logger.go β structured logging via zap
βββ Dockerfile
Each tool is self-contained β the server is agnostic of what tools do internally. Adding a new tool is a single line in server/server.go.
Running Tests
# Unit tests only
make test-unit
# Integration tests only
make test-integration
# All tests
make test
# Build binary
make build
Contributing
PRs welcome. To add a new tool:
- Create
tools/<toolname>.go - Define your input struct and tool definition
- Register it in
server/server.gowith one line - Add unit tests in
tests/<toolname>_test.go
License
MIT











