Back to Browse

Global Education MCP Server

Education & ResearchLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

UNESCO UIS and OECD Education at a Glance

About

UNESCO UIS and OECD Education at a Glance

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (60/62 approved).

3 files analyzed Β· 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-malkreide-global-education-mcp": {
      "args": [
        "global-education-mcp"
      ],
      "command": "uvx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

πŸ‡¨πŸ‡­ Part of the Swiss Public Data MCP Portfolio

πŸŽ“ global-education-mcp

Version License: MIT Python 3.11+ MCP Data: UNESCO UIS Data: OECD Tests No API Key CI

MCP server for international education data – UNESCO UIS (4,000+ indicators across all member countries) and OECD Education at a Glance via SDMX. No API keys required.

πŸ‡©πŸ‡ͺ Deutsche Version

global-education-mcp demo flow


Overview

global-education-mcp gives AI assistants like Claude a complete international education intelligence system – literacy rates, enrolment ratios, education expenditure, teacher salaries, gender parity and SDG-4 monitoring, all accessible through a single standardised MCP interface.

The server bridges two of the most authoritative sources for internationally comparable education statistics: UNESCO UIS (global coverage, 4,000+ indicators) and the OECD's annual Education at a Glance (38 OECD countries, SDMX REST API). Both are open and require no API key.

Anchor demo query: "Compare Switzerland's education expenditure as a percentage of GDP with Finland, Singapore and South Korea over the last 10 years – and flag any SDG-4 gaps."


Features

  • 🌍 UNESCO UIS – 4,000+ indicators, all UNESCO member countries, no API key
  • πŸ“Š OECD Education at a Glance – 38 OECD countries + partners via SDMX REST
  • πŸ” Indicator search – browse and filter the full UNESCO indicator catalogue
  • πŸ—ΊοΈ Multi-country comparison – benchmark any indicator across multiple countries
  • 🏫 Country education profiles – 10 core indicators in one call
  • 🎯 SDG-4 monitoring – structured reporting on Education for All targets
  • πŸ“ˆ OECD dataset search – discover and retrieve Education at a Glance dataflows
  • πŸ”‘ No API keys required – fully open data, zero setup friction
  • ☁️ Dual transport – stdio for Claude Desktop, Streamable HTTP/SSE for cloud deployment
  • πŸ›‘οΈ Graceful degradation – API failures return helpful messages with local reference fallback

Prerequisites

  • Python 3.11+
  • uv (recommended) or pip
  • No API keys needed

Installation

# Clone the repository
git clone https://github.com/malkreide/global-education-mcp.git
cd global-education-mcp

# Install
pip install -e ".[dev]"

Or with uvx (no permanent installation):

uvx global-education-mcp

Quickstart

# Start the server (stdio mode for Claude Desktop)
global-education-mcp

Try it immediately in Claude Desktop:

"What is Switzerland's literacy rate compared to Finland and Singapore?" "Show me education expenditure as % of GDP for CHE, DEU and AUT over the last 10 years."


Configuration

Claude Desktop Configuration

Windows (%APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "global-education": {
      "command": "uvx",
      "args": ["global-education-mcp"]
    }
  }
}

macOS (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "global-education": {
      "command": "uvx",
      "args": ["global-education-mcp"]
    }
  }
}

A ready-to-use claude_desktop_config.json is included in the repository root.

Cloud Deployment (SSE for browser access)

For use via claude.ai in the browser (e.g. on managed workstations without local software).

⚠️ Security note: Since v0.3, MCP_HOST defaults to 127.0.0.1. The SSE transport must always run behind a reverse proxy that adds TLS, authentication, and rate-limiting. Never expose the raw port to the internet β€” MCP_HOST=0.0.0.0 is only safe inside an isolated container network.

Docker (recommended):

The repository ships a hardened multi-stage Dockerfile and a docker-compose.yml that applies read_only: true, cap_drop: [ALL], security_opt: [no-new-privileges:true], and runs as non-root user uid 10001. The compose file binds the port to 127.0.0.1 so a host-level reverse proxy is required for any external access.

docker compose up --build
# then point nginx/caddy at 127.0.0.1:8000/sse with TLS + auth

Plain docker run (without compose):

docker build -t global-education-mcp .
docker run --rm \
  --read-only --cap-drop ALL --security-opt no-new-privileges \
  --tmpfs /tmp:size=16M,mode=1777 \
  -p 127.0.0.1:8000:8000 \
  global-education-mcp

Render.com:

  1. Push/fork the repository to GitHub
  2. On render.com: New Web Service β†’ connect GitHub repo
  3. Set environment variables in the Render dashboard:
    MCP_TRANSPORT=sse
    MCP_HOST=0.0.0.0      # Render needs 0.0.0.0; their edge layer provides TLS + auth.
    PORT=8000
    
  4. In claude.ai under Settings β†’ MCP Servers, add: https://your-app.onrender.com/sse

πŸ’‘ "stdio for the developer laptop, sandboxed SSE container for the browser."


Available Tools

UNESCO UIS Tools

ToolDescription
uis_list_indicatorsSearch and list available indicators (4,000+)
uis_list_countriesList countries and regions with ISO codes
uis_get_education_dataRetrieve data for a specific indicator
uis_compare_countriesMulti-country comparison for one indicator
uis_country_education_profileFull education profile (10 core indicators)
uis_list_versionsList available database versions

OECD Tools

ToolDescription
oecd_list_education_datasetsList Education at a Glance datasets
oecd_get_education_indicatorRetrieve OECD education data via SDMX
oecd_search_datasetsSearch OECD dataflows by keyword

Cross-Source Tools

ToolDescription
education_benchmark_countriesBenchmark multiple countries across 5 focus themes (UNESCO UIS)

Resources & Prompts

Resources:

  • education://indicators/unesco – Quick reference for core UNESCO indicators
  • education://datasets/oecd – Quick reference for OECD Education at a Glance dataflows

Prompts:

  • bildungsvergleich_schweiz – Switzerland vs. Finland, Singapore, Japan
  • sdg4_monitoring – SDG-4 report for CH/DE/AT

Country Codes

ISO 3166-1 Alpha-3 standard:

CodeCountryCodeCountry
CHESwitzerlandFINFinland
DEUGermanySGPSingapore
AUTAustriaKORSouth Korea
FRAFranceJPNJapan
SWESwedenUSAUnited States

Example Use Cases

QueryTool
"What is Switzerland's literacy rate vs. Finland and Singapore?"uis_compare_countries
"Education expenditure as % of GDP for CHE, DEU, AUT over 10 years"uis_get_education_data
"Create a full education profile for South Korea"uis_country_education_profile
"Which OECD datasets cover teacher salaries?"oecd_search_datasets
"Compare secondary graduation rates across 5 European countries"education_benchmark_countries
"Create an SDG-4 monitoring report for Switzerland"sdg4_monitoring (prompt)

β†’ More use cases by audience β†’


Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Claude / AI   │────▢│   Global Education MCP       │────▢│   UNESCO UIS API   β”‚
β”‚   (MCP Host)    │◀────│   (MCP Server)               │◀────│   uis.unesco.org   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚                              β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚  10 Tools Β· 2 Resources      β”‚
                        β”‚   Β· 2 Prompts                β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚  Stdio | SSE                 │────▢│   OECD SDMX API    β”‚
                        β”‚                              │◀────│   sdmx.oecd.org    β”‚
                        β”‚  server.py                   β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚   + api_client.py            β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Infrastructure Components

ComponentMetaphorFunction
HTTPClientPostal serviceHandles all outbound HTTP requests, retries and timeouts
SimpleCacheWhiteboardIn-memory TTL cache for repeated queries
GracefulFallbackSafety netReturns local reference data when APIs are unavailable
SDMXParserTranslatorConverts OECD SDMX/XML responses to clean JSON

Caching Strategy

Data SourceCache TTLRationale
UNESCO UIS indicators3600sCatalogue is stable; updated annually
UNESCO UIS country data1800sFigures update yearly, not intraday
OECD dataset list3600sEducation at a Glance is an annual publication
OECD indicator data1800sSame annual update cycle
Country/region list86400sISO codes and country lists are highly stable

Project Structure

global-education-mcp/
β”œβ”€β”€ src/global_education_mcp/       # Main package
β”‚   β”œβ”€β”€ __init__.py                 # Package metadata, version
β”‚   β”œβ”€β”€ server.py                   # FastMCP server, 10 tools, 2 resources, 2 prompts
β”‚   └── api_client.py               # HTTP client, UNESCO UIS + OECD wrappers, formatters
β”œβ”€β”€ scripts/
β”‚   └── record_fixtures.py          # Records the fixtures from the live UIS API
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ fixtures/                   # Recorded responses + PROVENANCE.md (source, date, SHA-256)
β”‚   β”œβ”€β”€ fixture_data.py             # Fixture loader – raises on a missing name
β”‚   β”œβ”€β”€ test_source_contract.py     # Contract vs. the recording + live tests
β”‚   β”œβ”€β”€ test_server.py              # 42 tests (basic / intermediate / advanced)
β”‚   └── test_extended_scenarios.py  # 74 tests across 8 categories
β”œβ”€β”€ claude_desktop_config.json      # Ready-to-use Claude Desktop config
β”œβ”€β”€ pyproject.toml                  # Build configuration (hatchling)
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ CONTRIBUTING.md                 # Contribution guide (English)
β”œβ”€β”€ CONTRIBUTING.de.md              # Contribution guide (German)
β”œβ”€β”€ SECURITY.md                     # Security policy (English)
β”œβ”€β”€ SECURITY.de.md                  # Security policy (German)
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md                       # This file (English)
└── README.de.md                    # German version

Known Limitations

  • UNESCO UIS: Some indicators have sparse coverage for low-income countries or recent years
  • OECD SDMX: Occasional API timeouts on large multi-country, multi-year requests; reduce the year range if needed
  • OECD coverage: 38 OECD members + select partners – does not cover all UNESCO member states
  • Historical depth: UNESCO UIS data availability varies by indicator; not all series go back to 1970
  • Language: UNESCO UIS returns indicator labels in English only; OECD labels may vary by dataflow
  • No real-time data: Both sources publish annually – figures reflect the latest published edition, not live school statistics
  • Estimated values are labelled: UIS marks part of its observations UIS_EST (UIS estimate) or NAT_EST (national estimate) – for LR.AG15T99 that is 1,306 of 9,818 values. The status column names it; an unlabelled value is a reported one.
  • Data rows carry the ISO code, not the country name: plain names come from uis_list_countries. The data tools print the code rather than inventing a name.
  • An unknown country code is not an error status: UIS answers HTTP 200 with an empty result set and states the reason in the payload's hints field. The tools print that hint – otherwise a typo would look exactly like a country without data.

Compliance & Data Classification (City of Zurich)

Verbindliche Klassifikation fΓΌr den Einsatz im Schulamt der Stadt ZΓΌrich (German section follows in README.de.md).

ISDS Protection Class (Stadt ZΓΌrich Schutzbedarfsklassen)

DimensionClassReasoning
ConfidentialitypublicUNESCO UIS data licensed under CC BY-SA 3.0 IGO; OECD EaG under public OECD Terms
IntegritynormalUpstream is authoritative; local in-memory cache is TTL-bounded and never written to disk
AvailabilitynormalGraceful fallback to bundled static reference data when an API is unreachable
Overall protection classG1 β€” public (ΓΆffentlich)lowest tier per ISDS Stadt ZΓΌrich
  • Data owner: UNESCO UIS / OECD (external)
  • System owner: Schulamt der Stadt ZΓΌrich
  • Processes personal data: no
  • DSG / EDΓ–B relevance: none (only anonymized country-level aggregates)

Schulamt Classification (BUI / Vertraulich / Streng Vertraulich)

AspectClassification
Tool output (Markdown tables, summaries)BUI (betrieblich unkritische Information)
In-memory TTL cacheBUI (same tier as source)
Structured logs (JSON on stderr, see OBS-003)BUI β€” only tool name, params, duration; no PII
tools.lock.json, audits/ artefactsBUI

β†’ The server is approved for any Schulamt use case without additional clearance from the data protection officer.

Compatibility

ComponentSupported version
MCP Protocol2024-11-05
MCP Python SDK>=1.0.0,<2.0.0
Python3.11, 3.12, 3.13
httpx>=0.27.0,<1.0.0
pydantic>=2.0.0,<3.0.0

Major-version upgrades are deliberate decisions β€” the upper bounds in pyproject.toml exist so a transitive bump does not silently break the server. See CHANGELOG.md for the upgrade trail.


πŸ›‘οΈ Safety & Limits

AspectDetails
AccessRead-only (readOnlyHint: true) β€” the server cannot modify, write or delete any data
Personal dataNo personal data β€” UNESCO UIS and OECD EaG publish only aggregated, country-level statistics
Rate limitsBuilt-in per-query caps (max 50 indicators per search, max 10 countries per comparison, conservative year ranges)
CachingIn-memory TTL cache (1800–86400s) reduces upstream load and respects publisher capacity
Timeout30 seconds per upstream API call, with graceful fallback to local reference data
AuthenticationNo API keys required β€” both UNESCO UIS and OECD SDMX are publicly accessible
LicensesUNESCO UIS data under CC BY-SA 3.0 IGO; OECD data under OECD Terms and Conditions
Terms of ServiceSubject to ToS of the respective sources: UNESCO UIS, OECD β€” please cite the source when redistributing
AttributionAll tool responses include source attribution (Source: UNESCO UIS / Source: OECD Education at a Glance)

MCP Protocol Version

This server speaks two protocol eras over the same endpoint. The client's first request on a connection decides which one applies; a later claim from the other era is refused.

EraRevisionWho reaches it
initialize handshake2024-11-05 … 2025-11-25What today's clients speak. The server answers with the revision asked for, or with the 2025-11-25 ceiling when the request asks for something newer.
Per-request envelope2026-07-28A request carrying the 2026-07-28 _meta envelope opens a modern connection.

Both revisions are pinned in tests/test_protocol_version.py and asserted against the installed SDK, so a Dependabot bump of mcp cannot move either one silently. This server builds no ASGI app to send an initialize through, so the gate asserts the SDK constants rather than a measured response β€” the weaker form, named rather than left unsaid.

Note that the SDK's LATEST_PROTOCOL_VERSION is an alias for the modern era, not for the handshake era β€” pinning against it alone would leave the era that current clients actually negotiate free to drift.

Update policy. When the gate fails, do not edit the constant blindly: read the spec changelog between the two revisions, verify the server still behaves, then move the constant, this section, README.de.md and CHANGELOG.md together.


Testing

# Unit tests (no API key required, no network)
PYTHONPATH=src pytest tests/ -v -m "not integration"

# Full suite including the live tests against api.uis.unesco.org
PYTHONPATH=src pytest tests/ -v

# Re-record the fixtures (writes tests/fixtures/ + PROVENANCE.md)
PYTHONPATH=src python scripts/record_fixtures.py

169 tests – 152 offline, 17 against the live source.

CategoryTestsDescription
Edge cases & boundary values19Year limits, string lengths, null/zero values
Security & adversarial inputs14Injection attempts, HTTP error codes, whitespace
Output quality11Markdown structure, source attribution, sort order
Resilience & error cascades9Full API outage, partial results, timeouts
Subject-matter correctness10SDG-4 coverage, correct indicators per focus theme
Performance & concurrency4Concurrent requests, time limits
Schulamt scenarios7DACH comparison, PISA, teacher shortage
Source contract vs. the recording23Field names, envelope, query parameters, hints
Live tests (-m integration)17The paths, the shape, and the tools themselves

Why the fixtures are recorded rather than written

A hand-written mock encodes its author's assumption and therefore cannot refute it: production code and fixture come from the same head, the same hour, the same reading of the docs. Where both are wrong, both are wrong together β€” and the suite stays green.

That is not a hypothetical here. Before 2026-08-08 this repo had 128 green tests while three of its four UNESCO paths answered HTTP 404 and every data query returned an empty list. The mocks carried the same invented field names as the production code (observations, indicatorId, entityType), so nothing could ever contradict them.

Every fixture under tests/fixtures/ is now a recorded response. PROVENANCE.md names the source URL, the recording date, the selection rule and the SHA-256 for each one. Without a date, "recorded" becomes indistinguishable from "invented" after two years β€” the file looks the same.

Three of the fixtures are controls: a made-up theme value, a made-up country code, and the same time series requested twice with different parameter names. Without them a measurement only shows what we received; with them it shows what the source actually distinguishes.


Contributing

Contributions are welcome. Please open an issue first to discuss what you would like to change.

  • Follow the existing code style (Ruff linting, Black formatting)
  • Add tests for new tools (tests/test_server.py or test_extended_scenarios.py)
  • Use the @pytest.mark.integration marker for tests that call live APIs
  • Update CHANGELOG.md and the tool table in this README
  • See CONTRIBUTING.md for the full contribution guide

Changelog

See CHANGELOG.md


Security

To report a vulnerability, see SECURITY.md (πŸ‡©πŸ‡ͺ Deutsche Version). Please use the private channels described there rather than public issues.


License

MIT License β€” see LICENSE


Author

Hayal Oezkan Β· github.com/malkreide


Credits & Related Projects

MCP Client Configuration

Run via uv's uvx β€” no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):

{
  "mcpServers": {
    "global-education-mcp": {
      "command": "uvx",
      "args": [
        "global-education-mcp"
      ]
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!