Swiss Public Transport MCP
This MCP server provides AI assistants with tools to look up Swiss public transport stations, connections, and real-time departures. It exposes tools for finding stations by name or coordinates, retrieving connections between locations with platform and delay information, and checking station departure boards. The server reads from the official Swiss public transport API data, ensuring up-to-date timetable and real-time information without requiring user authentication.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://transport.opendata.ch/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (4)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to opendata.ch ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Find station IDs by name or nearby coordinates
- Retrieve connections between two locations with delays
- Check real-time departures for a specific station
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- transport.opendata.ch 2c28784a
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 4 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
find_stations — Find stations
Find stations and stops by name. Returns their exact names and ids, best match first.
{
"type": "object",
"title": "find_stationsArguments",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"title": "Query",
"description": "Name or part of a name, e.g. 'Bern' or 'Basel, Bank'."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}stations_nearby — Stops nearby
The stops closest to a point, with their distance in metres.
{
"type": "object",
"title": "stations_nearbyArguments",
"required": [
"latitude",
"longitude"
],
"properties": {
"latitude": {
"type": "number",
"title": "Latitude",
"description": "WGS84 latitude, e.g. 46.9488."
},
"longitude": {
"type": "number",
"title": "Longitude",
"description": "WGS84 longitude, e.g. 7.4391."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}connections — Connections
Public transport connections from A to B: times, platforms, delays, changes, lines.
{
"type": "object",
"title": "connectionsArguments",
"required": [
"origin",
"destination"
],
"properties": {
"via": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Via",
"default": null,
"description": "Up to two stations the journey must pass."
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date",
"default": null,
"description": "YYYY-MM-DD; today if left out."
},
"time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Time",
"default": null,
"description": "hh:mm, Swiss local time; now if left out."
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 4,
"maximum": 8,
"minimum": 1,
"description": "Number of connections."
},
"origin": {
"type": "string",
"title": "Origin",
"description": "Start: station name or id, address or place."
},
"arrive_by": {
"type": "boolean",
"title": "Arrive By",
"default": false,
"description": "True if `time` is the latest arrival rather than departure."
},
"destination": {
"type": "string",
"title": "Destination",
"description": "Destination, like origin."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}departures — Departures
The departure (or arrival) board of a station, with platforms, delays and cancellations.
{
"type": "object",
"title": "departuresArguments",
"required": [
"station"
],
"properties": {
"when": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "When",
"default": null,
"description": "'YYYY-MM-DD hh:mm', Swiss local time; now if left out."
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 10,
"maximum": 40,
"minimum": 1,
"description": "Number of entries."
},
"station": {
"type": "string",
"title": "Station",
"description": "Station name or id."
},
"arrivals": {
"type": "boolean",
"title": "Arrivals",
"default": false,
"description": "True for arrivals instead of departures."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Prompts
0 advertised
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-22: 1 of 1 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1858 ms
- 95th percentile latency
- 2204 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2243 ms · 4 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
- · probe · passed · 1472 ms · metadata changed · 4 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http swiss-public-transport-mcp https://transport.opendata.ch/mcpCodex
codex mcp add swiss-public-transport-mcp --url https://transport.opendata.ch/mcpCursor
{
"mcpServers": {
"swiss-public-transport-mcp": {
"url": "https://transport.opendata.ch/mcp"
}
}
}Cline
{
"mcpServers": {
"swiss-public-transport-mcp": {
"type": "streamableHttp",
"url": "https://transport.opendata.ch/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"swiss-public-transport-mcp": {
"type": "http",
"url": "https://transport.opendata.ch/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http swiss-public-transport-mcp https://transport.opendata.ch/mcpClaude Desktop
https://transport.opendata.ch/mcpWindsurf
{
"mcpServers": {
"swiss-public-transport-mcp": {
"serverUrl": "https://transport.opendata.ch/mcp"
}
}
}Let your agent find its tools
Find servers like Swiss Public Transport MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Do you run Swiss Public Transport MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.