Datagov Uk
v0.2.1data.gov.uk MCP — UK national open-data portal (CKAN API).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_datasets
Search the data.gov.uk catalogue (CKAN package_search) across 57k+ UK government open datasets. Returns matching datasets with titles, descriptions, publishing organization, and resources. Content is English. Pass an empty query to browse everything by relevance/sort.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search terms, e.g. "air quality", "house prices", "covid". Pass "" to list all datasets. |
fq | string | Solr filter query, e.g. "organization:office-for-national-statistics", "res_format:CSV", or "tags:gtfs". |
rows | number | Max results, 1-1000 (default 25). |
sort | string | Sort spec, e.g. "metadata_modified desc" or "score desc". |
start | number | 0-based offset for paging. |
dataset_details
Full dataset record by id or slug (CKAN package_show), including its resources. Each resource exposes a downloadable file: read "url" (the download link), "format" (CSV/XLSX/ZIP/etc.), and "name". data.gov.uk resources are files, not queryable datastore tables.
| Parameter | Type | Description |
|---|---|---|
id * | string | Dataset id (UUID) or slug, e.g. "nhs-regions-geography-april-20161". |
list_organizations
List publishing organizations on data.gov.uk (CKAN organization_list) — UK government departments, agencies, councils, NHS bodies, ONS, etc. Use a returned org "name" as fq="organization:<name>" in search_datasets to filter to that publisher.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max orgs, 1-1000 (default 100). |
organization_details
Full details for one publishing organization (CKAN organization_show): display name, description, dataset count, and (optionally) a sample of its datasets. Use to learn what a given UK publisher releases.
| Parameter | Type | Description |
|---|---|---|
id * | string | Organization id or slug, e.g. "office-for-national-statistics" or "natural-england". |
include_datasets | boolean | If true, include a sample of the org's datasets in "packages" (default false). |