The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Global Education MCP listing page.
🇨🇭 Part of the Swiss Public Data MCP Portfolio
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.
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."
uv (recommended) or pipOr with uvx (no permanent installation):
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."
Windows (%APPDATA%\Claude\claude_desktop_config.json):
macOS (~/Library/Application Support/Claude/claude_desktop_config.json):
A ready-to-use claude_desktop_config.json is included in the repository root.
For use via claude.ai in the browser (e.g. on managed workstations without local software).
⚠️ Security note: Since v0.3,
MCP_HOSTdefaults to127.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.0is 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.
Plain docker run (without compose):
Render.com:
https://your-app.onrender.com/sse💡 "stdio for the developer laptop, sandboxed SSE container for the browser."
| Tool | Description |
|---|---|
uis_list_indicators | Search and list available indicators (4,000+) |
uis_list_countries | List countries and regions with ISO codes |
uis_get_education_data | Retrieve data for a specific indicator |
uis_compare_countries | Multi-country comparison for one indicator |
uis_country_education_profile | Full education profile (10 core indicators) |
uis_list_versions | List available database versions |
| Tool | Description |
|---|---|
oecd_list_education_datasets | List Education at a Glance datasets |
oecd_get_education_indicator | Retrieve OECD education data via SDMX |
oecd_search_datasets | Search OECD dataflows by keyword |
| Tool | Description |
|---|---|
education_benchmark_countries | Benchmark multiple countries across 5 focus themes (UNESCO UIS) |
Resources:
education://indicators/unesco – Quick reference for core UNESCO indicatorseducation://datasets/oecd – Quick reference for OECD Education at a Glance dataflowsPrompts:
bildungsvergleich_schweiz – Switzerland vs. Finland, Singapore, Japansdg4_monitoring – SDG-4 report for CH/DE/ATISO 3166-1 Alpha-3 standard:
| Code | Country | Code | Country |
|---|---|---|---|
CHE | Switzerland | FIN | Finland |
DEU | Germany | SGP | Singapore |
AUT | Austria | KOR | South Korea |
FRA | France | JPN | Japan |
SWE | Sweden | USA | United States |
| Query | Tool |
|---|---|
| "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 →
| Component | Metaphor | Function |
|---|---|---|
| HTTPClient | Postal service | Handles all outbound HTTP requests, retries and timeouts |
| SimpleCache | Whiteboard | In-memory TTL cache for repeated queries |
| GracefulFallback | Safety net | Returns local reference data when APIs are unavailable |
| SDMXParser | Translator | Converts OECD SDMX/XML responses to clean JSON |
| Data Source | Cache TTL | Rationale |
|---|---|---|
| UNESCO UIS indicators | 3600s | Catalogue is stable; updated annually |
| UNESCO UIS country data | 1800s | Figures update yearly, not intraday |
| OECD dataset list | 3600s | Education at a Glance is an annual publication |
| OECD indicator data | 1800s | Same annual update cycle |
| Country/region list | 86400s | ISO codes and country lists are highly stable |
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.uis_list_countries. The data tools print the code rather than inventing a name.hints field. The tools print that hint – otherwise a typo would look exactly like a country without data.Verbindliche Klassifikation für den Einsatz im Schulamt der Stadt Zürich (German section follows in
README.de.md).
| Dimension | Class | Reasoning |
|---|---|---|
| Confidentiality | public | UNESCO UIS data licensed under CC BY-SA 3.0 IGO; OECD EaG under public OECD Terms |
| Integrity | normal | Upstream is authoritative; local in-memory cache is TTL-bounded and never written to disk |
| Availability | normal | Graceful fallback to bundled static reference data when an API is unreachable |
| Overall protection class | G1 — public (öffentlich) | lowest tier per ISDS Stadt Zürich |
| Aspect | Classification |
|---|---|
| Tool output (Markdown tables, summaries) | BUI (betrieblich unkritische Information) |
| In-memory TTL cache | BUI (same tier as source) |
| Structured logs (JSON on stderr, see OBS-003) | BUI — only tool name, params, duration; no PII |
tools.lock.json, audits/ artefacts | BUI |
→ The server is approved for any Schulamt use case without additional clearance from the data protection officer.
| Component | Supported version |
|---|---|
| MCP Protocol | 2024-11-05 |
| MCP Python SDK | >=1.0.0,<2.0.0 |
| Python | 3.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.
| Aspect | Details |
|---|---|
| Access | Read-only (readOnlyHint: true) — the server cannot modify, write or delete any data |
| Personal data | No personal data — UNESCO UIS and OECD EaG publish only aggregated, country-level statistics |
| Rate limits | Built-in per-query caps (max 50 indicators per search, max 10 countries per comparison, conservative year ranges) |
| Caching | In-memory TTL cache (1800–86400s) reduces upstream load and respects publisher capacity |
| Timeout | 30 seconds per upstream API call, with graceful fallback to local reference data |
| Authentication | No API keys required — both UNESCO UIS and OECD SDMX are publicly accessible |
| Licenses | UNESCO UIS data under CC BY-SA 3.0 IGO; OECD data under OECD Terms and Conditions |
| Terms of Service | Subject to ToS of the respective sources: UNESCO UIS, OECD — please cite the source when redistributing |
| Attribution | All tool responses include source attribution (Source: UNESCO UIS / Source: OECD Education at a Glance) |
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.
| Era | Revision | Who reaches it |
|---|---|---|
initialize handshake | 2024-11-05 … 2025-11-25 | What 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 envelope | 2026-07-28 | A 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.
169 tests – 152 offline, 17 against the live source.
| Category | Tests | Description |
|---|---|---|
| Edge cases & boundary values | 19 | Year limits, string lengths, null/zero values |
| Security & adversarial inputs | 14 | Injection attempts, HTTP error codes, whitespace |
| Output quality | 11 | Markdown structure, source attribution, sort order |
| Resilience & error cascades | 9 | Full API outage, partial results, timeouts |
| Subject-matter correctness | 10 | SDG-4 coverage, correct indicators per focus theme |
| Performance & concurrency | 4 | Concurrent requests, time limits |
| Schulamt scenarios | 7 | DACH comparison, PISA, teacher shortage |
| Source contract vs. the recording | 23 | Field names, envelope, query parameters, hints |
Live tests (-m integration) | 17 | The paths, the shape, and the tools themselves |
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.
Contributions are welcome. Please open an issue first to discuss what you would like to change.
tests/test_server.py or test_extended_scenarios.py)@pytest.mark.integration marker for tests that call live APIsCHANGELOG.md and the tool table in this READMESee CHANGELOG.md
To report a vulnerability, see SECURITY.md (🇩🇪 Deutsche Version). Please use the private channels described there rather than public issues.
MIT License — see LICENSE
Hayal Oezkan · github.com/malkreide
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):