mcp-swiss
Query official Swiss open data across transport, environment, geodata, government, and daily life — no API keys needed.
Transport: search stations, plan journeys, live departures/arrivals, nearby stops.
Weather & environment: current/historical weather, river/lake levels, snow conditions, pollen, avalanche bulletins, air quality, earthquakes.
Geodata: geocode/reverse-geocode addresses, search places, rooftop solar potential, municipality info, identify map layers.
Business & post: search ZEFIX companies, list cantons/legal forms, look up postcodes, generate parcel tracking links.
Government & civic: public/school holidays, parliament affairs, members, votes, speeches, interests, cantonal affairs, committee meetings.
Utilities & finance: electricity tariffs and comparisons, BFS population/statistics, SNB CHF exchange rates.
Everyday data: Zurich waste collection, SRF news search, Swiss vote results, dam registry, hiking trail closures, property/rent indices, traffic counts.
mcp-swiss
Swiss open data for AI — zero config, zero API keys
Install · Tools · Demo · Data Sources
mcp-swiss is a Model Context Protocol server that gives any AI assistant direct access to Swiss open data — trains, weather, rivers, maps, and companies.
94 tools. No API keys. No registration. No server to run. Just npx mcp-swiss.
🚆 Transport — SBB, PostBus, trams, live departures, journey planning
🌤️ Weather — MeteoSwiss live conditions + historical data
🌊 Hydrology — BAFU river & lake levels (great for Aare swimming!)
🗺️ Geodata — swisstopo geocoding, solar potential, geographic layers
🏢 Companies — ZEFIX federal registry, all 700K+ Swiss companies
🎄 Holidays — Swiss public & school holidays by canton
🏛️ Parliament — Bills, votes, members, speeches, cantonal affairs (OpenParlData.ch)
🏔️ Avalanche — SLF danger bulletins and warning regions
💨 Air Quality — NABEL stations, Swiss legal limits (LRV)
📮 Swiss Post — Postcode lookup and parcel tracking
⚡ Energy — Electricity tariffs by municipality (ElCom)
📊 Statistics — Population, demographics, BFS datasets
🏦 SNB Rates — Swiss National Bank CHF exchange rates, historical data
♻️ Recycling — Zurich city waste collection calendar (OpenERZ)
📰 Swiss News — SRF news headlines and keyword search
🗳️ Voting — Swiss popular vote results (Basel-Stadt open data)
🌊 Dams — Swiss federal dam registry (SFOE/swisstopo)
🥾 Hiking — Swiss trail closures and hiking alerts (swisstopo)
🏠 Real Estate — Swiss property prices, rent index, housing data (BFS)
🚗 Traffic — ASTRA counting stations, daily volumes
🌍 Earthquakes — Swiss Seismological Service (SED/ETH Zürich), FDSN API
❄️ Snow — SLF snow depth, stations, and measurements
🌿 Pollen — MeteoSwiss pollen concentrations at the published stations
🏠 Buildings — Federal register of buildings and dwellings (GWR)
📂 Catalogue — opendata.swiss dataset search, metadata, and downloads
🌡️ Meteo OGD — SwissMetNet stations and measurements (STAC CSV)
🧭 Map layers — geo.admin layer search, identify, and attribute find
🚉 SBB Data — station passengers, punctuality, and step-free accessInstallation
Quick Start
npx mcp-swissThat's it. No API keys, no .env files, no accounts. Pick your client below and paste the config.
One-Click Install (.mcpb)
.mcpb bundles work with Claude Desktop and any MCP Bundle-compatible app.
Open the downloaded file — your app handles the rest. No config editing, no terminal, no API keys.
Claude Desktop
Edit your config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss"]
}
}
}Restart Claude Desktop after saving.
Claude Code (CLI)
claude mcp add swiss -- npx -y mcp-swissThat's it — Claude Code will use it in your next session.
Cursor
Requires Cursor 0.45.6+
Option A: Project config — create .cursor/mcp.json in your project root:
{
"mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss"]
}
}
}Option B: Global config — create ~/.cursor/mcp.json:
{
"mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss"]
}
}
}Option C: Via Cursor Settings UI
Open Cursor Settings
Go to Features → MCP Servers
Click + Add new global MCP server
Paste the JSON config above
VS Code (GitHub Copilot)
One-click Install
CLI Install
# VS Code
code --add-mcp '{"name":"swiss","command":"npx","args":["-y","mcp-swiss"]}'
# VS Code Insiders
code-insiders --add-mcp '{"name":"swiss","command":"npx","args":["-y","mcp-swiss"]}'Manual Config
Add to your VS Code User Settings (JSON) — press Ctrl+Shift+P → Preferences: Open User Settings (JSON):
{
"mcp": {
"servers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss"]
}
}
}
}Or add to .vscode/mcp.json in your workspace (shareable with your team):
{
"servers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/model_config.json:
{
"mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss"]
}
}
}Cline (VS Code)
Open VS Code settings.json and add:
{
"cline.mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss"]
}
}
}Any MCP Client
mcp-swiss uses stdio transport and requires no environment variables. Upstream calls time out after 30 seconds (MCP_SWISS_TIMEOUT_MS overrides that) and retry once on a dropped connection or a rate limit. The universal config:
{
"command": "npx",
"args": ["-y", "mcp-swiss"]
}This works with any MCP-compatible client — just plug it in.
Docker
docker pull vikramgorla/mcp-swissUse with any MCP client that supports Docker-based servers. The container uses stdio transport:
# Run directly (stdio)
docker run -i vikramgorla/mcp-swiss
# Use with Claude DesktopFor Claude Desktop, update your config to use Docker:
{
"mcpServers": {
"swiss": {
"command": "docker",
"args": ["run", "-i", "--rm", "vikramgorla/mcp-swiss"]
}
}
}Also available on GitHub Container Registry:
docker pull ghcr.io/vikramgorla/mcp-swissRelated MCP server: swiss-road-mobility-mcp
Streamable HTTP
stdio is still the default. For a local HTTP client, run:
npx mcp-swiss --httpThat listens on 127.0.0.1:3000 and serves MCP at POST /mcp (also GET and DELETE) plus GET /health. --port, --host, PORT, HOST, and MCP_TRANSPORT=http are the other switches.
A bind that is not loopback (127.0.0.1, localhost, or ::1) refuses to start unless both MCP_AUTH_TOKEN and MCP_ALLOWED_HOSTS are set. Sessions are capped (MCP_MAX_SESSIONS, default 64) and idle ones expire. This is the transport half of #64. It does not deploy a hosted instance.
Module Filtering
By default, mcp-swiss loads all 27 modules (94 tools). The full tools/list schema is about 9,300 tokens (37,011 characters). For a smaller startup list, load only the modules you need.
Discovery mode
Search, then execute. The server lists three meta-tools instead of every schema (about 330 tokens versus about 9,300):
{
"mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss", "--discovery"]
}
}
}MCP_SWISS_MODE=discovery and --mode discovery do the same thing. swiss_search_tools finds tools by keyword or module and returns their input schemas. swiss_call_tool checks those arguments, then runs the tool. swiss_list_modules is the catalog. The default, with no flag, is still the full tool list.
Select specific modules
{
"mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss", "--modules", "transport,weather"]
}
}
}Use presets
{
"mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss", "--preset", "commuter"]
}
}
}Preset | Modules | Tools | Token Savings |
| transport, weather, holidays | 14 | 83% |
| weather, avalanche, hiking, earthquakes, dams, snow, pollen | 22 | 74% |
| companies, geodata, post, energy, statistics, snb, gwr | 27 | 68% |
| parliament, voting, holidays, news | 17 | 80% |
| transport | 5 | 94% |
| all 27 modules (default) | 94 | — |
Combine preset + modules: --preset commuter --modules parliament
List available: npx mcp-swiss --list-modules or npx mcp-swiss --list-presets
Demo Prompts
Once connected, try asking your AI:
Prompt | What it uses |
"Next 5 trains from Zürich HB to Geneva" |
|
"Is the Aare in Bern warm enough to swim?" |
|
"Weather in Lugano vs Zürich today" |
|
"Find blockchain companies registered in Zug" |
|
"Solar potential of Bundesplatz 3, Bern" |
|
"Live departures from Bern HB" |
|
"What rivers are near Thun?" |
|
"Plan my Saturday: train to Interlaken, check weather" | Multiple tools chained |
"Is next Monday a holiday in Zürich?" |
|
"What did the Swiss parliament vote on recently?" |
|
"What's the avalanche danger level in the Bernese Alps?" |
|
"What's the postcode for Zermatt?" |
|
"Track my Swiss Post parcel 99.12.345678.12345678" |
|
"How much does electricity cost in Zürich vs Basel?" |
|
"What's the population of canton Zug?" |
|
Tools
94 tools across 27 modules. Full specifications:
docs/tool-specs.md· Machine-readable:docs/tools.schema.json
🚆 Transport (5 tools)
Tool | Description |
| Find stations/stops by name or location |
| Journey planner between any two points |
| Live departures from a station |
| Live arrivals at a station |
| Stations near coordinates |
🌤️ Weather & Hydrology (6 tools)
Tool | Description |
| Current conditions at a MeteoSwiss station |
| All ~160 MeteoSwiss stations with metadata |
| Historical weather data (up to 32 days) |
| River/lake level + temperature (BAFU) |
| All 400+ hydrological monitoring stations |
| Historical hydrology data |
🗺️ Geodata / swisstopo (6 tools)
Tool | Description |
| Swiss address → coordinates |
| Coordinates → Swiss address |
| Swiss place names, mountains, lakes, features |
| Rooftop solar irradiation at a location |
| All geographic data layers at a point |
| Municipality info by name |
🏢 Companies / ZEFIX (5 tools)
Tool | Description |
| Search by name, canton, legal form |
| Full company details by ZEFIX |
| Companies seated in a commune or town (ZEFIX has no street search) |
| All 26 Swiss cantons |
| AG, GmbH, and all Swiss legal forms |
🎄 Holidays (3 tools)
Tool | Description |
| Swiss public holidays by year, optionally filtered by canton |
| School holiday periods by year and canton |
| Quick check if today is a public holiday |
🏛️ Parliament (9 tools) — OpenParlData.ch
Tool | Description |
| Search federal political affairs (bills, motions, questions) |
| List parliament members by canton, party, or activity |
| Voting results for a specific affair |
| Upcoming/recent parliament sessions |
| Debate speeches for an affair |
| Declared interests and mandates of a member |
| Search across 26 cantonal parliaments |
| Official documents for an affair |
| Committee/commission meeting schedule |
🏔️ Avalanche (2 tools)
Tool | Description |
| Live SLF bulletin: danger level, problems, advice for a region or coordinate |
| The 135 SLF/EAWS warning regions |
💨 Air Quality (2 tools)
Tool | Description |
| All 16 NABEL monitoring stations, plus any code the live layer adds |
| Station info, Swiss legal limits (LRV), and BAFU data links |
📮 Swiss Post (4 tools)
Tool | Description |
| PLZ → locality, canton, coordinates |
| City name → matching postcodes |
| All postcodes in a canton |
| Generate Swiss Post tracking URL for a parcel |
⚡ Energy Prices (3 tools)
Tool | Description |
| Electricity tariff by municipality with component breakdown |
| Compare electricity prices across municipalities |
| Find municipality ID for tariff lookup |
📊 Statistics / BFS (3 tools)
Tool | Description |
| Population by canton or municipality from BFS STATPOP |
| Search BFS datasets on opendata.swiss |
| Fetch detailed dataset information |
🏦 SNB Exchange Rates (3 tools)
Tool | Description |
| List all currencies available from the Swiss National Bank (SNB) |
| Get the current CHF exchange rate for any currency |
| Get historical monthly CHF exchange rates with date filtering |
♻️ Recycling / Waste Collection (3 tools)
Tool | Description |
| Next waste collection dates by Zurich ZIP code and waste type |
| List all supported waste types with descriptions |
| Full waste collection calendar for a ZIP code (upcoming dates) |
📰 Swiss News (2 tools)
Tool | Description |
| Latest Swiss headlines from SRF by category (Switzerland/international/economy) |
| Search SRF news by keyword across all categories |
🗳️ Voting (3 tools)
Tool | Description |
| Swiss popular vote results from Basel-Stadt open data |
| Search popular votes by keyword (German/French/Italian) |
| Detailed per-district breakdown of a specific vote |
🌊 Dams & Reservoirs (3 tools)
Tool | Description |
| Search Swiss federal dams by name or keyword |
| List all federal dams in a canton |
| Detailed info on a specific dam (height, volume, purpose) |
🥾 Hiking / Trail Closures (2 tools)
Tool | Description |
| Swiss trail closures and hiking alerts from swisstopo |
| Trail closures near given coordinates |
🏠 Buildings / GWR (3 tools)
Tool | Description |
| Find buildings in the federal register (GWR) by address and return EGIDs |
| Full building record by EGID: year, floors, heating, parcel, entrances, dwellings |
| Buildings nearest a WGS84 point, closest first |
🏠 Real Estate (3 tools)
Tool | Description |
| Swiss property price index (BFS Immo-Monitoring) |
| Search BFS real estate datasets on opendata.swiss |
| Swiss rent index and housing cost data from BFS |
🚗 Traffic / ASTRA (3 tools)
Tool | Description |
| Traffic counting station data (ASTRA) — daily volumes and heavy traffic share |
| List ASTRA traffic counting stations filtered by canton |
| Find traffic counting stations near given coordinates |
🌍 Earthquakes / SED (3 tools)
Tool | Description |
| Recent seismic events in/around Switzerland from the Swiss Seismological Service (SED) at ETH Zürich |
| Full details for a specific seismic event by SED event ID |
| Earthquakes near given coordinates with configurable radius, time range, and limit |
❄️ Snow Conditions / SLF (3 tools)
Tool | Description |
| Current snow depth and new snow (24h) across Switzerland from SLF IMIS stations, filterable by canton/altitude |
| All 307 SLF snow measurement stations (IMIS automatic + manual study plots) |
| Detailed snow and weather measurements for a specific SLF station |
🌿 Pollen / MeteoSwiss (3 tools)
Tool | Description |
| Current hourly pollen concentrations at a published MeteoSwiss station |
| Daily pollen averages over a configurable range |
| Published MeteoSwiss pollen stations (the list is no longer a frozen 16) |
📂 Open Data Catalogue (3 tools)
Tool | Description |
| Search the opendata.swiss catalogue (CKAN) by keyword, optionally limited to one publisher |
| Metadata for one dataset: publisher, description, keywords, and a short resource summary |
| Download links and services for a dataset, with an optional format filter |
🌡️ MeteoSwiss OGD (3 tools)
Tool | Description |
| Stations in a MeteoSwiss OGD STAC collection (SwissMetNet by default, plus precipitation, climate, phenology, and totaliser networks) |
| Latest measurements for one station, parsed from the now/recent CSV asset |
| Historical measurements for a date range, parsed from the historical or recent CSV assets |
🧭 Map Layers / geo.admin (3 tools)
Tool | Description |
| Search or list layers in the geo.admin ech MapServer catalogue |
| Features at a WGS84 point on one layer, keeping the current version of time-series layers |
| Find features on one layer by attribute value |
🚉 SBB Open Data (3 tools)
Tool | Description |
| Average daily, weekday, and weekend boardings and alightings at an SBB station |
| Previous-day arrival and departure punctuality, delays, and cancellations |
| Platform length and rail-free (step-free) access |
Data Sources
All official Swiss open data — no API keys required:
Source | Data | Docs |
SBB, PostBus, trams | ||
MeteoSwiss weather + BAFU hydrology | ||
swisstopo federal geodata | ||
Federal company registry | ||
Swiss public & school holidays | ||
Swiss Parliament data — federal & cantonal (CC BY 4.0) | ||
SLF/WSL avalanche bulletins | ||
geo.admin.ch — BAFU/NABEL | Swiss air quality monitoring stations | |
geo.admin.ch — swisstopo | Swiss postcodes (Amtliches Ortschaftenverzeichnis) | |
ElCom electricity tariffs by municipality | ||
BFS population statistics (STATPOP) + datasets | ||
Swiss National Bank CHF exchange rates | ||
Zurich waste collection calendar (OpenERZ) | ||
SRF Swiss news headlines | ||
Basel-Stadt popular vote results | ||
geo.admin.ch — SFOE | Swiss federal dam registry | |
geo.admin.ch — swisstopo | Swiss trail closures and hiking alerts | |
BFS property prices + rent index | ||
geo.admin.ch — ASTRA | Traffic counting stations + daily volumes | |
Swiss Seismological Service earthquakes (SED/ETH) | ||
SLF snow depth + measurements (IMIS + study plots, CC BY 4.0) | ||
MeteoSwiss pollen concentrations (16 automatic stations, CC BY) | ||
Federal map layers: search, identify, and attribute find | ||
MeteoSwiss OGD station measurements (CSV assets, CC BY) | ||
National open data catalogue (datasets and resources) | ||
SBB station passengers, punctuality, and platform accessibility |
Development
# Clone
git clone https://github.com/vikramgorla/mcp-swiss.git
cd mcp-swiss
# Install deps
npm install
# Build
npm run build
# Run in dev mode
npm run dev
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsTesting
npm testContributing
We welcome contributions! mcp-swiss follows a strict PR-based workflow to keep the codebase clean and CI always green.
Quick links
CONTRIBUTING.md— full contributor guide:Development setup (clone, install, build, test)
Branch model (develop / main / feature branches)
Hard workflow rules (no direct pushes, always PRs, regular merge only)
Adding a new module (step-by-step with code templates)
Integration checklist (all files to update)
Code standards (TypeScript, no
any, 50K response limit, zero API keys)
RELEASING.md— release process for maintainers:Step-by-step release workflow
Pre-release checklist
Version strategy (minor for features, patch for fixes)
Post-release verification
CI/CD workflow reference (
ci.yml,release.yml,beta.yml,mcp-registry.yml)
Requirements
Node.js 20+
No API keys or accounts needed
Optional:
MCP_SWISS_TIMEOUT_MS— per-request upstream timeout in milliseconds (default 30000)
License
MIT — see LICENSE
Available Tools
94 toolsbuildings_nearBRead-onlyIdempotent
GWR buildings nearest a WGS84 point (small radius), with EGIDs
Inputs: lat (required), lon (required), limit, radius.
compare_electricity_tariffsCRead-onlyIdempotent
Compare electricity tariffs across 2–20 municipalities
Inputs: municipalities (required), year, category.
find_map_featuresARead-onlyIdempotent
Find geo.admin features on one ech MapServer layer by an attribute value. Identify a point first if you need the attribute names. Example: layer ch.swisstopo.swissboundaries3d-gemeinde-flaeche.fill, search_field gemname, search_text Bern.
Inputs: layer (required), search_text (required), search_field (required), limit, +2 more.
geocodeBRead-onlyIdempotent
Address or place name to WGS84 coordinates (swisstopo)
Inputs: address (required).
get_air_qualityARead-onlyIdempotent
NABEL station info: location, environment type, legal limits (LRV) and a link to BAFU live data (no measurements returned)
Inputs: station (required).
get_arrivalsCRead-onlyIdempotent
Live arrivals at a station
Inputs: station (required), limit, datetime.
get_avalanche_bulletinARead-onlyIdempotent
Live SLF avalanche bulletin: danger level (1-5), avalanche problems with aspect and elevation, validity and advice text, for one warning region, a coordinate, or all of Switzerland. Outside the winter season it reports that no bulletin is in force
Inputs: lat, lon, date, region, +1 more.
get_buildingARead-onlyIdempotent
Full GWR record of one building by EGID: construction, floors, areas, heating/hot-water system and energy source, parcel (EGRID), entrances, dwellings
Inputs: egid (required), max_dwellings.
get_committee_meetingsCRead-onlyIdempotent
Federal parliament committee meeting schedule
Inputs: limit, group_id.
get_companyARead-onlyIdempotent
Full company details by ZEFIX ehraid (from search_companies)
Inputs: ehraid (required).
get_connectionsCRead-onlyIdempotent
Train/bus connections between two locations
Inputs: to (required), from (required), date, time, +2 more.
get_dam_detailsBRead-onlyIdempotent
Full technical details of one dam by name
Inputs: name (required).
get_dams_by_cantonCRead-onlyIdempotent
Federally supervised dams in a canton
Inputs: canton (required), limit.
get_departuresBRead-onlyIdempotent
Live departures from a station
Inputs: station (required), limit, datetime.
get_earthquake_detailsBRead-onlyIdempotent
Full details of one seismic event by SED event ID
Inputs: event_id (required).
get_electricity_tariffBRead-onlyIdempotent
ElCom electricity tariff (Rp./kWh) for a municipality, with component breakdown
Inputs: municipality (required), year, category.
get_exchange_rateARead-onlyIdempotent
Latest SNB monthly-average CHF exchange rate for a currency
Inputs: currency (required).
get_exchange_rate_historyARead-onlyIdempotent
Historical SNB monthly-average CHF exchange rates (default: last 90 months)
Inputs: currency (required), to, from.
get_municipalityCRead-onlyIdempotent
Municipality info by name
Inputs: name (required).
get_nearby_stationsCRead-onlyIdempotent
Stations near coordinates
Inputs: x (required), y (required), limit, distance.
get_ogd_historyARead-onlyIdempotent
Get historical MeteoSwiss OGD measurements for one station and date range by parsing the STAC CSV assets. Daily data defaults to the smaller recent/historical files. Hourly history is limited to 14 days because decade files are large. Times are Swiss local time (no offset).
Inputs: station (required), end_date (required), start_date (required), limit, +3 more.
get_ogd_recentARead-onlyIdempotent
Get the latest MeteoSwiss OGD measurements for one station by reading the STAC CSV asset (10-minute/hourly 'now' file when available, otherwise the recent file). Times are Swiss local time. Use list_ogd_stations for codes such as BER, SMA, LUG.
Inputs: station (required), limit, collection, parameters, +1 more.
get_opendata_datasetARead-onlyIdempotent
Get metadata for one opendata.swiss dataset by its catalogue name or UUID. Includes the publisher, description, keywords, and a short resource summary. Use list_opendata_resources for the full download list.
Inputs: dataset_id (required).
get_parliamentary_documentsBRead-onlyIdempotent
Official documents (reports, committee opinions, Federal Council statements) for a parliamentary affair
Inputs: affair_id (required), limit.
get_parliament_membersCRead-onlyIdempotent
Federal parliament members (National Council, Council of States), filterable by canton/party
Inputs: limit, party, active, canton.
get_parliament_votesCRead-onlyIdempotent
Recorded votes on a parliamentary affair (Geschäft)
Inputs: affair_id (required).
get_politician_interestsBRead-onlyIdempotent
Declared interests and mandates (boards, consulting roles) of a federal parliament member
Inputs: person_id (required).
get_pollen_currentARead-onlyIdempotent
Latest hourly pollen concentrations (alder, birch, hazel, beech, ash, oak, grasses) at a MeteoSwiss station
Inputs: station (required).
get_pollen_dailyBRead-onlyIdempotent
Daily average pollen concentrations at a MeteoSwiss station
Inputs: station (required), days.
get_populationARead-onlyIdempotent
Permanent resident population (BFS STATPOP) for Switzerland, a canton or all cantons
Inputs: year, canton.
get_property_price_indexCRead-onlyIdempotent
BFS residential property price index (IMPI), quarterly since 2017Q1, Q4 2019 = 100
Inputs: to, from, type.
get_public_holidaysBRead-onlyIdempotent
Public holidays for a year, national and cantonal
Inputs: year (required), canton.
get_recent_earthquakesCRead-onlyIdempotent
Recent earthquakes in and around Switzerland (SED, ETH Zürich)
Inputs: days, limit, min_magnitude, include_blasts.
get_rent_indexARead-onlyIdempotent
BFS consumer price index (CPI/LIK, incl. rents), monthly, Dec 1982 = 100. Not a dedicated rent index; for purchase prices use get_property_price_index
Inputs: year, limit.
get_school_holidaysBRead-onlyIdempotent
School holiday periods for a year, by canton
Inputs: year (required), canton.
get_session_scheduleCRead-onlyIdempotent
Upcoming and recent federal parliament sessions
Inputs: limit.
get_snow_conditionsARead-onlyIdempotent
Current snow depth and 24h new snow at SLF IMIS stations, deepest first
Inputs: limit, canton, min_altitude.
get_snow_measurementsARead-onlyIdempotent
Measurements for one SLF station: IMIS 30-min snow/weather data, or study-plot daily snow data
Inputs: station_code (required), type.
get_solar_potentialCRead-onlyIdempotent
Rooftop solar potential at a location
Inputs: lat (required), lng (required).
get_station_accessibilityARead-onlyIdempotent
Platform accessibility for an SBB station: platform number, length, type, and whether access is rail-free (step-free). Source: data.sbb.ch platform dataset.
Inputs: station (required), limit, contains.
get_station_passengersARead-onlyIdempotent
Passenger counts for an SBB station from the data.sbb.ch frequency dataset. Returns average daily, weekday, and weekend boardings and alightings (Ein- und Aussteigende). Newest year first.
Inputs: station (required), year, limit, contains.
get_station_punctualityARead-onlyIdempotent
Punctuality for an SBB stop on the previous operating day (ist-daten-sbb target vs actual times). Returns stop counts, arrival and departure delay counts, cancellations, and a short sample of delayed arrivals. A stop is delayed when SBB flags it, which is generally a delay of about three minutes or more.
Inputs: station (required), line, limit, contains.
get_statisticARead-onlyIdempotent
Details and resource links for a BFS dataset by opendata.swiss ID (from search_statistics)
Inputs: dataset_id (required).
get_swiss_newsCRead-onlyIdempotent
Latest SRF news headlines
Inputs: limit, category.
get_traffic_by_cantonBRead-onlyIdempotent
ASTRA traffic counting stations in a canton (max 20)
Inputs: canton (required).
get_traffic_countCRead-onlyIdempotent
ASTRA traffic counting station volumes by location name
Inputs: location (required).
get_traffic_nearbyBRead-onlyIdempotent
ASTRA traffic counting stations near a WGS84 point
Inputs: lat (required), lon (required), radius.
get_trail_closuresBRead-onlyIdempotent
Current hiking trail closures and detours (ASTRA/Schweizer Wanderwege)
Inputs: type, limit, reason.
get_trail_closures_nearbyBRead-onlyIdempotent
Hiking trail closures and detours near a WGS84 point
Inputs: lat (required), lon (required), radius.
get_vote_detailsBRead-onlyIdempotent
Per-district Basel-Stadt results (Basel, Riehen, Bettingen, abroad) for one vote. Give vote_title and/or date
Inputs: date, vote_title.
get_voting_resultsARead-onlyIdempotent
Popular vote (Volksabstimmung) results as counted in Basel-Stadt: national and cantonal votes since 2021
Inputs: year, limit.
get_waste_calendarARead-onlyIdempotent
Monthly waste collection calendar for a ZIP code. Zurich city only (8001–8099, OpenERZ)
Inputs: zip (required), year, month.
get_waste_collectionARead-onlyIdempotent
Upcoming waste collection dates for a ZIP code. Zurich city only (8001–8099, OpenERZ)
Inputs: zip (required), type, limit.
get_water_historyARead-onlyIdempotent
Historical river/lake levels for a BAFU hydro station. Only the last 32 days are available
Inputs: station (required), end_date (required), start_date (required), resolution.
get_water_levelARead-onlyIdempotent
Current river/lake level and temperature at a BAFU hydro station
Inputs: station (required).
get_weatherARead-onlyIdempotent
Current weather at a MeteoSwiss station. For past dates use get_weather_history
Inputs: station (required).
get_weather_historyARead-onlyIdempotent
Historical weather readings for a MeteoSwiss station. Only the last 32 days are available
Inputs: station (required), end_date (required), start_date (required), resolution.
identify_locationCRead-onlyIdempotent
Geographic features and swisstopo data layers at a location
Inputs: lat (required), lng (required), layers.
identify_map_layerARead-onlyIdempotent
Identify geo.admin features at a WGS84 point on one ech MapServer layer. Use search_map_layers to find the layer id. Historical time-series layers keep only the current feature unless include_historical is true.
Inputs: lat (required), lng (required), layer (required), lang, +3 more.
is_holiday_todayBRead-onlyIdempotent
Whether today is a public holiday
Inputs: canton.
list_air_quality_stationsBRead-onlyIdempotent
List NABEL air-quality monitoring stations (BAFU/Empa)
Inputs: no named parameters.
list_avalanche_regionsARead-onlyIdempotent
The 135 SLF/EAWS avalanche warning regions (id, name, canton) for get_avalanche_bulletin
Inputs: canton, search.
list_cantonsBRead-onlyIdempotent
List cantons with codes
Inputs: no named parameters.
list_currenciesBRead-onlyIdempotent
List currencies with SNB CHF exchange rates
Inputs: no named parameters.
list_hydro_stationsBRead-onlyIdempotent
List BAFU hydro station IDs (rivers, lakes)
Inputs: no named parameters.
list_legal_formsARead-onlyIdempotent
List company legal forms (AG, GmbH, ...) with the ids used by search_companies
Inputs: no named parameters.
list_ogd_stationsARead-onlyIdempotent
List MeteoSwiss Open Government Data stations from a STAC collection on data.geo.admin.ch. Defaults to SwissMetNet automatic weather stations (smn). Other station collections: smn-precip, smn-tower, nime, nbcn, nbcn-precip, obs, phenology, tot. Filter by canton or a name/code search.
Inputs: limit, query, canton, collection.
list_opendata_resourcesARead-onlyIdempotent
List downloadable resources (files and services) for an opendata.swiss dataset. Optional format filter such as CSV, JSON, or WMS.
Inputs: dataset_id (required), limit, format.
list_pollen_stationsBRead-onlyIdempotent
List MeteoSwiss pollen stations
Inputs: canton.
list_postcodes_in_cantonBRead-onlyIdempotent
List postcodes (PLZ) in a canton
Inputs: canton (required).
list_snow_stationsCRead-onlyIdempotent
List SLF snow stations (IMIS automatic, manual study plots)
Inputs: type, limit, canton.
list_waste_typesARead-onlyIdempotent
List waste collection types. Zurich city only (OpenERZ)
Inputs: no named parameters.
list_weather_stationsBRead-onlyIdempotent
List MeteoSwiss weather station codes
Inputs: no named parameters.
lookup_postcodeCRead-onlyIdempotent
Locality, canton and coordinates for a postcode (PLZ)
Inputs: postcode (required).
reverse_geocodeBRead-onlyIdempotent
WGS84 coordinates to address (swisstopo)
Inputs: lat (required), lng (required).
search_buildingsARead-onlyIdempotent
Find buildings in the federal buildings register (GWR/RegBL) by address; gives EGIDs for get_building
Inputs: address (required), limit.
search_cantonal_affairsBRead-onlyIdempotent
Search affairs in a cantonal parliament (Kantonsrat), all 26 cantons
Inputs: canton (required), limit, query.
search_companiesBRead-onlyIdempotent
Search the ZEFIX commercial register by company name, optionally filtered by canton/legal form
Inputs: name (required), limit, canton, legal_form.
search_companies_by_localityBRead-onlyIdempotent
Companies whose registered seat is in a commune/town. ZEFIX has no street-address search
Inputs: locality (required), name, limit.
search_damsBRead-onlyIdempotent
Search federally supervised dams by dam or reservoir name (SFOE)
Inputs: query (required).
search_earthquakes_by_locationBRead-onlyIdempotent
Earthquakes within a radius of a WGS84 point (SED)
Inputs: lat (required), lon (required), days, limit, +2 more.
search_map_layersARead-onlyIdempotent
Search or list layers in the geo.admin ech MapServer catalogue (all federal geospatial layers). Returns layer ids that identify_map_layer and find_map_features accept. Without a query, returns the first page of layers alphabetically.
Inputs: limit, owner, query.
search_municipality_energyARead-onlyIdempotent
Find municipality BFS numbers for the electricity tariff tools
Inputs: name (required).
search_opendataARead-onlyIdempotent
Search the Swiss open data catalogue (opendata.swiss) for datasets. Returns titles, publishers, and dataset ids. Optional organization slug narrows results to one publisher (e.g. bundesamt-fur-statistik-bfs). Source: opendata.swiss CKAN API.
Inputs: query (required), limit, organization.
search_parliament_businessARead-onlyIdempotent
Full-text search of federal parliament affairs (bills, motions, interpellations, postulates, questions, initiatives). For cantonal parliaments use search_cantonal_affairs
Inputs: query (required), limit.
search_parliament_speechesCRead-onlyIdempotent
Debate speeches on a parliamentary affair
Inputs: affair_id (required), limit.
search_placesCRead-onlyIdempotent
Search place names, localities, mountains, geographic features
Inputs: query (required).
search_postcodeCRead-onlyIdempotent
Postcodes (PLZ) for a city/locality name
Inputs: city_name (required).
search_real_estate_dataBRead-onlyIdempotent
Search opendata.swiss for real-estate/housing datasets (prices, rents, construction, vacancies)
Inputs: query (required), limit.
search_stationsBRead-onlyIdempotent
Search public transport stations/stops by name or coordinates
Inputs: x, y, type, query.
search_statisticsCRead-onlyIdempotent
Search BFS datasets on opendata.swiss
Inputs: query (required), limit.
search_swiss_newsARead-onlyIdempotent
Keyword search in current SRF headlines (all categories)
Inputs: query (required), limit.
search_votesBRead-onlyIdempotent
Search popular votes by title keyword (Basel-Stadt results)
Inputs: query (required), limit.
track_parcelARead-onlyIdempotent
Swiss Post tracking page URL for a tracking number (no live status: there is no public tracking API)
Inputs: tracking_number (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 94 tools
Most tools map to distinct Swiss data domains, but there are real clusters of near-duplicates: search_opendata / search_statistics / search_real_estate_data all search catalogues, get_weather / get_ogd_recent / get_ogd_history / get_weather_history overlap on MeteoSwiss readings, and search_places / geocode / identify_location / search_map_layers all resolve locations. Descriptions usually clarify the intended boundary (e.g. get_rent_index explicitly disclaims being a rent index, get_traffic_count vs get_traffic_by_canton), which keeps it workable, but an agent must read carefully to pick correctly.
The dominant convention is snake_case verb_noun (get_vote_details, list_pollen_stations, search_companies, compare_electricity_tariffs) applied consistently across most of the 94 tools. Deviations are minor: bare verb names like geocode / reverse_geocode, and noun-first variants like buildings_near. Nothing is camelCase-mixed or chaotic.
94 tools in a single server is far past the practical ceiling; even though each contributes to a genuinely broad 'Swiss public data' scope, the surface is too large to navigate or select from reliably. This is really a federation of ~15 domain servers (weather, transit, parliament, geodata, energy, hazards) bundled into one.
Coverage across the chosen domains is unusually thorough: search plus detail pairs exist for businesses, dams, buildings, datasets, parliament affairs, votes, earthquakes, and stations, with canton/radius filters and supporting lookup tables (list_cantons, list_legal_forms, list_avalanche_regions). Gaps are mostly upstream-imposed dead ends (track_parcel and get_air_quality return only links, no live measurements) rather than missing tool patterns.
Maintenance
Related MCP Connectors
Swiss Transport MCP — wraps Transport Open Data API (free, no auth)
opendata.swiss MCP — Switzerland's federal open-data portal (CKAN catalogue).
Swiss trains and public transport: live connections and departures. Official data, free, no key.
An MCP server for Georgian public data, read from the organizations that publish it.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for Swiss federal geodata -- maps, elevation, geocoding, cadastral extracts, and downloadable datasets via Swisstopo APIs.2039 PyPI12MIT
- AlicenseAqualityAmaintenanceMCP Server for Swiss road mobility — shared vehicles, EV charging, traffic alerts, Park & Rail, and multimodal trip planning.1547 PyPI1MIT
- AlicenseBqualityDmaintenanceMCP server exposing all major Swiss official public APIs as native tools for any MCP-compatible AI agent.3412 npmMIT
- AlicenseAqualityBmaintenanceMCP server for Switzerland's national metadata catalogue, enabling AI agents to discover datasets, APIs, public services, and publishers through free-text search and structured queries.1357 PyPIMIT