Rhein-Ruhr Fahrplan MCP
v1.2.2Public transit data for the Rhein-Ruhr region: live departures, trips, disruptions, GTFS schedules.
Values you need
| Variable | What it is | |
|---|---|---|
FAHRPLAN_AGENCY_IDS | optional | 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_OPERATOR | optional | Optional: filter live departures/arrivals by operator code (e.g. 'NIAG'). Empty = all operators. |
FAHRPLAN_DEFAULT_START | optional | 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.2Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: find_stop, get_default_start, next_departures, next_arrivals, stop_schedule, plan_connection, line_disruptions, sync_status, ….
- 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