MCP server exposing 6 tools for uk-ons.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/uk-ons/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
list_datasets — Paginated catalog of ONS datasets. Returns id, title, description, contacts, release frequency, last release, theme.get_dataset — Single dataset metadata: title, description, methodology, contacts, release frequency, latest version, related links.list_editions — List all named editions of an ONS dataset (e.g., "time-series", "annual"). Returns each edition label, release date, state, and the latest version ID to use with get_version or get_observations.get_version — Fetch metadata for a specific version of an ONS dataset edition, including dimension definitions with codelist links, CSV/XLS download URLs, release date, and publication state.get_observations — Fetch observations from a dataset/edition/version. Pass dimension filters as `dimensions` map ({"geography": "K02000001", "time": "2023"}). Use `*` for "all values" within a dimension.ons_timeseries — Fetch a single UK ONS time series by its www.ons.gov.uk URI (the classic timeseries API, distinct from the filterable datasets above). Returns the full series JSON (description + observations). e.g. uri "/economy/grossdomesticproductgdp/timeseries/abmi/pn2". (Named ons_timeseries — get_series is used by many other economic-data packs.)Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/uk-ons/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io