Deutsche Bahn Timetables API
Deutsche Bahn's official station-board API (DB API Marketplace, CC BY 4.0): find stations by name or EVA number, read the planned hourly timetable of any station, and pull the live change feed — delays, platform changes, cancellations and disruption messages — straight from DB. Free key, 60 requests per minute. Boards only; use the Deutsche Bahn Fahrplan connector for journey planning.
7 天免费 · 无需信用卡 · EU 托管
问 Deutsche 任何事
通过 AnythingMCP 对 Deutsche Bahn Timetables API 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 DeutscheClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 Deutsche Bahn Timetables API。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 Deutsche Bahn Timetables API
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
This connector calls Deutsche Bahn's official Timetables API v1 on the DB API Marketplace. It is the source of truth for what is happening at a station right now, published by DB itself (CC BY 4.0). It does not plan journeys — pair it with the Deutsche Bahn Fahrplan connector for that.
Getting a key: create a free account at https://developers.deutschebahn.com, create an application, subscribe it to the Timetables API (free plan, 60 requests/minute) and copy the application's Client ID and API Key into DB_CLIENT_ID / DB_API_KEY.
Workflow
dbt_search_stationsresolves a name (prefix), a DS100 code or an EVA number to the station'seva(e.g.8000107= Freiburg(Breisgau) Hbf,8011160= Berlin Hbf,8000105= Frankfurt(Main)Hbf,8000261= München Hbf). Umlauts in a prefix are unreliable — search 'Munchen' or 'Muenchen' as well as 'München'.dbt_get_station_boardreturns the planned timetable of one hour: every train with itsid, category (ICE,RE,S…), number, planned arrival/departure time and platform, and the route (from/toare the stop lists as|-separated strings).dbt_get_changesreturns all known changes for the station (updated every 30 s): per trainid, the changed time (ct), changed platform (cp), status (cs:c= cancelled,a= added) and messages.dbt_get_recent_changesis the same feed limited to the last two minutes — poll it instead of the full feed when watching a station.- Match the
idfrom the plan with theidin the changes; delay in minutes = changed time − planned time.
Times are yyMMddHHmm in local German time (2609151427 = 15 Sep 2026, 14:27). The plan is sliced by hour: date is yyMMdd, hour is HH (00–23), both of the current local time in Germany.
Changes without a matching plan entry are trains that stop at the station in another hour; fetch that hour's plan if they matter.
Limits: 60 requests per minute on the free plan. Attribution: Deutsche Bahn AG, Timetables API, CC BY 4.0.
你的 AI 距离 Deutsche Bahn Timetables API 仅两次点击。
安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。