1. Conduid
  2. Other
  3. Swiss Public Transport
MCP server · Other

Swiss Public Transport

Swiss public transport — journey planning, live stationboards, delays, and SBB ticket links.

Unclaimed other
37Low

Scored 6 months ago · breakdown

About Swiss Public Transport

Swiss Public Transport is an MCP server in the Other category: swiss public transport — journey planning, live stationboards, delays, and SBB ticket links.

Install

uvx
uvx swiss-public-transport-mcp
pip
pip install swiss-public-transport-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (4)

get_booking_linkBuild an SBB.ch URL for a journey so the user can buy a ticket

Parameters not published.

get_stationboardLive departures or arrivals from any stop

Parameters not published.

plan_journeyPlan A → B with via, transport-type filters, arrival-time mode

Parameters not published.

search_locationsResolve a station/stop/POI by name or coordinates

Parameters not published.

Ask AI

✦

Ask AI about Swiss Public Transport

Powered by Claude · Grounded in docs

I know everything about Swiss Public Transport. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

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

Tool Purpose
search_locations Resolve a station/stop/POI by name or coordinates
plan_journey Plan A → B with via, transport-type filters, arrival-time mode
get_stationboard Live departures or arrivals from any stop
get_booking_link Build an SBB.ch URL for a journey so the user can buy a ticket

Install

No install needed — run directly with uvx:

uvx swiss-public-transport-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "swiss-public-transport": {
      "command": "uvx",
      "args": ["swiss-public-transport-mcp"]
    }
  }
}

Config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.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-mcp

Related 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.

this server malkreide/swiss-transport-mcp
Data source transport.opendata.ch opentransportdata.swiss (official)
API key none required (free signup)
Tools 4 (journey planning + booking links) 11 (planning + disruptions + occupancy + fares + formation)
Setup one command per-API key configuration
Best for quick journey planning, fast LLM responses, ticket purchase flow rich operational data, official feeds

The two servers cover overlapping but distinct use cases — you can install both side by side.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Swiss Public Transport

How do I install Swiss Public Transport?

Run uvx swiss-public-transport-mcp, then add the server to your MCP client's configuration.

Is Swiss Public Transport safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Swiss Public Transport still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.