Sbb Opendata MCP

🇨🇭 Part of the Swiss Public Data MCP Portfolio. Its 9 documented tools cover sbb, stations. It runs locally over stdio via the published package.

People who work with sbb and stations and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-01 · ★ 2 · #163 OF 278 MAINTAINED API INTEGRATION · VERIFIED 2026-09-18

MIT · Python servers · how we verify → /methodology

01 · Install Sbb Opendata MCP

before you install - you'll need

Set MCP_HOST, MCP_ALLOWED_HOSTS, MCP_ALLOWED_ORIGINS before connecting.

Claude Code

claude mcp add malkreide-sbb-opendata-mcp -- uvx sbb-opendata-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "malkreide-sbb-opendata-mcp": {
      "command": "uvx",
      "args": [
        "sbb-opendata-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package sbb-opendata-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.malkreide is GitHub-verified and matches the repo owner

03 · What Sbb Opendata MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can compare up to 10 stations (multi-dataset), search stops (Swiss DiDok register, all CH), and list all ~89 SBB open datasets.

The 9 tools it gives your agent

Extracted from the project's README - what sbb-opendata-mcp lets an agent do.

sbb_get_passenger_frequency
- Boardings/alightings by station and year (daily avg.)
sbb_get_rail_disruptions
- Live rail traffic messages
sbb_get_real_estate_projects
- SBB real estate development projects
sbb_get_trains_per_segment
- Train counts per route segment (SBB, BLS, SOB …)
sbb_get_platform_data
- Platform data (length, type, area)
sbb_get_rolling_stock
- Rolling stock (capacity, year built)
sbb_compare_stations
- Compare up to 10 stations (multi-dataset)
sbb_search_stations
- Search stops (Swiss DiDok register, all CH)
sbb_list_datasets
- List all ~89 SBB open datasets

Latest releases

v0.3.4 · 2026-07-31

[0.3.4] - 2026-07-31 · Geaendert · Der User-Agent traegt jetzt eine Version. Bisher sendete der Server · schlicht sbb-opendata-mcp - erkennbar, aber ohne Angabe, welcher Stand da · anfragt. Damit liess sich ein Problem…

v0.3.0 · 2026-06-06

sbb-opendata-mcp v0.3.0 · Erstveröffentlichung auf PyPI 🎉 - installierbar via pip install sbb-opendata-mcp und uvx sbb-opendata-mcp. · Added · PyPI-Publishing via GitHub Actions Trusted Publishing (OIDC, tokenlos).…

v0.2.0 · 2026-06-05

sbb-opendata-mcp v0.2.0 - Audit-Remediation & Hardening · Dieses Release schliesst die vollständige Remediation eines MCP-Sicherheits- und · Qualitäts-Audits ab (durchgeführt mit der mcp-audit-skill). · Alle 10…

04 · Who maintains Sbb Opendata MCP

sbb-opendata-mcp is maintained by malkreide. We track 43 MCP servers from malkreide - 42 actively maintained, 46 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from malkreide.

  1. fedlex-mcp Swiss federal law, consultations (Fedlex) & TERMDAT terminology (LINDAS) via SPARQL ★ 5
  2. zurich-opendata-mcp City of Zurich weather, air quality, parking, geodata, Gemeinderat, tourism ★ 8
  3. swisstopo-mcp Swiss federal geodata: geocoding, height, STAC, WMTS, OEREB and more ★ 9
  4. swiss-democracy-mcp Parliament OData, Swissvotes, referendums, voting results ★ 2
  5. swiss-transport-mcp OJP 2.0 journey planning, SIRI-SX disruptions, occupancy, fares, train formation ★ 8
  6. swiss-statistics-mcp BFS STAT-TAB PxWeb API for official Swiss statistics ★ 2

05 · Facts

category
API integration - ranked #163 of 278 actively-maintained API integration servers as of 2026-09-18.
release cadence
1 release in the last 90 days (latest 2026-07-31)
registry
io.github.malkreide/sbb-opendata-mcp (active, first published 2026-06-07 · 2 versions)
packages
pypi:sbb-opendata-mcp

06 · Sbb Opendata MCP FAQ

Is Sbb Opendata MCP still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-01 and it shipped 1 release in the last 90 days. We re-verify nightly.

What can Sbb Opendata MCP do?

With this server connected, an agent can compare up to 10 stations (multi-dataset), search stops (Swiss DiDok register, all CH), and list all ~89 SBB open datasets.

How do I install Sbb Opendata MCP?

Run `uvx sbb-opendata-mcp`. The README documents 3 environment variables (MCP_HOST, MCP_ALLOWED_HOSTS, MCP_ALLOWED_ORIGINS) to set first. Set MCP_HOST, MCP_ALLOWED_HOSTS, MCP_ALLOWED_ORIGINS before connecting. You can also paste the ready-made client config above.

Does Sbb Opendata MCP run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Sbb Opendata MCP

More API integration MCP servers · Qnap · Fr Eli MCP · Saos · Apimesh · DataJud (CNJ)

More Python MCP servers · Swiss Democracy MCP · Swiss Statistics MCP · Swiss Transport MCP · Swisstopo MCP · Zurich Opendata MCP · see all