UNHCR Open Data Gateway MCP
Click on "Install 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., "@UNHCR Open Data Gateway MCPGet a country snapshot for Uganda in 2023"
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.
UNHCR Open Data Gateway MCP
A FastMCP-based gateway that aggregates and normalizes data from UNHCR's domain-specific MCP servers.
🎯 Purpose
The UNHCR Open Data Gateway MCP provides a unified interface for accessing UNHCR's open data across three independent MCP servers:
Statistics MCP: Authoritative source for population and displacement data
RDF MCP: Authoritative source for socio-economic indicators and contextual datasets
IATI MCP: Authoritative source for budget, contributions, and financial transparency data
Related MCP server: data-bs-mcp
🏗️ Architecture
The gateway follows a Federated Gateway Pattern:
AI Client
|
v
+----------------------+
| Open Data Gateway |
| FastMCP |
+----------------------+
/ | \
/ | \
v v v
+---------+ +---------+ +---------+
| Stat | | RDF | | IATI |
| MCP | | MCP | | MCP |
+---------+ +---------+ +---------+
^
|
|
Reference Layer
(Canonical Entities)Core Principles
Domain MCP Ownership: Each domain MCP owns its data
Gateway Owns Experience: Gateway handles aggregation, composition, discovery, analytics
Domain MCP Independence: Domain MCPs never call each other directly
Canonical Reference Layer: Prevents duplication of country/operation definitions
🚀 Quick Start
Installation
# 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.txtConfiguration
Create a .env file:
STAT_MCP_ENDPOINT=http://localhost:8001
RDF_MCP_ENDPOINT=http://localhost:8002
IATI_MCP_ENDPOINT=http://localhost:8003
LOG_LEVEL=INFORunning the Server
# Run in STDIO mode
python -m src.unhcr_opendata_gateway.app🛠️ Usage
Available Tools
Tool | Description | Parameters |
| Comprehensive snapshot for a country |
|
| Comprehensive snapshot for an operation |
|
| Calculate funding gap and per-refugee metrics |
|
| Calculate funding metrics per refugee |
|
| Compare two countries across all domains |
|
| Search datasets across all MCPs |
|
| List all available datasets | - |
| Generate a comprehensive briefing note |
|
Example Queries
# 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)📊 Features
Country Normalization: Handles ISO3, ISO2, names, aliases, "Republic of X" variants
Cross-Domain Analytics: Funding gap per refugee, budget per refugee, etc.
Graceful Degradation: Returns partial data when some MCPs are unavailable
Caching: TTL-based caching with configurable expiration
Observability: Structured logging, metrics, OpenTelemetry tracing
📄 License
Apache License 2.0
🙏 Support
For issues or questions, please contact the UNHCR Data team.
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