Rhein-Ruhr Fahrplan MCP

v1.2.2
io.github.MarcProe/rhein-ruhr-fahrplan-mcp Checked 3 days ago Published 2 months ago

Public transit data for the Rhein-Ruhr region: live departures, trips, disruptions, GTFS schedules.

Values you need

VariableWhat it is
FAHRPLAN_AGENCY_IDSoptional Comma-separated GTFS agency IDs to enable the schedule database (e.g. 'nia-25'). Without it the server runs live-only; schedule tools return a configuration hint. An unfiltered import would create a ~500 MB database and is intentionally not the default.
FAHRPLAN_OPERATORoptional Optional: filter live departures/arrivals by operator code (e.g. 'NIAG'). Empty = all operators.
FAHRPLAN_DEFAULT_STARToptional Optional: default start stop (DHID like 'de:05154:35739', EFA ID or unique name), available via the get_default_start tool.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add rhein-ruhr-fahrplan-mcp -- uvx rhein-ruhr-fahrplan-mcp==1.2.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "rhein-ruhr-fahrplan-mcp": {
      "args": [
        "rhein-ruhr-fahrplan-mcp==1.2.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "rhein-ruhr-fahrplan-mcp": {
      "args": [
        "rhein-ruhr-fahrplan-mcp==1.2.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "rhein-ruhr-fahrplan-mcp": {
      "args": [
        "rhein-ruhr-fahrplan-mcp==1.2.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.rhein-ruhr-fahrplan-mcp]
command = "uvx"
args = ["rhein-ruhr-fahrplan-mcp==1.2.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: find_stop, get_default_start, next_departures, next_arrivals, stop_schedule, plan_connection, line_disruptions, sync_status, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json