Skip to main content
Glama
Edouard-Legoupil

UNHCR Open Data Gateway MCP

UNHCR Open Data Gateway MCP

Ein FastMCP-basiertes Gateway, das Daten von den domänenspezifischen MCP-Servern des UNHCR aggregiert und normalisiert.

🎯 Zweck

Das UNHCR Open Data Gateway MCP bietet eine einheitliche Schnittstelle für den Zugriff auf die offenen Daten des UNHCR über drei unabhängige MCP-Server:

  • Statistics MCP: Autoritative Quelle für Bevölkerungs- und Vertreibungsdaten

  • RDF MCP: Autoritative Quelle für sozioökonomische Indikatoren und kontextuelle Datensätze

  • IATI MCP: Autoritative Quelle für Budget-, Beitrags- und Finanztransparenzdaten

Related MCP server: data-bs-mcp

🏗️ Architektur

Das Gateway folgt einem Föderierten Gateway-Muster:

                    AI Client
                         |
                         v

            +----------------------+
            |  Open Data Gateway   |
            |       FastMCP        |
            +----------------------+

                 /      |      \

                /       |       \

               v        v        v

        +---------+ +---------+ +---------+
        | Stat    | | RDF     | | IATI    |
        | MCP     | | MCP     | | MCP     |
        +---------+ +---------+ +---------+

                   ^
                   |
                   |
          Reference Layer
          (Canonical Entities)

Kernprinzipien

  1. Domain-MCP-Eigentum: Jedes Domain-MCP besitzt seine Daten

  2. Gateway besitzt die Erfahrung: Das Gateway übernimmt Aggregation, Komposition, Entdeckung und Analytik

  3. Domain-MCP-Unabhängigkeit: Domain-MCPs rufen sich nie direkt gegenseitig auf

  4. Kanonische Referenzschicht: Verhindert Duplikation von Länder-/Operationsdefinitionen

🚀 Schnellstart

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.txt

Konfiguration

Erstellen Sie eine .env-Datei:

STAT_MCP_ENDPOINT=http://localhost:8001
RDF_MCP_ENDPOINT=http://localhost:8002
IATI_MCP_ENDPOINT=http://localhost:8003
LOG_LEVEL=INFO

Server starten

# Run in STDIO mode
python -m src.unhcr_opendata_gateway.app

🛠️ Verwendung

Verfügbare Tools

Werkzeug

Beschreibung

Parameter

country_snapshot

Umfassende Momentaufnahme für ein Land

country, year

operation_snapshot

Umfassende Momentaufnahme für eine Operation

operation, year

funding_gap_analysis

Berechnet Finanzierungslücke und Pro-Flüchtling-Kennzahlen

country, year

funding_per_refugee

Berechnet Finanzierungskennzahlen pro Flüchtling

country, year

compare_countries

Vergleicht zwei Länder über alle Domänen hinweg

country_a, country_b, year

search_datasets

Durchsucht Datensätze über alle MCPs hinweg

query, country, region, topic, dataset

list_all_datasets

Listet alle verfügbaren Datensätze auf

-

generate_country_brief

Erstellt eine umfassende Kurzübersicht für ein Land

country, year

Beispielabfragen

# 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)

📊 Funktionen

  • Ländernormalisierung: Behandelt ISO3, ISO2, Namen, Aliase, „Republik X“-Varianten

  • Domänenübergreifende Analytik: Finanzierungslücke pro Flüchtling, Budget pro Flüchtling usw.

  • Sanfte Degradierung: Gibt partielle Daten zurück, wenn einige MCPs nicht verfügbar sind

  • Caching: TTL-basiertes Caching mit konfigurierbarem Ablauf

  • Beobachtbarkeit: Strukturierte Protokollierung, Metriken, OpenTelemetry-Tracing

📄 Lizenz

Apache License 2.0

🙏 Unterstützung

Bei Problemen oder Fragen wenden Sie sich bitte an das UNHCR-Datenteam.

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    A
    quality
    C
    maintenance
    MCP server for querying Huwise/Opendatasoft data portals. Enables dataset search, metadata retrieval, record filtering with ODSQL, and data export.
    5
    2
  • A
    license
    Not graded
    quality
    D
    maintenance
    Unified MCP server for discovering open datasets across Hugging Face, Zenodo, and Kaggle, with ranked search results and one-click Colab starter code generation.
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Unifies 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.
    64
    11
    Apache 2.0

View all related MCP servers

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)

View all MCP Connectors

Latest Blog Posts

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