Connector guide2-minute read4 MCP toolsEN · DE · IT

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.

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 + Claude

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.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

DB_CLIENT_ID, DB_API_KEY

Step 1 — Get credentials

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)

Step 2 — Install the adapter

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

Step 3 — Add the connector in Claude

Recommended path — works on claude.ai web without editing any config file.

  1. Open claude.ai/customize/connectors.
  2. Click "Add custom connector".
  3. Fill in:
    • Name: Deutsche Bahn Timetables API
    • URL: https://cloud.anythingmcp.com/mcp
    • Authentication: Bearer token → paste your MCP API key (from AnythingMCP → Profile → MCP API Keys → New Key)
  4. Click Connect to authorize.

All tools below appear in your chat — start typing prompts.

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

FAQ

Does it work with Claude Code as well as Claude Desktop? Yes — point both at https://cloud.anythingmcp.com/mcp.

Next steps

Was this guide helpful?

Your Deutsche Bahn Timetables API agent is one click away.

Install the connector, paste the key, prompt Claude. 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

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.

connectors

How to Connect Deutsche Bahn Fahrplan to Claude — via MCP

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

How to Connect Georgian Railway to Claude — via MCP

Search Georgian Railway trains from Claude via MCP: stations, timetables, live seat availability and fares in GEL. No account and no API key needed.

connectors

How to Connect Amazon Seller Central to Claude — via MCP

Let Claude query your Amazon Seller account through the official SP-API: orders, FBA inventory, buy-box offers, fees and reports. 15 tools, LWA OAuth2, no AWS keys.

connectors

How to Connect Billbee to Claude for AI Order Management

Connect Billbee to Claude using MCP. Query your data with natural language — no custom integration required. Step-by-step setup guide.