ImmigrationDB
io.github.streltcoffv0.3.0更新於 Oct 10, 2026
Read-only migration data: cities, visa routes, entry rules, costs, safety, climate, with sources.
概覽
唯讀的移民參考資料:查詢國家與城市、簽證與居留途徑、護照入境規則、生活成本、安全與氣候,皆附來源。
- 功能
- 這是一個託管、唯讀的 MCP 伺服器,以 ImmigrationDB 這份附來源的移民參考資料為基礎,涵蓋 39 個國家與 27,000 多個城市。工具可搜尋目的地、解析城市名稱、取得單一城市或單筆城市事實、依相容指標比較城市,並對城市事實做數值篩選。也會回傳國家紀錄、簽證與居留途徑、護照入境規則與已發布報告,以及指標與指標區塊清單。每個數值都帶有來源、觀測日期與地理粒度,未知值會明確標示而不會推估。
- 適用情境
- 當助理需要關於移居或出國的附來源答案時使用:比較城市的生活成本、薪資、犯罪率、空氣品質或氣候,查詢簽證與居留途徑,或核對護照入境規則。適合重視資料出處、且不希望助理憑空編造數字的研究與規劃情境。
- 執行需求
- 遠端 Streamable HTTP 端點;未宣告需要金鑰、帳號或環境變數。任何支援 Streamable HTTP 的 MCP 用戶端皆可連線;僅支援 stdio 的用戶端可透過 mcp-remote 接入。需要網路存取,且依用戶端有速率限制與回應大小上限。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 ImmigrationDB,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"immigrationdb": {
"type": "http",
"url": "https://immigrationdb.com/mcp"
}
}
}README
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/mcp - Protocol versions:
2026-07-28,2025-11-25 - Docs:
https://immigrationdb.com/data/mcp/ - Tool catalog with input schemas:
https://immigrationdb.com/data/mcp/catalog.json - Methodology:
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
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.
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:
Claude Code:
Clients that only speak stdio can go through
mcp-remote:
npx -y mcp-remote https://immigrationdb.com/mcp.
Example calls
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:
License
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.
來源:README.md,提交 d578564
工具
0版本歷史
1- v0.3.0最新Oct 10, 2026

