Switzerland MCP π¨π MCP Server
Swiss open data MCP server. 96 tools, zero API keys. Transport, weather, geodata, catalogue.
Switzerland MCP π¨π scores 76 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Data and analytics, Maps and location. GitHub shows 28 stars. Package registries report about 2,488 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
76 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 76 comes from
22 + 20 + 10 + 10 + 4 + 10 = 76. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 10 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "vikramgorla-mcp-swiss": { "command": "npx", "args": [ "-y", "mcp-swiss@0.13.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools3Tool docs quality grade C
All capabilitiesswiss_call_tooltoolRuns any tool by name after checking its arguments
The full catalogue, module by module
Finds the right tool from plain words ("train from Aigle to Geneva", "avalanche danger Verbier", "CHF to EUR"), typos included, and returns its input schema
About
mcp-swiss
Swiss public data for AI assistants. No API keys.
Documentation and tool catalogue
An MCP server that gives Claude, Copilot, Cursor and other assistants 96 tools across 27 modules for Swiss public data:
- Getting around: SBB and PostBus timetables, live departures, station passengers, punctuality and step-free access, road traffic counts
- Weather and nature: MeteoSwiss daily and hourly forecasts, current weather and measurements, river and lake levels, avalanche bulletins, snow, pollen, air quality, earthquakes, dams, hiking trail closures
- Places: geocoding, places, municipalities, postcodes, rooftop solar potential, the federal buildings register, every geo.admin map layer
- Society and economy: the commercial register, public and school holidays, federal and cantonal parliament, national popular votes since 1848 by canton and municipality (live on voting Sundays), population, property and consumer prices, SNB exchange rates, electricity tariffs, SRF news, Zurich waste collection, the opendata.swiss catalogue
Every tool reads official or long-running public sources. Nothing needs an account.
Install
Claude Desktop: download mcp-swiss.mcpb and open it.
Claude Code:
claude mcp add swiss -- npx -y mcp-swiss
Cursor, VS Code, Windsurf, Cline and any other MCP app:
{
"mcpServers": {
"swiss": {
"command": "npx",
"args": ["-y", "mcp-swiss"]
}
}
}
Requires Node.js 20 or later. Per-app steps, Docker images and the Streamable HTTP mode are on the install page.
How tools are listed
You don't need to configure anything. Out of the box, mcp-swiss lists five tools instead of 96 and tells the model how to reach the rest. That costs about 1,200 tokens per conversation instead of about 12,300.
| Listed by default | What it does |
|---|---|
swiss_search_tools | Finds the right tool from plain words ("train from Aigle to Geneva", "avalanche danger Verbier", "CHF to EUR"), typos included, and returns its input schema |
swiss_call_tool | Runs any tool by name after checking its arguments |
swiss_list_modules | The full catalogue, module by module |
get_connections, get_departures | The two most-used tools, callable directly |
The server's instructions (which apps add to the model's context) list every module, so the model knows what exists before it searches. All tools only read public data, so apps can approve calls without asking each time. This is the search-then-execute pattern used by Atlassian's Rovo MCP server and Cloudflare, with Anthropic's advice to keep a few frequent tools loaded. A test asks more than 200 plain-language questions, at least two per tool, and fails if any tool doesn't come up in the top five results.
Add to args | What you get |
|---|---|
| (nothing) | Search mode, as above |
--modules transport,weather | Only those modules, listed directly (--list-modules shows all 27) |
--preset commuter | A ready-made set: commuter, outdoor, business, citizen, minimal (--list-presets) |
--mode full or MCP_SWISS_MODE=full | All 96 tools listed directly. Fine in apps that already load tools on demand, such as Claude Code |
--discovery | Search mode even when modules are chosen |
--pin get_weather,geocode / --pin none | Different tools next to the search tools, or only the three |
Try asking
- Next trains from Aigle to Geneva airport
- Do I need an umbrella in Lausanne tomorrow?
- Is the Aare in Bern warm enough to swim?
- What's the avalanche danger around Verbier today?
- Find companies registered in Zug with "blockchain" in the name
- Rooftop solar potential of Bundesplatz 3, Bern
- When are the autumn school holidays in Vaud?
- How much does electricity cost in Lausanne compared with Zurich?
- What has parliament decided about pensions this year?
Tools and data sources
The tool catalogue lists all 94 tools with their parameters and has a search box that runs the server's own search. It's generated from the code on every release. The same information is machine-readable in docs/tools.schema.json. Sources and their licences are listed on the data sources page.
Development
git clone https://github.com/vikramgorla/mcp-swiss.git
cd mcp-swiss
npm install
npm run validate # lint, build, unit and protocol tests
npx @modelcontextprotocol/inspector node dist/index.js
npm run site # build the documentation site into site/dist
AGENTS.md holds the rules every change follows. CONTRIBUTING.md walks through adding a module, and RELEASING.md covers releases. Upstream calls time out after 30 seconds (MCP_SWISS_TIMEOUT_MS) and retry once on a dropped connection or rate limit.
Thanks to Pierre Christen (netadvanced/mcp-swiss-ng) for the HTTP transport, the building register and many data fixes, and to everyone who has reported issues.
License
MIT. See LICENSE. Not affiliated with the Swiss federal administration, SBB or any data provider.
Frequently asked questions
What is Switzerland MCP π¨π MCP Server?
Swiss open data MCP server. 96 tools, zero API keys. Transport, weather, geodata, catalogue.
How do I install Switzerland MCP π¨π MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Switzerland MCP π¨π MCP Server runs locally from the npm package mcp-swiss with the command npx -y mcp-swiss@0.13.0.
Is Switzerland MCP π¨π MCP Server free and open source?
Yes. Switzerland MCP π¨π MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Switzerland MCP π¨π MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Switzerland MCP π¨π MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Switzerland MCP π¨π MCP Server provide?
Switzerland MCP π¨π MCP Server provides 3 tools: swiss_call_tool, swiss_list_modules, and swiss_search_tools. See the full tool list for descriptions and parameters.
How is Switzerland MCP π¨π MCP Server's trust score calculated?
Switzerland MCP π¨π MCP Server scores 76 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetβBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.