MCP Swiss logo

MCP Swiss

by vikramgorla

Access Swiss transport, weather, hydrology, geodata, company, holiday, and parliamentary data through MCP without API keys.

Install MCP Swiss

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "vikramgorla-mcp-swiss": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-swiss"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

vikramgorla/mcp-swiss connects AI assistants to Swiss public data through MCP tools for transport, weather, hydrology, maps, companies, holidays, and parliament. It runs over stdio with npx and requires no API keys, accounts, or environment variables for basic operation. Use it for Swiss-specific lookups such as live station departures, MeteoSwiss conditions, river levels, address geocoding, ZEFIX companies, or parliamentary affairs. Optional timeout and retry behavior helps manage upstream requests.

Use cases

  • Plan a train or bus journey between Swiss locations
  • Check live departures, arrivals, or nearby stations
  • Retrieve weather or river-level measurements
  • Find Swiss companies and registry details
  • Research Swiss parliamentary affairs and votes

Key features

  • Swiss transport search and live timetable data
  • MeteoSwiss current and historical weather
  • BAFU hydrological station readings
  • swisstopo geocoding and geographic lookups
  • ZEFIX company registry search
  • Swiss holiday and parliamentary data

Tools76

What MCP Swiss lets your agent do. Expand a tool for its parameters.

Verified live~8.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

19/20 checks healthy over the last 89d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · mcp-swiss (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars25Stargazers on the source repository.
npm downloads4.7kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed76Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Swiss works

What vikramgorla/mcp-swiss does

vikramgorla/mcp-swiss exposes Swiss open-data services as MCP tools. Its coverage includes public transport, MeteoSwiss weather stations, BAFU hydrological monitoring, swisstopo geodata, the ZEFIX company registry, Swiss holidays, and OpenParlData.ch parliamentary information.

The transport tools search stations, plan connections, and return live arrivals or departures. Weather and hydrology tools provide current readings, station lists, and historical measurements. Geodata tools handle Swiss address conversion, place searches, reverse lookups, municipality information, solar potential, and location-based map-layer identification.

Company tools search by name, canton, legal form, address, or locality, then retrieve detailed records using a ZEFIX internal identifier. Calendar tools cover public holidays, school holidays, and whether the current day is a holiday. Parliamentary tools search political affairs, list members, retrieve votes, show session schedules, and return speeches tied to an affair.

How it works

The server uses Model Context Protocol over stdio. An MCP client starts it with npx -y mcp-swiss, then invokes the available tools with structured arguments. Requests are made to the relevant Swiss public-data services, including SBB and PostBus transport data, MeteoSwiss, BAFU, swisstopo, ZEFIX, and OpenParlData.ch.

No API key, registration, account, or .env file is needed. A Docker image is also available for clients that launch MCP servers through Docker. Upstream requests time out after 30 seconds by default and are retried once after a dropped connection or rate-limit response.

Setup and configuration

For a stdio-capable client, use this configuration:

config.json
{
  "command": "npx",
  "args": ["-y", "mcp-swiss"]
}

Claude Desktop, Cursor, VS Code, Windsurf, and Cline each have documented configuration options for this command. Claude Code can add the server with claude mcp add swiss -- npx -y mcp-swiss. A downloadable .mcpb bundle supports one-click installation in Claude Desktop and compatible MCP Bundle applications.

The optional MCP_SWISS_TIMEOUT_MS environment variable changes the upstream request timeout. Alternatively, run docker run -i --rm vikramgorla/mcp-swiss or use the image from GitHub Container Registry.

Tools and capabilities

  • Find Swiss stations, nearby stops, connections, live departures, and arrivals.
  • Query current and historical weather at MeteoSwiss stations.
  • Inspect river and lake levels, temperatures, stations, and historical readings.
  • Geocode addresses, reverse-geocode coordinates, search geographic features, and inspect map layers.
  • Search ZEFIX companies and retrieve records by ehraid.
  • List cantons and legal forms, and query public or school holidays.
  • Search parliamentary affairs, members, votes, sessions, and speeches.

Limitations and notes

The tools are focused on Switzerland and return information from external public-data services. Company detail lookups require the ZEFIX ehraid, which is obtained from a company search. Transport, weather, hydrology, and parliamentary results depend on the availability and freshness of their respective upstream sources. The default 30-second timeout can be changed with MCP_SWISS_TIMEOUT_MS.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Swiss

vikramgorla/mcp-swiss is an MCP server that connects AI assistants to Swiss open-data services, including transport, MeteoSwiss weather, BAFU hydrology, swisstopo geodata, ZEFIX companies, holidays, and parliament. Its main tools search stations, retrieve live departures, query measurements, geocode places, find companies, and research parliamentary affairs.

Install it by configuring your MCP client to run `npx -y mcp-swiss`. Claude Desktop, Cursor, VS Code, Windsurf, and Cline use this stdio configuration. Claude Code supports `claude mcp add swiss -- npx -y mcp-swiss`, and a downloadable `.mcpb` bundle is available for Claude Desktop.

Yes, vikramgorla/mcp-swiss works with Cursor 0.45.6 or newer. Add a `swiss` server using `npx` with the `-y` and `mcp-swiss` arguments in `.cursor/mcp.json`, the global Cursor configuration, or Cursor Settings under Features and MCP Servers.

No, vikramgorla/mcp-swiss requires no API keys, registration, accounts, environment files, or server setup for normal use. Start it through stdio with `npx -y mcp-swiss`; the optional `MCP_SWISS_TIMEOUT_MS` variable only changes the upstream request timeout.

Search first with `search_companies`, `search_companies_by_address`, or filters such as name, canton, and legal form. Then pass the returned ZEFIX `ehraid` to `get_company` to retrieve the company record.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Swiss AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/vikramgorla-mcp-swiss?style=directory)](https://allmcps.com/mcp/vikramgorla-mcp-swiss)
HTML Embed
<a href="https://allmcps.com/mcp/vikramgorla-mcp-swiss"><img src="https://allmcps.com/api/badge/vikramgorla-mcp-swiss?style=directory" alt="MCP Swiss on AllMCPs" /></a>