UNHCR Open Data Gateway MCP
UNHCR Open Data Gateway MCP
一个基于 FastMCP 的网关,用于聚合和规范化来自 UNHCR 领域特定 MCP 服务器的数据。
🎯 目的
UNHCR Open Data Gateway MCP 提供了一个统一接口,用于访问 UNHCR 在三个独立 MCP 服务器上的开放数据:
Statistics MCP:人口和流离失所数据的权威来源
RDF MCP:社会经济指标和背景数据集的权威来源
IATI MCP:预算、捐款和财务透明度数据的权威来源
Related MCP server: data-bs-mcp
🏗️ 架构
该网关遵循联邦网关模式:
AI Client
|
v
+----------------------+
| Open Data Gateway |
| FastMCP |
+----------------------+
/ | \
/ | \
v v v
+---------+ +---------+ +---------+
| Stat | | RDF | | IATI |
| MCP | | MCP | | MCP |
+---------+ +---------+ +---------+
^
|
|
Reference Layer
(Canonical Entities)核心原则
领域 MCP 所有权:每个领域 MCP 拥有其数据
网关拥有体验:网关处理聚合、组合、发现和分析
领域 MCP 独立性:领域 MCP 从不直接相互调用
规范参考层:防止国家/行动定义重复
🚀 快速开始
安装
# Clone the repository
git clone <repository-url>
cd unhcr-opendata-gateway-mcp
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt配置
创建一个 .env 文件:
STAT_MCP_ENDPOINT=http://localhost:8001
RDF_MCP_ENDPOINT=http://localhost:8002
IATI_MCP_ENDPOINT=http://localhost:8003
LOG_LEVEL=INFO运行服务器
# Run in STDIO mode
python -m src.unhcr_opendata_gateway.app🛠️ 使用
可用工具
工具 | 描述 | 参数 |
| 国家的综合快照 |
|
| 行动的综合快照 |
|
| 计算资金缺口和每难民指标 |
|
| 计算每难民资金指标 |
|
| 比较两个国家在所有领域的情况 |
|
| 在所有 MCP 中搜索数据集 |
|
| 列出所有可用数据集 | - |
| 生成综合简报 |
|
示例查询
# Get a country snapshot
result = await country_snapshot(country="Uganda", year=2023)
# Calculate funding gap
result = await funding_gap_analysis(country="Chad", year=2023)
# Compare two countries
result = await compare_countries(country_a="Uganda", country_b="Kenya", year=2023)
# Generate a briefing note
result = await generate_country_brief(country="Sudan", year=2023)📊 功能
国家规范化:处理 ISO3、ISO2、名称、别名、“X 共和国”变体
跨领域分析:每难民资金缺口、每难民预算等
优雅降级:当某些 MCP 不可用时返回部分数据
缓存:基于 TTL 的缓存,可配置过期时间
可观测性:结构化日志、指标、OpenTelemetry 追踪
📄 许可证
Apache License 2.0
🙏 支持
如有问题或疑问,请联系 UNHCR 数据团队。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to UNHCR refugee statistics through a standardized interface, allowing AI agents to query data by country of origin, country of asylum, and year.5MIT
- FlicenseAqualityCmaintenanceMCP server for querying Huwise/Opendatasoft data portals. Enables dataset search, metadata retrieval, record filtering with ODSQL, and data export.52
- AlicenseNot gradedqualityDmaintenanceUnified MCP server for discovering open datasets across Hugging Face, Zenodo, and Kaggle, with ranked search results and one-click Colab starter code generation.1MIT
- AlicenseAqualityBmaintenanceUnifies 24 Dutch public-sector data sources into a single MCP interface, enabling AI assistants to search, combine, and retrieve structured data with provenance and cross-source linking.6411Apache 2.0
Related MCP Connectors
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Search and query 1,500+ OECD statistical datasets via SDMX. Keyless.
HealthData.gov MCP — wraps HealthData.gov CKAN API (free, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Edouard-Legoupil/unhcr-opendata-gateway-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server