search_datasets
Pack: opendata-swiss · Endpoint: https://gateway.pipeworx.io/opendata-swiss/mcp
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
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text query, e.g. “energy”, “population”, “ÖV”. |
fq | string | no | Solr filter query, e.g. “organization:bundesamt-fur-statistik-bfs” or “groups:health”. |
rows | number | no | 1-1000 (default 25). |
start | number | no | 0-based offset for paging. |
sort | string | no | e.g. “metadata_modified desc”, “score desc”. |
Example call
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":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"opendata-swiss": {
"url": "https://gateway.pipeworx.io/opendata-swiss/mcp"
}
}
}
See Getting Started for client-specific install steps.