Uk Ons
v0.2.1UK ONS MCP — Office for National Statistics (no auth)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_datasets
Paginated catalog of ONS datasets. Returns id, title, description, contacts, release frequency, last release, theme.
| Parameter | Type | Description |
|---|---|---|
limit | number | 1-100 (default 20) |
offset | number | 0-based offset (default 0) |
get_dataset
Single dataset metadata: title, description, methodology, contacts, release frequency, latest version, related links.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | ONS dataset ID (e.g., "cpih01", "ashe-table-1") |
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.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | ONS dataset ID |
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.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | ONS dataset ID |
edition * | string | Edition label |
version * | string | Version (e.g., "1", "2") |
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.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | ONS dataset ID |
dimensions * | object | Dimension code → value (or "*" for all). Example: {"geography":"K02000001","time":"2023"}. |
edition * | string | Edition label |
version * | string | Version |
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.)
| Parameter | Type | Description |
|---|---|---|
uri * | string | ONS timeseries URI, e.g. "/economy/grossdomesticproductgdp/timeseries/abmi/pn2". |