ILO Statistics (ILOSTAT) MCP Server
Provides access to ILO labour statistics through an MCP server: search/filter ILOSTAT indicators and retrieve official data with provenance.
Search ~1,210 ILOSTAT dataflows by keyword (ilo_search_indicators)
Fetch dataflow structure/metadata: dimensions, codelists, time dimension, data vintage (ilo_get_indicator_metadata)
List valid dimension codes such as countries, sex, age, with search and pagination (ilo_list_dimension_values)
Query statistical observations filtered by areas (up to 30 REF_AREA codes), other dimensions, and periods or last N observations (ilo_get_data)
Every response includes provenance: source URL, retrieval time, data vintage, license, and ILO citation (concise or detailed)
Use the hosted public endpoint with no account/API key, or run locally as a stdio server via npx
Attach ready-made resources (guide, key dataflows, provenance reference) and prompts for country labour profiles, cross-country comparisons, and indicator trends
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., "@ILO Statistics (ILOSTAT) MCP Serverget unemployment rate data for Brazil"
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.
ILO Labour Statistics (ILOSTAT) β MCP Server
π§π· Leia em PortuguΓͺs
A public, hosted, provenance-first MCP server for the International Labour Organization (ILO) statistics β the ILOSTAT database β no installation, no account, no API key. Point your MCP client at the hosted endpoint and ask about unemployment, employment, wages, working time and other labour indicators by country, year, sex and age. It runs on Cloudflare Workers over Streamable HTTP and talks to the official ILOSTAT SDMX REST API.
Independent project. This is an unofficial, community-built client of the ILO's public ILOSTAT API β not affiliated with or endorsed by the International Labour Organization. Data remain Β© ILO under CC BY 4.0; see Data license and attribution.
Every response carries a provenance block (source URL, data vintage, real retrieval timestamp, license, ILO citation) β exact figures with an audit trail, not numbers guessed from training data.
Use it (hosted β no setup)
Point any MCP client at the Streamable HTTP endpoint:
https://ilo.sidneybissoli.com/mcpClaude Desktop / Claude Code and other clients with native remote support:
{
"mcpServers": {
"ilostat": {
"url": "https://ilo.sidneybissoli.com/mcp"
}
}
}For clients that launch MCP servers as a command, use the
mcp-remote bridge:
{
"mcpServers": {
"ilostat": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://ilo.sidneybissoli.com/mcp"]
}
}
}The ilo-mcp-server.sidneybissoli.workers.dev hostname is also served, as a secondary.
Related MCP server: world-bank-economic-mcp
Run locally (stdio)
Prefer not to route queries through a third-party host? The same server also runs as a local stdio process that talks directly to the official ILOSTAT API β same 4 tools, resources and prompts, same limits, same provenance block, no Cloudflare in the loop.
No install needed β the package is on npm (ilo-mcp-server, Node β₯ 20):
{
"mcpServers": {
"ilostat": {
"command": "npx",
"args": ["-y", "ilo-mcp-server"]
}
}
}Or from source:
git clone https://github.com/SidneyBissoli/ilo-mcp-server
cd ilo-mcp-server
npm install
npm run build
node dist/cli.js # serves MCP over stdio (Ctrl+C to stop)(then point the client at node /path/to/ilo-mcp-server/dist/cli.js).
Differences from the hosted server, all due to the absence of Cloudflare bindings: the SDMX
cache lives in process memory (structures and codelists are reused within a session, not across
sessions); the search catalogue is downloaded from the official endpoint on the first search
(its real retrieved_at is reported in provenance); no usage metrics, rate limit or auth. Logs
go to stderr β stdout carries only the JSON-RPC stream. The repository Dockerfile builds
this runtime (used by the Glama registry).
Tools
Tool | What it does | Source |
| keyword search over ~1,210 dataflows (paginated by | local catalogue (no upstream call) |
| dimensions, codelists, vintage and default selection of a dataflow | cached structure (miss β upstream) |
| valid codes of one dimension (paginated by | cached codelist (miss β upstream) |
| observations filtered by dimension and period | 1 live REST call per query |
Typical flow: ilo_search_indicators β ilo_get_indicator_metadata / ilo_list_dimension_values
to discover valid filter codes β ilo_get_data with country and period filters.
Every response carries the provenance block v1.0
(@sbissoli/mcp-provenance, modes
concise/detailed via the provenance_mode parameter) on three channels:
structuredContent, namespaced _meta (com.sidneybissoli.ilostat/*) and a text footer.
Resources and prompts
Three resources (static, text/markdown, no upstream call) that a client can attach to the
context before calling tools β they save the 2β3 discovery calls most sessions spend on
"which dataflow, which codes":
URI | Content |
| tool workflow, stable code conventions ( |
| verified dataflow ids by topic (unemployment, employment, participation, wages, hours, informality, NEET, SDG 8, productivity) |
| meaning of every provenance field and how to cite the ILO |
Three prompts β ready-made workflows that chain the tools and end with the citation rules (arguments are strings; period arguments optional):
Prompt | Arguments | Result |
|
| labour-market profile of one country (unemployment, participation, employment ratio, informality, NEET, earnings, hours) |
|
| comparison table across countries/aggregates in one data call, flagging modelled estimates vs reported data |
|
| time series of one indicator with first/last, peak/trough and |
Every dataflow id quoted in the resources and prompts is checked against the catalogue seed by the test suite, so the documentation cannot point at an id the search would not find.
Behaviour and limits
REF_AREAis required inilo_get_data, up to 30 areas per call. The ILO gateway times out (HTTP 504) on unrestricted queries, so the server never issues one; for broad panels, split the areas into batches and/or paginate by period (start_period/end_period). The error message explains how.One live REST call per data query. Data is never cached β every
ilo_get_dataresult is fetched from ILOSTAT at request time. Dataflow structures (TTL 24 h) and codelists (TTL 7 days, shared across dataflows) are cached.data_vintageis the dataflow's last-update date as published by the ILO (LAST_UPDATEannotation, normalised to ISO).retrieved_atis always the real instant of extraction from ILOSTAT, preserved alongside any cached value β never the build or response time. Cached responses say so (served_from_cache: true).The indicator catalogue is a local snapshot (~1,210 dataflows), refreshed periodically; its own
retrieved_atis reported in the provenance ofilo_search_indicators, so its age is always visible.Every upstream call carries an identifiable User-Agent (service URL + contact), so ILO administrators can reach the operator.
Language: English; timezone: UTC (ILO data is published in English).
Provenance fields
derivedβtrueonly for real transformation (aggregation, server-computed rate, interpolation, harmonisation), always with aderivation_note; unit conversion and rounding do not count. This server does not transform values, soderivedis alwaysfalse.noticesβ reproduces the values ofOBS_STATUS(the SDMX status/disclaimer channel, e.g. "Break in series"), verbatim and with counts. Technical per-observation attributes (DECIMALSetc.) stay on the rows (rows[].attributes).
Data license and attribution
ILOSTAT data and metadata: CC BY 4.0 (since 2023-05-03; license verified 2026-08-04).
ILO attribution in every response (
citationfield):International Labour Organization, ILOSTAT, https://ilostat.ilo.org/data/, accessed <date>.The ILO logo is not used. This service is not endorsed by the ILO.
Self-hosting / development
Everything below is only needed to run your own instance β it is not required to use the public server.
npm install
npm run typecheck && npm test # 96 offline tests (parsers, key, tools, output contract, resources/prompts, in-memory catalogue, eval fixtures)
npm run dev # http://localhost:8787/mcp (Worker)
npm run build && npm start # stdio runtime (dist/cli.js)
# Catalogue seed (D1) β required before first use:
node scripts/seed-catalog.mjs # downloads via curl and generates scripts/seed-catalog.sql
npx wrangler d1 execute ilostat-catalog --local --file=scripts/seed-catalog.sql
npx wrangler d1 execute ilostat-catalog --remote --file=scripts/seed-catalog.sql
npm run deploy
node scripts/smoke-mcp.mjs # smoke test against production (initialize β 4 tools β errors)
npm run manifest:lhm # regenerate tools/resources/prompts in lhm.plugin.json from the real server
# (the seed also writes tests/fixtures/catalog-ids.txt β the versioned id list the tests check resources/prompts against)Bindings (see wrangler.jsonc): KV SDMX_CACHE, D1 CATALOG_DB, Durable Object USAGE
(SQLite-backed usage counters), CF_VERSION_METADATA. Optional Bearer auth
(wrangler secret put API_KEY); token-bucket rate limit per IP.
Notes for operators:
ILOSTAT returns JSON only when negotiated via the
Acceptheader (application/vnd.sdmx.{structure,data}+json);?format=is ignored and returns XML.The ILO gateway answers HTTP 500 (
languageTag1) to theAccept-Language: *header that Node'sfetch(undici) sends by default; every upstream call therefore setsAccept-Language: enexplicitly (Cloudflare's runtime sends no such header, so the Worker was never affected). It also expects an identifiable User-Agent.Catalogue refresh is manual (no cron): quarterly, or immediately if a dataflow that exists upstream does not show up in search. Procedure: the three seed commands above. Data queries are always live, so only the search catalogue can age β and its age is exposed in provenance.
Evals
@sbissoli/mcp-evals: 24 fixtures in
evals/fixtures/queries.ts, validated offline in npm test. The run with a real model
(npm run eval) uses the Anthropic API and needs ANTHROPIC_API_KEY (without it, it exits with
instructions). Run of 2026-08-07: top-1 100% (24/24) β evals/results/.
End-to-end: 10 complex questions with a single verifiable answer in evals/e2e/evaluation.xml,
answers validated manually against production (evals/e2e/validacao-respostas.md). Run of
2026-08-07 (Sonnet): 9/10 exact string; 10/10 substantive β evals/results/2026-08-07-e2e.md.
Endpoints
Route | Purpose |
| landing page (service identity + contact β public) |
| liveness |
| version, tool/resource/prompt counts and names, provenance contract version, current deploy (feeds the README badges) |
| aggregated usage (MCP endpoint only; no IPs, no query content) |
| MCP Streamable HTTP |
Security
Snyk Agent Scan (2026-08-07): passed β report in
security/.
License
Code: MIT. Data: ILOSTAT, CC BY 4.0 (see "Data license and attribution" above).
Privacy
Privacy policy of the hosted service: PRIVACY.md.
Contact
Sidney da S. P. Bissoli β sbissoli76@gmail.com. This service is not endorsed by the ILO.
Maintenance
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for official statistics from Statistics Finland (Tilastokeskus) β the StatFin database, exposed through the PxWeb API. Search 3000+ tables, inspect their dimensions, and pull data as JSON-stat2.474MIT
- FlicenseNot gradedqualityBmaintenanceProvides macro-economic data from World Bank, IMF, FRED, OECD, and RBI through a unified get_indicator interface.1
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides tools to query Eurostat APIs for European statistics data.10MIT
- AlicenseNot gradedqualityAmaintenanceSearch and query the Eurostat catalogue β EU economy, demography, trade, health, and NUTS regional data via MCP with 5 tools and 1 resource.1,1715Apache 2.0
Related MCP Connectors
ILOSTAT (International Labour Organization statistics) MCP β global labour
DBnomics MCP β meta-aggregator over 80+ stats providers
Statistics Netherlands (CBS / StatLine) OData MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/SidneyBissoli/ilo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server