Swiss public transport is an MCP server published by ch.opendata, hosted at transport.opendata.ch. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 4 tools, including find_stations, stations_nearby, connections, departures.
Stations, connections and departures of Swiss public transport, with real-time delays.
3 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Find stations and stops by name. Returns their exact names and ids, best match first.
| Parameter | Type | Description |
|---|---|---|
| query * | string | Name or part of a name, e.g. 'Bern' or 'Basel, Bank'. |
{
"name": "find_stations",
"title": "Find stations",
"description": "Find stations and stops by name. Returns their exact names and ids, best match first.",
"inputSchema": {
"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'."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
The stops closest to a point, with their distance in metres.
| Parameter | Type | Description |
|---|---|---|
| latitude * | number | WGS84 latitude, e.g. 46.9488. |
| longitude * | number | WGS84 longitude, e.g. 7.4391. |
{
"name": "stations_nearby",
"title": "Stops nearby",
"description": "The stops closest to a point, with their distance in metres.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Public transport connections from A to B: times, platforms, delays, changes, lines.
| Parameter | 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. |
{
"name": "connections",
"title": "Connections",
"description": "Public transport connections from A to B: times, platforms, delays, changes, lines.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The departure (or arrival) board of a station, with platforms, delays and cancellations.
| Parameter | 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. |
{
"name": "departures",
"title": "Departures",
"description": "The departure (or arrival) board of a station, with platforms, delays and cancellations.",
"inputSchema": {
"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."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Swiss public transport timetable with real-time delays, from the national timetable (opentransportdata.swiss), run by the association Opendata.ch. Times are Swiss local time (Europe/Zurich). Station names can be given as people say them ('Bern', 'Zürich HB', 'Lausanne, gare'); when a name is ambiguous, call find_stations first and use the exact name or id it returns. Addresses and places of interest work as start and destination of a connection too. Coverage is Switzerland (and border stations); for journeys abroad say that the data ends at the border. The timetable covers the days from a week ago to about three months ahead; nothing found for a date outside that range means no data, not no service.
Names, descriptions and schemas were written by the server and are shown as data.