Opendata Swiss
v0.2.1opendata.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`.
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text query, e.g. "energy", "population", "ÖV". |
fq | string | Solr filter query, e.g. "organization:bundesamt-fur-statistik-bfs" or "groups:health". |
rows | number | 1-1000 (default 25). |
sort | string | e.g. "metadata_modified desc", "score desc". |
start | number | 0-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.
| Parameter | Type | Description |
|---|---|---|
id * | string | Dataset 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`.
| Parameter | Type | Description |
|---|---|---|
limit | number | 1-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`.
| Parameter | Type | Description |
|---|---|---|
limit | number | 1-1000 (default 100). |
list_tags
List or search keyword tags used across the catalogue (CKAN tag_list). Useful for discovering facet values.
| Parameter | Type | Description |
|---|---|---|
limit | number | Cap returned tags client-side (default 200). |
query | string | Optional substring to filter tags. |