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.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"transport": {
"url": "https://transport.opendata.ch/mcp"
}
}
}claude mcp add --transport http transport https://transport.opendata.ch/mcpcode --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
Is it safe? Is it maintained?
Serverdex check: Nov 22, 2026Mostly 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 →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 paramFind stations and stops by name. Returns their exact names and ids, best match first.
Show parametersHide parameters
querystringrequiredName or part of a name, e.g. 'Bern' or 'Basel, Bank'.
stations_nearby2 paramsThe stops closest to a point, with their distance in metres.
Show parametersHide parameters
latitudenumberrequiredWGS84 latitude, e.g. 46.9488.longitudenumberrequiredWGS84 longitude, e.g. 7.4391.
connections7 paramsPublic transport connections from A to B: times, platforms, delays, changes, lines.
Show parametersHide 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 paramsThe departure (or arrival) board of a station, with platforms, delays and cancellations.
Show parametersHide 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-http
https://transport.opendata.ch/mcp
Alternatives to Swiss public transport
All Swiss public transport alternatives →Best Maps, Travel & Weather servers →The most-starred Maps, Travel & Weather servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| LetsFG — Flights & Hotels | 2,295 | Nov 2026 | Needs sign-in |
| Hex Research | 597 | Nov 2026 | Local / not checked |
| Google Maps MCP Server | 499 | Oct 2026 | Local / not checked |
| UI Craft | 465 | Nov 2026 | Local / not checked |
| mapbox MCP Server | 372 | Nov 2026 | Needs 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.
More from ch.opendata
All 2 servers by ch.opendata →More Maps, Travel & Weather servers
Browse all Maps, Travel & Weather →overpass.ch
cdutsov
Overpass API on the full planet with history, plus geocoding and elevation. Needs an account.
Close API
henryspatialanalysis
Walk, bike, and transit travel times from every US census block to nearby amenities.
My Next Adventure
MantaCodeDevs
Create trips, compare variants side by side, and add accommodation, transport and event options.
Weather Forecast MCP
boy-373
MCP server for current weather and multi-day forecasts worldwide, Chinese city names and output.
Meter for Drivers & Fleets
MeterApp
Drive with Meter or run a Meter taxi fleet: trips, bookings, drivers, earnings and settings.
Meter Rides
MeterApp
Book taxi rides with local Meter taxi companies: prices, booking, live tracking and cancelling.
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.
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
[](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.
Install buttons — for your README
[](https://serverdex.io/install/cursor/ch-opendata-transport) [](https://serverdex.io/install/vscode/ch-opendata-transport) [](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).