Connector guide2-minute read4 MCP toolsEN · DE · IT

Deutsche Bahn Timetables API to MCP — Drive Deutsche Bahn Timetables API from any AI Agent

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.

HCBy HelpCode teamUpdated 2 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

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.

tools

4

Region

DE

Category

Transport

Authentication

API Key

Required env vars

DB_CLIENT_IDDB_API_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Deutsche Bahn Timetables API in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

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.

Try asking

Example prompts for Deutsche Bahn Timetables API

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Deutsche Bahn Timetables API · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Deutsche Bahn Timetables API, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

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.

Setup

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.

…(continued in the in-app connector instructions)

Prerequisites: DB_CLIENT_ID, DB_API_KEY

Install the connector locally

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Open http://localhost:3000/connectors/store, pick Deutsche Bahn Timetables API and paste in the env vars listed under Prerequisites.

Available tools

ToolWhat it does
dbt_search_stationsFind Deutsche Bahn stations by name prefix, DS100 code or EVA number
dbt_get_station_boardPlanned timetable of a station for one hour: every train with id (match it against dbt_get_changes), category (ICE, IC, EC, RE, RB, S …)
dbt_get_changesAll currently known changes at a station, straight from Deutsche Bahn (refreshed every 30 s): per train id (matches dbt_get_station_board)
dbt_get_recent_changesChanges at a station from the last two minutes only — the same shape as dbt_get_changes, for polling a station you are watching without re-r

Next steps

Was this guide helpful?

Your Deutsche Bahn Timetables API agent is one click away.

Install the connector, paste the key, prompt any MCP client. Free for 7 days, no credit card.

Related guides

DB
connectors

How to Connect Deutsche Bahn Timetables API to ChatGPT — via MCP

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.

DB
connectors

How to Connect Deutsche Bahn Timetables API to Claude — via MCP

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.

connectors

Deutsche Bahn Fahrplan to MCP — Drive Deutsche Bahn Fahrplan from any AI Agent

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.

GR
connectors

Georgian Railway MCP Server — Train Times, Seats and Fares for AI Agents

Search Georgian Railway trains from any AI agent via MCP. Stations, timetables, live seat availability and fares in GEL. Free adapter in AnythingMCP — no account, no API key.

connectors

How to Turn Amazon Seller Central into an MCP Server (SP-API)

Connect Amazon Seller Central to any AI agent via MCP. Query orders, FBA inventory, buy-box offers, fees and reports through the official Selling Partner API — no AWS keys, no code.

connectors

How to Connect Billbee to MCP for AI Agents

Manage orders, products, customers and shipments with AI agents via MCP. Billbee is the leading German/DACH multichannel order management (Warenwirtschaft) platform used by 20,000+ online retailers.