search_datasets

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/search_datasets for the schema, then POST the same URL with its arguments for the data.

Search the opendata.swiss catalogue (CKAN package_search). Returns matching Swiss federal/cantonal datasets. Titles/descriptions are multilingual {de,fr,it,en}; each result is annotated with English-preferred title_en/notes_en.

Parameters

NameTypeRequiredDescription
querystringyesFree-text query, e.g. “energy”, “population”, “ÖV”.
fqstringnoSolr filter query, e.g. “organization:bundesamt-fur-statistik-bfs” or “groups:health”.
rowsnumberno1-1000 (default 25).
startnumberno0-based offset for paging.
sortstringnoe.g. “metadata_modified desc”, “score desc”.

Example call

Arguments

{
  "query": "energy"
}

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":"search_datasets","arguments":{"query":"energy"}}}'

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "query": "population",
  "fq": "organization:bundesamt-fur-statistik-bfs",
  "rows": 50,
  "sort": "metadata_modified desc"
}

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.

Regenerated from source · build October 11, 2026