malkreide avatar

Swiss Transport Mcp

malkreide/swiss-transport-mcp

Connects Claude to Switzerland's public transport ecosystem through opentransportdata.swiss APIs. You get OJP 2.0 journey planning with transfers, real-time departures and delays, SIRI-SX disruption alerts, occupancy forecasts for major operators, ticket pricing across classes, and detailed train formation data showing coaches and amenities. The server handles protocol translation from XML/SOAP and REST/JSON into clean responses. Runs locally via stdio or deploys as Streamable HTTP for browser-based Claude. Ships with graceful degradation so core tools work with just an OJP key while advanced features like fares and formations unlock with additional subscriptions. Particularly well suited for travel planning queries that need live disruption awareness or detailed accessibility information.

GitHub stars
7
tools
11
transport
STDIO
last updated
Sep 26, 2026

Tools

11 tools

Public tool metadata for what this MCP can expose to an agent.

transport_search_stopSearch stops/stations by name

Search stops/stations by name

No parameter schema in public metadata yet.

transport_nearby_stopsFind nearby stops by coordinates

Find nearby stops by coordinates

No parameter schema in public metadata yet.

transport_departuresReal-time departure board with delays & platforms

Real-time departure board with delays & platforms

No parameter schema in public metadata yet.

transport_trip_planPlan journey A β†’ B with transfers, duration, mode

Plan journey A β†’ B with transfers, duration, mode

No parameter schema in public metadata yet.

transport_search_datasetsSearch open data catalogue (~90 datasets)

Search open data catalogue (~90 datasets)

No parameter schema in public metadata yet.

transport_get_datasetGet full details of a specific dataset

Get full details of a specific dataset

No parameter schema in public metadata yet.

get_transport_disruptionsLive disruptions, cancellations, line closures

Live disruptions, cancellations, line closures

No parameter schema in public metadata yet.

get_train_occupancyOccupancy forecast for specific trains

Occupancy forecast for specific trains

No parameter schema in public metadata yet.

get_ticket_priceTicket prices for connections

Ticket prices for connections

No parameter schema in public metadata yet.

get_train_compositionTrain formation, classes, accessibility

Train formation, classes, accessibility

No parameter schema in public metadata yet.

check_transport_api_statusHealth check for all configured APIs

Health check for all configured APIs

No parameter schema in public metadata yet.

Sponsors

Readme

πŸ‡¨πŸ‡­ Part of the Swiss Public Data MCP Portfolio

πŸš† swiss-transport-mcp

Version License: MIT Python 3.11+ MCP Data Source CI

MCP server connecting AI models to the Swiss public transport system – journey planning, real-time departures, disruptions, occupancy, ticket prices, train formations and open data from opentransportdata.swiss.

πŸ‡©πŸ‡ͺ Deutsche Version

Demo

Demo: Claude queries disruptions and departures


Overview


View the full README on GitHub

Details

Repository
github.com/malkreide/swiss-transport-mcp
Website
github.com/malkreide/swiss-transport-mcp
Package
swiss-transport-mcp
Transport
STDIO
Registry
MCP registry, active

More from malkreide