
uk-ons-economic-statistics-mcp
io.github.theluckystrike/uk-ons-economic-statistics-mcp
Official UK ONS datasets, CPIH inflation metadata, editions, versions, and dimensions.
Documentation
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/mcp
Available tools
| Tool | Purpose |
|---|---|
list_uk_ons_datasets | Browse or search official UK ONS datasets with titles, descriptions, keywords, and latest version links |
get_uk_ons_dataset_details | Retrieve full UK ONS dataset metadata, release frequency, contacts, and links by dataset ID |
get_uk_cpih_inflation_metadata | Retrieve UK CPIH consumer price inflation (cpih01) latest version metadata, release date, dimensions, and downloads |
get_dataset_editions_and_versions | 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 start
Compliance 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.
No installation packages available.
Remote
Related Servers
io.github.theluckystrike/ab-test-sample-size-calculator-mcp
Exact A/B test sample size, duration, z-test, chi-square, Fisher-Freeman-Halton and peeking risk.
io.github.theluckystrike/abs-australia-macro-sdmx-mcp
Official Australian Bureau of Statistics SDMX API for CPI inflation, dataflows, and series.
io.github.theluckystrike/aca-premium-tax-credit-calculator-mcp
2026 ACA premium tax credit: expired enhanced subsidy, 400% FPL cliff, FPL, APTC repayment rules.