Swiss public transport
Swiss stations, connections and live departures from the Transport API
Answered our tool-list check 5 of 5 times in the last 7 days; last seen working 18 hours ago.
Swiss public transport is a free MCP server for maps and travel. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Free
- Platforms
- API, Web
- Runs
- Remotely
- What it can do
- Read-only
- Version
- 1.0.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http transport https://transport.opendata.ch/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"transport": {
"type": "http",
"url": "https://transport.opendata.ch/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://transport.opendata.ch/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"transport": {
"url": "https://transport.opendata.ch/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"transport": {
"type": "http",
"url": "https://transport.opendata.ch/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://transport.opendata.ch/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add transport --url https://transport.opendata.ch/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.transport]
url = "https://transport.opendata.ch/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://transport.opendata.ch/mcpEnter a Name (for example "Swiss public transport"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"transport": {
"type": "http",
"url": "https://transport.opendata.ch/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "transport": { "httpUrl": "https://transport.opendata.ch/mcp" } } }Or run: gemini mcp add -s user --transport http transport https://transport.opendata.ch/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "transport": { "serverUrl": "https://transport.opendata.ch/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "transport": { "url": "https://transport.opendata.ch/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "transport": { "type": "streamableHttp", "url": "https://transport.opendata.ch/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "transport": { "url": "https://transport.opendata.ch/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "transport": { "url": "https://transport.opendata.ch/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "transport": { "url": "https://transport.opendata.ch/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "transport": { "url": "https://transport.opendata.ch/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Swiss public transport
This server wraps the open Transport API for Swiss public transport. An assistant can find stops by name or coordinates, plan journeys between two places and read the departure board of a station, including real-time delays.
Connections can be filtered by date, time, via stops and transport type such as train, tram, bus, ship or cableway, and can include shared bikes, scooters and cars for the first and last leg. Fare lookups price a returned connection for one adult, full or with a half-fare card, in both classes.
The underlying service is shared by many applications, so it asks callers to cache results: timetables change twice a week and real-time data every 30 seconds.
Tools this server provides (4)
Read directly from the server.
The server marks all 4 tools read-only.
From the server's own tool labels and tool names; not verified by us.
- find_stationsSays read-only
- Find stations and stops by name. Returns their exact names and ids, best match first.
- stations_nearbySays read-only
- The stops closest to a point, with their distance in metres.
- connectionsSays read-only
- Public transport connections from A to B: times, platforms, delays, changes, lines.
- departuresSays read-only
- The departure (or arrival) board of a station, with platforms, delays and cancellations.
What it does
- Location search
- Find stations, addresses and points of interest by name or coordinate.
- Connection planning
- Get the next connections between two places, with optional via stops, date, time and transport type.
- Station boards
- List upcoming departures from any station, with an option to include cancelled journeys.
- Real-time delays
- Journey results carry prognosis data for delays and platform changes.
- Fare lookup
- Price a connection for one adult, full fare or half-fare card, first and second class.
- Shared mobility
- Let shared bikes, scooters and cars replace the walk to the first or last stop.
Good for
- Ask when the next train from Lausanne to Geneva leaves
- Show the departure board at a local bus station
- Plan a trip that uses only trams and buses
- Estimate the ticket price of a planned journey
Pricing
Free
Public open-data service with throttling for heavy repeat requests
Prices change. Check transport.opendata.ch before you buy.
Swiss public transport FAQ
What does Swiss public transport cover?
Stations, connections and departures of Swiss public transport, with real-time delays.
Are there rate limits?
There is no fixed limit per client, but applications that repeat the same query every few seconds are throttled, so results should be cached.
How often does the data change?
The timetable changes twice a week and real-time data every 30 seconds.
Can Swiss public transport show prices?
Yes, a fare lookup gives the point-to-point ticket price for one adult, full and half-fare, in both classes.
How do I add Swiss public transport to Claude Code?
Run this command in your terminal: claude mcp add --transport http transport https://transport.opendata.ch/mcp
What are the best alternatives to Swiss public transport?
The closest alternatives to Swiss public transport are Faceabot Transit Switzerland (SBB/CFF), Spick Me — Swiss public transport, Sbb Opendata MCP, MobilityMCP and NSW Transport.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.