Swiss public transport

ch.opendata/transport

Stations, connections and departures of Swiss public transport, with real-time delays.

Connect this server

One click to install, or copy the config below. Suits: Cursor · HTTP clients.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "transport": {
      "url": "https://transport.opendata.ch/mcp"
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --transport http transport https://transport.opendata.ch/mcp
VS Code
code --add-mcp '{"name":"transport","type":"http","url":"https://transport.opendata.ch/mcp"}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in. Codex takes hosted servers in config.toml ([mcp_servers.<name>] url = …) rather than on the command line.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Maps, Travel & Weather
Version
1.0.0
Registry
active
Published
11/21/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 22, 2026

Mostly fine: Swiss public transport is hosted endpoint answering without a key.

Maintained
No commit data
The repository has not been read yet, so the last-commit date is unknown.
Official registry
Active
Published as ch.opendata/transport in the official MCP registry, version 1.0.0.
Source
No licence found
Public repository, but GitHub reports no recognised licence. Check the README before shipping it in a product.
Runs
Hosted by the publisher
Your client talks to transport.opendata.ch: prompts and tool arguments leave your machine for that host.
Credentials
None needed to connect
The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Nov 22, 2026); individual tools may still ask for one.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.

Live check

checked Nov 22, 2026, 06:07 UTCStatus history & uptime →
● Working493 msprotocol 2025-06-18v18932aa4promptsresourcestools

The endpoint answered the MCP handshake as "Swiss public transport (transport.opendata.ch)" and listed 4 tools. Answering since Nov 22, 2026.

Context cost ≈ 772 tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 4 tools.

Tools (4)

  • find_stations1 param

    Find stations and stops by name. Returns their exact names and ids, best match first.

    Show parameters
    • querystringrequiredName or part of a name, e.g. 'Bern' or 'Basel, Bank'.
  • stations_nearby2 params

    The stops closest to a point, with their distance in metres.

    Show parameters
    • latitudenumberrequiredWGS84 latitude, e.g. 46.9488.
    • longitudenumberrequiredWGS84 longitude, e.g. 7.4391.
  • connections7 params

    Public transport connections from A to B: times, platforms, delays, changes, lines.

    Show parameters
    • originstringrequiredStart: station name or id, address or place.
    • destinationstringrequiredDestination, like origin.
    • dateYYYY-MM-DD; today if left out.
    • timehh:mm, Swiss local time; now if left out.
    • arrive_bybooleanTrue if `time` is the latest arrival rather than departure.
    • viaUp to two stations the journey must pass.
    • limitintegerNumber of connections.
  • departures4 params

    The departure (or arrival) board of a station, with platforms, delays and cancellations.

    Show parameters
    • stationstringrequiredStation name or id.
    • when'YYYY-MM-DD hh:mm', Swiss local time; now if left out.
    • limitintegerNumber of entries.
    • arrivalsbooleanTrue for arrivals instead of departures.

Checked by Serverdex with a plain initialize + tools/list call to transport.opendata.ch/mcp, no credentials, about once a day. A failed check is never a removal.

Remotes

  • streamable-httphttps://transport.opendata.ch/mcp

The most-starred Maps, Travel & Weather servers in the index, with their live-check result.

ServerStarsLast pushLive check
LetsFG — Flights & Hotels2,295Nov 2026Needs sign-in
Hex Research597Nov 2026Local / not checked
Google Maps MCP Server499Oct 2026Local / not checked
UI Craft465Nov 2026Local / not checked
mapbox MCP Server372Nov 2026Needs sign-in

Swiss public transport: questions people ask

Is Swiss public transport a remote or a local MCP server?
According to its entry in the official MCP registry, Swiss public transport ships as a hosted endpoint (streamable-http) that your client connects to by URL.
Does Swiss public transport need an API key?
Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Nov 22, 2026. Individual tools may still ask for a key when called.
Is Swiss public transport safe to use?
Mostly fine: Swiss public transport is hosted endpoint answering without a key. In detail — maintained: No commit data; official registry: Active; source: No licence found; runs: Hosted by the publisher; credentials: None needed to connect. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
What tools does Swiss public transport expose?
4 tools as listed by the server itself during the live check, including find_stations, stations_nearby, connections, departures. The full list with parameters is in the Live check section above.
How do I add Swiss public transport to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
  1. First names in SwitzerlandOfficial statistics of first names in Switzerland (BFS): people by year of birth, newborn rankings.
Browse all Maps, Travel & Weather →

Add the badge to your site

Show visitors that Swiss public transport is listed here — it’s also the link we check for a free listing.

Swiss public transport — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/ch-opendata-transport?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Swiss public transport — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Swiss public transport — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/ch-opendata-transport?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/ch-opendata-transport) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/ch-opendata-transport) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/ch-opendata-transport)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/ch-opendata-transport"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/ch-opendata-transport"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/ch-opendata-transport"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).