dataset_details
Pack: opendata-swiss · 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 metadata for one dataset (CKAN package_show) including its resources/distributions with download URLs. Use a dataset name (slug) or id from search_datasets. There is no datastore, so fetch resources[].download_url/url for the underlying data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Dataset slug or id, e.g. “energie1”. |
Example call
Arguments
{
"id": "energie1"
}
curl
curl -X POST https://gateway.pipeworx.io/opendata-swiss/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dataset_details","arguments":{"id":"energie1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dataset_details', {
"id": "energie1"
});
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 opendata-swiss pack
{
"mcpServers": {
"opendata-swiss": {
"url": "https://gateway.pipeworx.io/opendata-swiss/mcp"
}
}
}
See Getting Started for client-specific install steps.