search_datasets

Pack: datagov-uk · Endpoint: https://gateway.pipeworx.io/datagov-uk/mcp

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.

Parameters

NameTypeRequiredDescription
querystringyesSearch terms, e.g. “air quality”, “house prices”, “covid”. Pass "" to list all datasets.
fqstringnoSolr filter query, e.g. “organization:office-for-national-statistics”, “res_format:CSV”, or “tags:gtfs”.
rowsnumbernoMax results, 1-1000 (default 25).
startnumberno0-based offset for paging.
sortstringnoSort spec, e.g. “metadata_modified desc” or “score desc”.

Example call

Arguments

{
  "query": "air quality"
}

curl

curl -X POST https://gateway.pipeworx.io/datagov-uk/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_datasets","arguments":{"query":"air quality"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search_datasets', {
  "query": "air quality"
});

More examples

{
  "query": "house prices",
  "fq": "organization:office-for-national-statistics",
  "rows": 50,
  "sort": "metadata_modified desc"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "datagov-uk": {
      "url": "https://gateway.pipeworx.io/datagov-uk/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 1, 2026