search_connections takes station names directly, so an assistant does not have to resolve identifiers before answering a simple question. get_prices takes several journeys in one call and applies the half-fare or travelcard discount, which is the number a Swiss traveller actually cares about, and get_ticket_link then makes the answer purchasable rather than merely quotable.
A thin MCP client for SwissTrip's hosted service, which fronts Swiss Federal Railways data. It answers timetable questions, prices the journey with your discounts applied, and hands back a link to buy the ticket.
- search_connections — trains between two Swiss stations by name or station ID, with live departure and arrival times, duration and changes
- search_stations — resolve a station, address or point of interest to the station ID the other tools use
- get_trip_details — every intermediate stop, platform and occupancy for one connection
- get_more_connections — earlier or later trains for a search you already ran
- get_prices — fares in Swiss francs for several connections at once, with half-fare and travelcard discounts applied
- get_ticket_link — a direct purchase link, which opens in the railway's own app on a phone with the discounts carried across
Node. The rail data comes from SwissTrip's hosted endpoint, so no account is needed for timetables or prices. An account token is only needed for multi-traveller family pricing. Clients that speak streamable HTTP can connect to the hosted endpoint directly with no install at all.
One command — npx -y swisstrip-mcp
