Opendata Swiss

v0.2.1
io.github.pipeworx-io/opendata-swiss Checked 1 day ago Published 29 days ago

opendata.swiss MCP — Switzerland's federal open-data portal (CKAN catalogue).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_datasets

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`.

ParameterTypeDescription
query *stringFree-text query, e.g. "energy", "population", "ÖV".
fqstringSolr filter query, e.g. "organization:bundesamt-fur-statistik-bfs" or "groups:health".
rowsnumber1-1000 (default 25).
sortstringe.g. "metadata_modified desc", "score desc".
startnumber0-based offset for paging.

dataset_details

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.

ParameterTypeDescription
id *stringDataset slug or id, e.g. "energie1".

list_organizations

List publishing organizations (federal offices, cantons, etc.). Multilingual titles flattened to `title_en`. Use a returned `name` as `organization:<name>` in search_datasets `fq`.

ParameterTypeDescription
limitnumber1-1000 (default 100).

list_groups

List thematic categories (CKAN groups / themes, e.g. health, education, energy). Multilingual titles flattened to `title_en`. Use a returned `name` as `groups:<name>` in search_datasets `fq`.

ParameterTypeDescription
limitnumber1-1000 (default 100).

list_tags

List or search keyword tags used across the catalogue (CKAN tag_list). Useful for discovering facet values.

ParameterTypeDescription
limitnumberCap returned tags client-side (default 200).
querystringOptional substring to filter tags.