uk-ons-economic-statistics-mcp
Click on "Deploy 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., "@uk-ons-economic-statistics-mcp show me the latest CPIH inflation metadata and its dimensions"
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.
uk-ons-economic-statistics-mcp
Official UK Office for National Statistics (ONS) data over Model Context Protocol (MCP). UK macro researchers, pricing teams, and public-policy analysts can browse the ONS dataset catalog, inspect CPIH inflation metadata, and retrieve published editions and dimensions with zero API keys and zero sign-up. It connects right away.
Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
https://uk-ons-economic-statistics-mcp.lipmichal.workers.dev/mcpRelated MCP server: mcp-uk-ons
Available tools
Tool | Purpose |
| Browse or search official UK ONS datasets with titles, descriptions, keywords, and latest version links |
| Retrieve full UK ONS dataset metadata, release frequency, contacts, and links by dataset ID |
| Retrieve UK CPIH consumer price inflation (cpih01) latest version metadata, release date, dimensions, and downloads |
| Retrieve all editions, latest version numbers, and dimension definitions for any UK ONS dataset |
Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
{
"mcpServers": {
"uk-ons-economic-statistics": {
"url": "https://uk-ons-economic-statistics-mcp.lipmichal.workers.dev/mcp"
}
}
}Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
npm install
npm run build
npm startCompliance and reliability
Every upstream request queries api.beta.ons.gov.uk/v1/ over HTTPS with a polite User-Agent header (mcpstamp-uk-ons-economic-statistics/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All four tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.
More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
Free live-data MCP directory with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
4 toolsget_dataset_editions_and_versionsGet UK ONS dataset editions, versions, and dimensionsARead-onlyIdempotentInspect
Retrieve all published editions, latest version IDs, and dimension definitions for any UK ONS dataset.
Inputs: dataset_id.
get_uk_cpih_inflation_metadataGet UK CPIH inflation latest version and dimensionsARead-onlyIdempotentInspect
Fetch the latest UK CPIH inflation (cpih01) release metadata, alerts, available dimensions, and download links directly from the ONS API.
Inputs: no named parameters.
get_uk_ons_dataset_detailsGet UK ONS dataset metadata by IDBRead-onlyIdempotentInspect
Fetch official metadata, release schedule, national statistic flag, contacts, and latest version link for a UK ONS dataset ID.
Inputs: dataset_id.
list_uk_ons_datasetsList or search UK ONS datasetsARead-onlyIdempotentInspect
List official UK Office for National Statistics datasets or filter them by keyword (for example "inflation", "gdp", "trade", "labour").
Inputs: limit, offset, search.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The four tools mostly target distinct operations: listing datasets, fetching dataset details, retrieving editions/versions/dimensions, and CPIH-specific metadata. There is some overlap between the CPIH-specific tool and the generic dataset details/editions tools, and both generic getters return version-related information, but descriptions make the intended use reasonably clear.
All names use snake_case and follow a verb_noun pattern (list_..., get_...). The main inconsistency is prefixing: some tools include uk_ons, one is generic dataset_..., and one is a CPIH-specific special case, but the set remains readable and predictable.
Four tools is reasonable for a focused ONS metadata/discovery server, with each covering a recognizable step: list, details, editions/versions, and a CPIH shortcut. The CPIH-specific tool is somewhat narrow relative to the generic tools, but the overall count is well-scoped rather than excessive.
The surface covers dataset discovery and metadata but stops short of retrieving actual observations or time-series values, which is a major gap for an economic statistics server. Download links may help, but agents asking for inflation or GDP figures have no direct tool to fetch the data.
Maintenance
Related MCP Connectors
UK Office for National Statistics dataset catalogue + Beta JSON API
Official Australian Bureau of Statistics SDMX API for CPI inflation, dataflows, and series.
1Search 77k public-sector open data APIs across 10 countries. Read-only, no API key.
UK ONS MCP — Office for National Statistics (no auth)
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables access to official UK Office for National Statistics data including demographics, economics, and social statistics through the ONS Beta API. Supports browsing, searching, and querying datasets with built-in shortcuts for popular statistics like inflation, regional GDP, and wellbeing data.526 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying UK Office for National Statistics datasets and their editions through natural language, with no authentication required.47 npmMIT
- AlicenseAqualityDmaintenanceProvides access to UK economic, social, and labour-market statistics via the ONS beta and Nomis APIs, enabling discovery and retrieval of time series, datasets, and census data.18MIT
- AlicenseBqualityBmaintenanceEnables discovery and selection of ONS datasets using a frozen metadata bundle, providing bounded access to dataset descriptions, dimensions, and alternatives without making network calls or returning observation values.61MIT