Swiss Public Transport MCP server
io.github.tpjnorton/swiss-public-transport-mcp·v0.1.10·1 starsSwiss public transport — journey planning, live stationboards, delays, and SBB ticket links.
1 stars24 downloads/wk
Reviews
Write oneNobody has reviewed Swiss Public Transport yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Swiss Public Transport tools (4)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_booking_linkGet a direct link to buy tickets on sbb.ch for a specific journey.
get_stationboardCheck what's departing or arriving at a Swiss station right now.
plan_journeyPlan a journey through Switzerland by train, bus, tram, boat, or cableway.
search_locationsFind Swiss train stations, bus stops, and other transport locations.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan14 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 136 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Swiss Public Transport compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,255 servers
- Tools
- 4
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 24
- more than 10% of 12,191 servers with a package
What its tools let an agent do: 4 read
Install Swiss Public Transport in Claude Code, Cursor or VS Code
claude mcp add swiss-public-transport-mcp -- uvx swiss-public-transport-mcp
What the publisher says
From the Swiss Public Transport repository's README, as published. We do not edit it. Read it on GitHub
swiss-public-transport-mcp
MCP server for Swiss public transport — connections, stationboards, real-time delays, and direct booking links for SBB.
Wraps transport.opendata.ch — free, no API key, no signup. Covers the full Swiss network (SBB, Postauto, regional, trams, buses, ships, cableways).
Why this server
- Zero config. Install and go — no account, no token, no env vars.
- Booking links. Returns deep links into SBB.ch so the user can buy a ticket in one click.
- Disambiguation built in. Ambiguous station names return candidates instead of failing silently.
- Compact, model-friendly output. Formatted text designed for LLM context windows, not raw JSON dumps.
Tools
Install
No install needed — run directly with uvx:
uvx swiss-public-transport-mcpClaude Desktop
Add to claudedesktopconfig.json:
{
"mcpServers": {
"swiss-public-transport": {
"command": "uvx",
"args": ["swiss-public-transport-mcp"]
}
}
}Config file location:
- macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
- Windows: %APPDATA%\Claude\claudedesktopconfig.json
Development
git clone https://github.com/tpjnorton/swiss-public-transport-mcp.git
cd swiss-public-transport-mcp
uv sync
uv run swiss-public-transport-mcpRelated project
If you need official opentransportdata.swiss data — SIRI-SX disruption alerts, occupancy forecasts, OJP Fare ticket prices, train formation — see malkreide/swiss-transport-mcp. It exposes ~11 tools across the official OJP 2.0 / SIRI / CKAN APIs and requires a (free) API key from the opentransportdata.swiss API Manager.
The two servers cover overlapping but distinct use cases — you can install both side by side.
<!-- mcp-name: io.github.tpjnorton/swiss-public-transport-mcp -->
Nothing above is checked by us. What we check is on the safety report.
Swiss Public Transport: common questions
- Is Swiss Public Transport MCP server safe?
- Mostly: it is graded B (82/100). Read the Swiss Public Transport safety report
- How do I install Swiss Public Transport?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Swiss Public 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 Public Transport maintained?
- The last commit was 173 days ago (2026-05-15). The latest release is v0.1.10.
- How does Swiss Public Transport compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,255 servers); tools 4 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.