global-education-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., "@global-education-mcpCompare education spending as % of GDP for Switzerland and Finland"
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.
π¨π Part of the Swiss Public Data MCP Portfolio
π global-education-mcp
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.
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) orpipNo 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-mcpQuickstart
# Start the server (stdio mode for Claude Desktop)
global-education-mcpTry 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_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.
docker compose up --build
# then point nginx/caddy at 127.0.0.1:8000/sse with TLS + authPlain 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-mcpRender.com:
Push/fork the repository to GitHub
On render.com: New Web Service β connect GitHub repo
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=8000In 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
Tool | Description |
| Search and list available indicators (4,000+) |
| List countries and regions with ISO codes |
| Retrieve data for a specific indicator |
| Multi-country comparison for one indicator |
| Full education profile (10 core indicators) |
| List available database versions |
OECD Tools
Tool | Description |
| List Education at a Glance datasets |
| Retrieve OECD education data via SDMX |
| Search OECD dataflows by keyword |
Cross-Source Tools
Tool | Description |
| Benchmark multiple countries across 5 focus themes (UNESCO UIS) |
Resources & Prompts
Resources:
education://indicators/unescoβ Quick reference for core UNESCO indicatorseducation://datasets/oecdβ Quick reference for OECD Education at a Glance dataflows
Prompts:
bildungsvergleich_schweizβ Switzerland vs. Finland, Singapore, Japansdg4_monitoringβ SDG-4 report for CH/DE/AT
Country Codes
ISO 3166-1 Alpha-3 standard:
Code | Country | Code | Country |
| Switzerland |
| Finland |
| Germany |
| Singapore |
| Austria |
| South Korea |
| France |
| Japan |
| Sweden |
| United States |
Example Use Cases
Query | Tool |
"What is Switzerland's literacy rate vs. Finland and Singapore?" |
|
"Education expenditure as % of GDP for CHE, DEU, AUT over 10 years" |
|
"Create a full education profile for South Korea" |
|
"Which OECD datasets cover teacher salaries?" |
|
"Compare secondary graduation rates across 5 European countries" |
|
"Create an SDG-4 monitoring report for Switzerland" |
|
β 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
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 |
Caching Strategy
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 |
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
βββ tests/
β βββ test_server.py # 39 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
βββ LICENSE
βββ README.md # This file (English)
βββ README.de.md # German versionKnown 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
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)
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 |
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)
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 |
| BUI |
β The server is approved for any Schulamt use case without additional clearance from the data protection officer.
Compatibility
Component | Supported version |
MCP Protocol | 2024-11-05 |
MCP Python SDK |
|
Python | 3.11, 3.12, 3.13 |
|
|
|
|
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
Aspect | Details |
Access | Read-only ( |
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 ( |
Testing
# Unit tests (no API key required, no network)
PYTHONPATH=src pytest tests/ -v -m "not integration"
# Full suite including live API smoke tests
PYTHONPATH=src pytest tests/ -v113 tests across two files and three complexity levels:
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 |
Live API smoke tests | 4 | Real endpoints (via |
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.pyortest_extended_scenarios.py)Use the
@pytest.mark.integrationmarker for tests that call live APIsUpdate
CHANGELOG.mdand the tool table in this READMESee CONTRIBUTING.md for the full contribution guide
Changelog
See CHANGELOG.md
License
MIT License β see LICENSE
Author
Hayal Oezkan Β· github.com/malkreide
Credits & Related Projects
Data: UNESCO Institute for Statistics (UIS) β open education data for all UNESCO member states
Data: OECD Education at a Glance β annual OECD education statistics via SDMX
Protocol: Model Context Protocol β Anthropic / Linux Foundation
Related: swiss-transport-mcp β MCP server for Swiss public transport
Related: zurich-opendata-mcp β MCP server for Zurich city open data
Portfolio: Swiss Public Data MCP Portfolio
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/malkreide/global-education-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server