get_connections
ActiveTool of swisstransport
declared in 0.1.0
Get public transport connections between two Swiss locations. Returns up to the requested number of next departures.
Parameters schema
{
"type": "object",
"examples": [
{
"to": "Geneva",
"from": "Zurich HB"
},
{
"to": "Lausanne",
"from": "Bern",
"limit": 6
}
],
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "Arrival station name or ID."
},
"from": {
"type": "string",
"description": "Departure station name or ID."
},
"limit": {
"type": "number",
"description": "Maximum number of connections to return. Defaults to 4."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
swisstransport
https://github.com/pipeworx-io/mcp-swisstransport
1/7 registries