Skip to main content
Glama

mcp-server-public-transport

ch_search_connections

Search train connections in Switzerland using real-time data. Input origin, destination, date, and time to get departure details, platforms, and transfers via transport.opendata.ch API.

Instructions

Search for train connections in Switzerland between two stations. Uses transport.opendata.ch API to provide real-time connection data including departure times, duration, platforms, and transfers.

Input Schema

NameRequiredDescriptionDefault
dateNo
destinationYes
is_arrival_timeNo
limitNo
originYes
timeNo

Input Schema (JSON Schema)

{ "properties": { "date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Date" }, "destination": { "title": "Destination", "type": "string" }, "is_arrival_time": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "title": "Is Arrival Time" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 4, "title": "Limit" }, "origin": { "title": "Origin", "type": "string" }, "time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Time" } }, "required": [ "origin", "destination" ], "type": "object" }

Other Tools from mcp-server-public-transport

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mirodn/mcp-server-public-transport'

If you have feedback or need assistance with the MCP directory API, please join our Discord server