Deutsche Bahn Fahrplan
German train timetable with live delays: search stations, list departures and arrivals with real-time delay, track and cancellation status, and plan journeys between any two stations. Runs on MOTIS over the open gtfs.de timetable (ICE, IC, EC, regional trains, S-Bahn) — no bahn.de scraping, no API key.
7-day free trial · No credit card · EU-hosted
Ask Deutsche anything
Try a real prompt against Deutsche Bahn Fahrplan via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.
Install Deutsche on CloudClaude is AI and can make mistakes. Please double-check responses.
Setup in 2 minutes
- 1Start a free trial on cloud.anythingmcp.com.
- 2Click Deutsche Bahn Fahrplan in the connector store. Paste credentials when prompted.
- 3Mint an MCP API key and point your AI client at the generated MCP URL.
Guides for Deutsche
Step-by-step setup for the most popular AI clients.
Setting up Deutsche Bahn Fahrplan
From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.
This connector queries a MOTIS routing engine loaded with the open German train timetable (gtfs.de, all long-distance and regional trains incl. S-Bahn) and a live GTFS-RT feed for delays, platform changes and cancellations. AnythingMCP Cloud runs its own instance; self-hosters run the bundled motis service (deploy/motis/README.md) or point MOTIS_URL at any MOTIS. No API key.
Workflow
db_search_locationsturns a station name into a stopid(e.g.fv_384020). Ids change when the timetable is refreshed — resolve names in every session, never reuse ids from memory.db_get_departures/db_get_arrivalswith thatidfor a live board;db_get_stopfor the station's details.db_get_journeyswith two ids plans a trip (station to station; there is no street routing, so coordinates are not accepted).
Reading the fields
- Times are ISO 8601 in UTC (
2026-09-15T13:27:00Z). Germany is UTC+1 (winter) / UTC+2 (summer) — convert before quoting a time to the user. departure/arrivalare the live prediction,scheduledDeparture/scheduledArrivalthe timetable. Delay in minutes = live − scheduled.realTime: truemeans the row carries live data;falsemeans schedule only.cancelled: trueon a departure or leg means that stop or leg is cancelled;tripCancelledmeans the whole train is.trackis the live platform,scheduledTrackthe planned one; both may be absent for smaller stops.lineis the train name as printed on the board (ICE 43,RE 7,S1). The free gtfs.de feed reports every train as modeREGIONAL_RAIL; tell ICE/IC/EC from regional trains by thelineprefix, not by mode.
Boards: omit when for a board starting now; n is the number of rows (default 12, max 100). Big stations have many S-Bahn rows — raise n when looking for a specific long-distance train.
Journeys: time is the departure time unless arrive_by is true; omit for now. results caps the itineraries (default 4). Legs with mode: WALK are transfers.
Data: DELFI e.V. / gtfs.de (CC BY 4.0), GTFS-RT gtfs.de (CC BY-SA 4.0). Engine: MOTIS (MIT).
Your AI is two clicks away from Deutsche Bahn Fahrplan.
Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.