{
  "markdown": "# swiss-public-transport-mcp\n\nMCP server for Swiss public transport — connections, stationboards, real-time delays, and direct booking links for SBB.\n\nWraps [transport.opendata.ch](https://transport.opendata.ch) — **free, no API key, no signup**. Covers the full Swiss network (SBB, Postauto, regional, trams, buses, ships, cableways).\n\n## Why this server\n\n- **Zero config.** Install and go — no account, no token, no env vars.\n- **Booking links.** Returns deep links into SBB.ch so the user can buy a ticket in one click.\n- **Disambiguation built in.** Ambiguous station names return candidates instead of failing silently.\n- **Compact, model-friendly output.** Formatted text designed for LLM context windows, not raw JSON dumps.\n\n## Tools\n\n| Tool | Purpose |\n|---|---|\n| `search_locations` | Resolve a station/stop/POI by name or coordinates |\n| `plan_journey` | Plan A → B with via, transport-type filters, arrival-time mode |\n| `get_stationboard` | Live departures or arrivals from any stop |\n| `get_booking_link` | Build an SBB.ch URL for a journey so the user can buy a ticket |\n\n## Install\n\nNo install needed — run directly with [`uvx`](https://docs.astral.sh/uv/):\n\n```bash\nuvx swiss-public-transport-mcp\n```\n\n### Claude Desktop\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"swiss-public-transport\": {\n      \"command\": \"uvx\",\n      \"args\": [\"swiss-public-transport-mcp\"]\n    }\n  }\n}\n```\n\nConfig file location:\n\n- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- Windows: `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n### Development\n\n```bash\ngit clone https://github.com/tpjnorton/swiss-public-transport-mcp.git\ncd swiss-public-transport-mcp\nuv sync\nuv run swiss-public-transport-mcp\n```\n\n## Related project\n\nIf you need official `opentransportdata.swiss` data — SIRI-SX disruption alerts, occupancy forecasts, OJP Fare ticket prices, train formation — see [malkreide/swiss-transport-mcp](https://github.com/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.\n\n| | this server | malkreide/swiss-transport-mcp |\n|---|---|---|\n| Data source | transport.opendata.ch | opentransportdata.swiss (official) |\n| API key | none | required (free signup) |\n| Tools | 4 (journey planning + booking links) | 11 (planning + disruptions + occupancy + fares + formation) |\n| Setup | one command | per-API key configuration |\n| Best for | quick journey planning, fast LLM responses, ticket purchase flow | rich operational data, official feeds |\n\nThe two servers cover overlapping but distinct use cases — you can install both side by side.\n\n<!-- mcp-name: io.github.tpjnorton/swiss-public-transport-mcp -->\n",
  "bytes": 2777,
  "sha": "a70a761958c44b20b10fe94592e6f073a48597cef12cdc6604c47887ee8f4c1e",
  "repo_slug": "tpjnorton/swiss-public-transport-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_tpjnorton_swiss_public_transpo_ff8b8a9f/readme"
}