ImmigrationDB MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ImmigrationDB MCPcompare rent in Berlin and Munich, with sources"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ImmigrationDB MCP
Read-only Model Context Protocol server for ImmigrationDB, a sourced migration reference: 39 countries and 27,000+ cities, visa and residence routes, passport entry answers, cost of living, salaries, crime, air quality and climate. Every value carries its source, observation date and geographic grain. The server reads the same release as the website.
Live endpoint (Streamable HTTP, no key, no account):
https://immigrationdb.com/mcpProtocol versions:
2026-07-28,2025-11-25Docs:
https://immigrationdb.com/data/mcp/Tool catalog with input schemas:
https://immigrationdb.com/data/mcp/catalog.jsonMethodology:
https://immigrationdb.com/methodology/Agent index:
https://immigrationdb.com/llms.txt
This repository holds the public contract of the hosted server: client
configuration, the tool list with input schemas (tools.json),
registry metadata (server.json) and a dependency-free smoke
test. The service runs only as the hosted endpoint above; its data release is
several gigabytes and is published as files at
https://immigrationdb.com/data/mcp/.
Tools
Tool | Arguments | What it does |
|
| Search countries and cities. |
|
| Resolve a city name to ranked candidates; never picks an ambiguous country silently. |
|
| One city with claim-level facts and source metadata. |
|
| Exactly one fact: value, unit, grain, dates, source. |
|
| Compare cities on compatible metrics, with provenance for every cell. |
|
| Numeric filters over city facts with explicit counts. |
|
| Metric definitions and their coverage. |
|
| Metric blocks with coverage. |
|
| One country record with official visa-route links. |
|
| Visa and residence routes of a destination. |
|
| One route with its official source. |
|
| Passport entry rules; unknown answers stay explicit. |
|
| One passport entry rule. |
|
| Published reports (largest cities, cheapest rent, cleanest air…). |
|
| One report with its rows, method and sources. |
Optional arguments are listed with the required ones; tools.json has the full
input schemas. Country arguments are ISO 3166-1 alpha-2 codes (de, lv, us); city
arguments are canonical slugs (berlin), not display names. All tools are
annotated read-only and idempotent.
Related MCP server: Geo-Parity MCP Server
Resources
immigrationdb://country/{cc}— country record and route linksimmigrationdb://city/{country}/{slug}— city facts with source metadataimmigrationdb://legal/routes/{country}/{route_id}— one visa or residence routeimmigrationdb://legal/entry/{passport}/{destination}— one passport entry answerimmigrationdb://legal/entry/{passport}— all entry answers for a passportimmigrationdb://report/{report_id}— report rows, method and sources
Client configuration
Any MCP client that supports Streamable HTTP:
{
"mcpServers": {
"immigrationdb": {
"url": "https://immigrationdb.com/mcp"
}
}
}Claude Code:
claude mcp add --transport http immigrationdb https://immigrationdb.com/mcpClients that only speak stdio can go through
mcp-remote:
npx -y mcp-remote https://immigrationdb.com/mcp.
Example calls
{ "tool": "resolve_city", "arguments": { "query": "Berlin, Germany", "limit": 5 } }
{ "tool": "get_city_fact", "arguments": { "country": "de", "slug": "berlin", "metric_id": "population_total" } }
{ "tool": "compare_cities", "arguments": { "cities": [{ "country": "de", "slug": "berlin" }, { "country": "de", "slug": "munich" }], "metric_ids": ["population_total"] } }
{ "tool": "search_facts", "arguments": { "countries": ["de"], "filters": [{ "metric_id": "population_total", "op": ">", "value": 100000 }], "sort_metric": "population_total", "sort_order": "desc", "limit": 20 } }
{ "tool": "get_entry_rule", "arguments": { "passport": "lv", "destination": "us" } }Response contract
Every response carries the snapshot ID, its generation date and the canonical origin. Facts keep their value, unit, geographic grain, observation date, verification date, source ID, source URL and grade. Unknown or withheld values are returned as such and never estimated. Errors name the requested identifier and the snapshot ID. Rate limits and response-size caps apply per client.
Smoke test
Node 20 or newer, no install step:
node scripts/smoke.mjs # initialize, list tools, run six example calls
node scripts/smoke.mjs --write-tools # also refresh tools.json from the live serverLicense
The files in this repository are MIT. The ImmigrationDB data is published under CC BY 4.0: credit ImmigrationDB and link to the page or resource you used. The underlying official sources keep their own terms; each value names its publisher and links to it.
ImmigrationDB is an independent reference. It gives no legal advice and sells no visa or immigration services; check current requirements with the responsible authority before acting.
This server cannot be deployed
Maintenance
Related MCP Connectors
Query 4,300+ ranked metros across sixteen dimensions: profiles, search, and head-to-head comparisons
CitedTravel gives AI agents and developers travel facts they can cite. It covers plug types and voltage, currency, emergency numbers, driving side, public holidays (3 years) and tipping norms for 195 countries, plus a visa/entry pilot for GB, US and JP passport holders. Every value comes with its sources (publisher, URL, license, verbatim quote), a last-verified date and a 0-1 confidence score with reasons. Data comes only from sources that allow commercial reuse, such as Wikidata, Unicode CLDR, UK FCDO, the US State Department and Japan MOFA. Entry answers quote official government pages and are decision support, never a go/no-go verdict. Remote MCP server (Streamable HTTP, 9 read-only tools) and REST API (OpenAPI 3.1). Answers in English, Japanese, Simplified and Traditional Chinese. Free: static facts need no key; a free key adds 1,000 calls/month. Paid: Builder $19/month, Pro $99/month, or x402 pay-per-call in USDC on Base.
Neutral, sourced comparisons on any topic, in 32 languages. Each value links to its source.
Sourced facts, explained scores and change alerts for every GB neighbourhood, from one API.
1
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables exploration of geographical data including countries, cities, states/provinces, and regions through a SQLite database. Supports searches by name, location coordinates, currency, and regional groupings with comprehensive statistical queries.157-
- AlicenseNot gradedqualityBmaintenanceEnables geographic parity analysis with 26 read-only tools covering purchasing power, salary localization, cost of living, nomad visas, tax residency, FIRE planning, and relocation costs.MIT
- AlicenseAqualityBmaintenanceServes country facts, administrative boundary GeoJSON, and per-region population, area, and capital statistics as structured data, letting an AI assistant build interactive maps, comparisons, and multilingual geography content instead of reciting prose. It also normalises region names across sources so boundary shapes can be joined to their statistics.325 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to retrieve and compare verified country facts such as VAT/GST, public holidays, visas, tipping, and minimum wages across 70 countries, with automatic x402 micropayments in USDC on Base per call.69 npmMIT