dataset_details
Pack: datagov-uk · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/dataset_details for the schema, then POST the same URL with its arguments for the data.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Dataset id (UUID) or slug, e.g. “nhs-regions-geography-april-20161”. |
Example call
Arguments
{
"id": "nhs-regions-geography-april-20161"
}
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":"dataset_details","arguments":{"id":"nhs-regions-geography-april-20161"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dataset_details', {
"id": "nhs-regions-geography-april-20161"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the datagov-uk pack
{
"mcpServers": {
"datagov-uk": {
"url": "https://gateway.pipeworx.io/datagov-uk/mcp"
}
}
}
See Getting Started for client-specific install steps.