Stations, connections and departures of Swiss public transport, with real-time delays.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Public transport connections from A to B: times, platforms, delays, changes, lines.
Start: station name or id, address or place.
Destination, like origin.
Up to two stations the journey must pass.
YYYY-MM-DD; today if left out.
hh:mm, Swiss local time; now if left out.
Number of connections.
True if `time` is the latest arrival rather than departure.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http transport https://transport.opendata.ch/mcp
Public transport connections from A to B: times, platforms, delays, changes, lines.
| Argument | Type | Description |
|---|---|---|
| via | any | Up to two stations the journey must pass. |
| date | any | YYYY-MM-DD; today if left out. |
| time | any | hh:mm, Swiss local time; now if left out. |
| limit | integer | Number of connections. |
| origin* | string | Start: station name or id, address or place. |
| arrive_by | boolean | True if `time` is the latest arrival rather than departure. |
| destination* | string | Destination, like origin. |
{
"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."
}
}
}The departure (or arrival) board of a station, with platforms and delays.
| Argument | Type | Description |
|---|---|---|
| when | any | 'YYYY-MM-DD hh:mm', Swiss local time; now if left out. |
| limit | integer | Number of entries. |
| station* | string | Station name or id. |
| arrivals | boolean | True for arrivals instead of departures. |
{
"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."
}
}
}Find stations and stops by name. Returns their exact names and ids, best match first.
| Argument | Type | Description |
|---|---|---|
| query* | string | Name or part of a name, e.g. 'Bern' or 'Basel, Bank'. |
{
"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'."
}
}
}The stops closest to a point, with their distance in metres.
| Argument | Type | Description |
|---|---|---|
| latitude* | number | WGS84 latitude, e.g. 46.9488. |
| longitude* | number | WGS84 longitude, e.g. 7.4391. |
{
"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."
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 21, 2026.