mcp-swiss is a Model Context Protocol (MCP) server that gives any AI assistant direct access to Swiss open data—trains, weather, rivers, maps, companies, and more. Its features are zero configuration and zero API keys: no API key, no registration, no need to run the server yourself, just execute npx mcp-swiss and you're done.
Purpose To provide AI assistants with direct access to official Swiss open data, covering transportation, weather and hydrology, geodata, company information, parliament, holidays, avalanches, air quality, postal services, energy prices, statistics, exchange rates, recycling, news, voting, dams, hiking, real estate, traffic, earthquakes, snow conditions, pollen, and many other areas.
Main capabilities A total of 22 modules and 79 tools, with all data coming from official Swiss open data and no API key required. The modules include:
- 🚆 Transportation (5 tools)
- 🌤️ Weather and hydrology (6 tools)
- 🗺️ Geodata / swisstopo (6 tools)
- 🏢 Companies / ZEFIX (5 tools)
- 🎄 Holidays (3 tools)
- 🏛️ Parliament (9 tools) — OpenParlData.ch
- 🏔️ Avalanches (2 tools)
- 💨 Air quality (2 tools)
- 📮 Swiss Post (4 tools)
- ⚡ Energy prices (3 tools)
- 📊 Statistics / BFS (3 tools)
- 🏦 Swiss National Bank exchange rates (3 tools)
- ♻️ Recycling / waste collection (3 tools)
- 📰 Swiss news (2 tools)
- 🗳️ Voting (3 tools)
- 🌊 Dams and reservoirs (3 tools)
- 🥾 Hiking / trail closures (2 tools)
- 🏠 Real estate (3 tools)
- 🚗 Traffic / ASTRA (3 tools)
- 🌍 Earthquakes / SED (3 tools)
- ❄️ Snow conditions / SLF (3 tools)
- 🌿 Pollen / MeteoSwiss (3 tools) For the complete specification, see docs/tool-specs.md; for the machine-readable version, see docs/tools.schema.json.
How to use Supports one-click installation (.mcpb package, suitable for Claude Desktop and any application compatible with MCP Bundle), and can also be connected to various MCP clients via configuration files.
General configuration (uses stdio transport, no environment variables required):
{
"mcpServers": {
"mcp-swiss": {
"command": "npx",
"args": ["mcp-swiss"]
}
}
}
Claude Desktop: edit the configuration file and restart: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json
Claude Code (CLI): after configuration, Claude Code will use it in the next session.
Cursor (requires 0.45.6+):
- Project configuration: create .cursor/mcp.json in the project root directory
- Global configuration: create ~/.cursor/mcp.json
- Or via the Cursor Settings UI: open Cursor Settings → Features → MCP Servers → click + Add new global MCP server → paste the above JSON configuration
VS Code (GitHub Copilot): add to VS Code user settings (JSON)—press Ctrl+Shift+P → Preferences: Open User Settings (JSON), or add to the workspace's .vscode/mcp.json (can be shared with the team).
Windsurf: add to ~/.codeium/windsurf/model_config.json.
Cline (VS Code): open VS Code settings.json and add the configuration.
Docker: suitable for any MCP client that supports Docker-based servers; the container uses stdio transport. Also available on GitHub Container Registry.
Module filtering: by default all 22 modules (79 tools) are loaded; to improve token efficiency, you can load only the modules you need, with support for specific module selection, presets, and module combinations (e.g., --preset commuter --modules parliament), and you can use npx mcp-swiss --list-modules or npx mcp-swiss --list-presets to list available items.
Use cases After integration, you can ask the AI directly, for example to query Swiss open data such as trains, weather, rivers, maps, and companies. It is suitable for AI client scenarios that need official Swiss open data and want no API key, no registration, and no deployment.
Limitations and notes mcp-swiss uses stdio transport and requires no environment variables. The code standard is TypeScript, with any disabled, a response limit of 50K, and zero API keys. Contributions follow a strict PR workflow (no direct pushes, always use PRs, regular merges only); see CONTRIBUTING.md for contribution guidelines and RELEASING.md for the release process. The license is MIT, see LICENSE for details.
Other information (such as specific pricing, fees, platform support scope, performance metrics, etc.) is not yet provided.