Swiss Transport MCP server
OJP 2.0 journey planning, SIRI-SX disruptions, occupancy, fares, train formation
not scanned yet
8 stars21 downloads/wk
Reviews
Write oneNobody has reviewed Swiss Transport yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Swiss Transport tools
No tool declarations could be read from the package source. They show once the server is installed.
How Swiss Transport compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 77/100
- higher than 50% of 48,255 servers
- GitHub stars
- 8
- more than 86% of 28,688 servers
- Downloads a week
- 21
- more than 8% of 12,191 servers with a package
Release history: 2 versions in the registry since 2026-07-31, latest 2026-09-26, typically one every 57 days.
Install Swiss Transport in Claude Code, Cursor or VS Code
claude mcp add swiss-transport-mcp -- uvx swiss-transport-mcp
What the publisher says
From the Swiss Transport repository's README, as published. We do not edit it. Read it on GitHub
🇨🇭 Part of the Swiss Public Data MCP Portfolio
🚆 swiss-transport-mcp
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
Overview
swiss-transport-mcp gives AI assistants like Claude a complete Swiss travel information system – not just timetables, but also real-time disruption alerts, occupancy forecasts, ticket prices, and a full train formation view. All accessible through a single, standardised MCP interface.
The various APIs at opentransportdata.swiss speak different protocols – OJP 2.0 (XML/SOAP), SIRI-SX (XML), REST/JSON. This server translates everything into clean JSON for the AI model, acting as a multilingual protocol interpreter.
Anchor demo query: "Plan a school trip for 25 students from Zurich to the Technorama in Winterthur – check for disruptions and find the best departure." → More use cases by audience →
Features
- 🗺️ Journey planning (A → B with transfers, duration, transport mode) via OJP 2.0
- 🕐 Real-time departures with delays and platform information
- 🔍 Stop search by name or coordinates
- 🚨 Live disruption alerts (cancellations, closures) via SIRI-SX
- 📊 Occupancy forecasts for trains (SBB, BLS, Thurbo, SOB)
- 💰 Ticket prices including class selection
- 🚃 Train formation – coaches, classes, amenities, accessibility
- 📦 Open data catalogue – ~90 transport datasets via CKAN
- 🔑 Graceful degradation – server starts with core tools even without optional API keys
- ☁️ Dual transport – stdio for Claude Desktop, Streamable HTTP/SSE for cloud deployment
Prerequisites
- Python 3.11+
- A free API key from api-manager.opentransportdata.swiss (subscribe to OJP 2.0 as minimum)
- Optional: additional keys for SIRI-SX, Occupancy, Formation, OJP Fare
Installation
# Clone the repository
git clone https://github.com/malkreide/swiss-transport-mcp.git
cd swiss-transport-mcp
# Install
pip install -e .Or with uvx (no permanent installation):
uvx swiss-transport-mcpQuickstart
# Set the minimum required key (OJP core tools)
export TRANSPORT_API_KEY=your_key_here
# Start the server (stdio mode for Claude Desktop)
swiss-transport-mcpTry it immediately in Claude Desktop:
"What are the next departures from Zurich Stadelhofen?"
"How do I get from Wädenswil to Bern by train?"
Configuration
Environment Variables
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Swiss Transport: common questions
- Is Swiss Transport MCP server safe?
- Mostly: it is graded B (77/100). Read the Swiss Transport safety report
- How do I install Swiss Transport?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Swiss Transport need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Swiss Transport maintained?
- The last commit was 41 days ago (2026-09-23). The latest release is v0.5.0.
- How does Swiss Transport compare with other MCP servers?
- safety score 77/100 (higher than 50% of 48,255 servers); github stars 8 (more than 86% of 28,688 servers); downloads a week 21 (more than 8% of 12,191 servers with a package). Full comparison.