Purpose
uis-mcp-server is used to answer questions directly within an AI assistant (MCP client) about education, science and R&D, culture, and communication statistics published by the UNESCO Institute for Statistics (UIS), such as enrollment rates, completion rates, out-of-school children, literacy rates, education expenditure, number of researchers, and R&D expenditure. It is positioned to provide sourced answers "where the question happens," rather than replacing bulk data download tools.
Main capabilities
- Natural language questions: the assistant automatically selects tools and filters, and users can ask questions in their own wording rather than UIS official statistical terminology (the server has a built-in vocabulary extension that maps everyday language to source wording and notes the conversions made in vocabulary_notes).
- Built-in tools: uis_search_indicators (search indicators), uis_get_data (get data), uis_list_geo_units (list geographic units/country region codes), and 5 tools in total, plus 3 static resources to reduce discovery calls.
- Provenance information: each response includes a provenance block in three channels: structuredContent, _meta, and the text footer, containing the source URL, UIS data vintage (data_vintage), the actual retrieval timestamp, license, and UIS citation.
- Deep Research support: exposes two interfaces, search and fetch, for compatibility with scenarios such as ChatGPT deep research.
- Release pinning: each data query pins the release, and the default release is cached for 24 hours to ensure reproducibility.
How to use
- Hosted endpoint: point any MCP client to the Streamable HTTP endpoint, with no installation or key required; an alternate hostname is also provided.
- Local run: the package is already on npm (uis-mcp-server, Node ≥ 22), and you can also run the stdio process from source, communicating directly with the official UIS Data API, with the same tools and resources.
- Typical workflow: first use uis_search_indicators to find the indicator code, then use uis_list_geo_units to get the country/region code, and finally use uis_get_data with year filters to retrieve data.
Applicable scenarios
Suitable for Q&A scenarios that require sourced, auditable UIS statistical figures: educationindicator queries, cross-country and cross-year comparisons, literacy rate and education expenditure analysis, researcher and R&D expenditure statistics, geographic unit code queries, etc. It is also suitable for ChatGPT deep research-style workflows.
Limitations
- Not suitable for scenarios that require complete datasets rather than answers (bulk files should be used), not suitable for non-UIS domains (for example, labor statistics should use the ILO server, and national accounts should use IMF/World Bank), and it does not provide microdata.
- A maximum of 25 indicators per request and a maximum of 5,000 records per response; exceeding these returns an explanatory error with the actual count, and does not silently truncate.
- The indicator catalog is a snapshot of a certain UIS release, refreshed manually (2–3 times per year); the catalog age is visible in the provenance.
- The server does not perform any transformation on values (derived is always false).
- The language is English, and the time zone is UTC.
- The data license is CC BY-SA 4.0, and redistribution must retain the same license; the UIS citation must be retained.
- This project is an independent community project, is not affiliated with or endorsed by UNESCO, and does not use the UNESCO logo.