Skip to content
Business
Skill

/deutsche-bahn

Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium). Use for ICE/IC/regional rail planning and airport ground transport (FRA, MUC).

From plugin
travel-hacker
1k48 skills1 agent7 MCP

Claude Code

$ npx -y skills add borski/travel-hacking-toolkit --skill deutsche-bahn --agent claude-code

SKILL.md

deutsche-bahn.SKILL.md
name: deutsche-bahn
description: Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium). Use for ICE/IC/regional rail planning and airport ground transport (FRA, MUC).
category: destinations
summary: Deutsche Bahn (DB) train search across Germany and into AT/CH/NL/FR/BE via the open-source db-vendo-client. Stations, journeys, departure boards. No API key. Pairs with scandinavia-transit for Europe-wide rail coverage.
license: MIT

Deutsche Bahn Skill

Search German train schedules and plan journeys using the `db-vendo-client` library (open-source client for bahn.de APIs).

**No API key required.** No Docker. Just Node.js.

**Source:** [db-vendo-client](https://github.com/public-transport/db-vendo-client) — wraps bahn.de's internal APIs.

Setup

cd skills/deutsche-bahn && npm install

Commands

Station Search

Find station IDs by name:

node skills/deutsche-bahn/scripts/search_trains.mjs stations "Frankfurt Flughafen"

Journey Planning

Search train routes between two stations (by ID or name):

# By station ID
node skills/deutsche-bahn/scripts/search_trains.mjs journeys 8070003 8000376 --date 2026-05-05 --time 10:00 --results 5

# By station name (auto-resolves to ID)
node skills/deutsche-bahn/scripts/search_trains.mjs journeys "Frankfurt Airport" "Germersheim" --date 2026-05-05
node skills/deutsche-bahn/scripts/search_trains.mjs journeys "Amsterdam Centraal" "Mannheim Hbf" --date 2026-05-15 --time 09:00
node skills/deutsche-bahn/scripts/search_trains.mjs journeys "Paris Est" "Mannheim" --date 2026-05-05

Departure Board

Check upcoming departures from any station:

node skills/deutsche-bahn/scripts/search_trains.mjs departures "Mannheim Hbf" --results 10
node skills/deutsche-bahn/scripts/search_trains.mjs departures 8070003 --date 2026-05-05 --time 14:00

Key Station IDs

German Airports

| Airport | Station ID | Station Name | Notes | |---------|-----------|--------------|-------| | Frankfurt (FRA) | `8070003` | Frankfurt(M) Flughafen Fernbf | Long-distance (ICE/TGV) | | Frankfurt (FRA) | `8070004` | Frankfurt(M) Flughafen Regionalbf | Regional trains | | Munich (MUC) | `8004154` | München Flughafen Terminal | S-Bahn to München Hbf | | Düsseldorf (DUS) | `8001585` | Düsseldorf Flughafen | S-Bahn + RE | | Cologne/Bonn (CGN) | `8003330` | Köln/Bonn Flughafen | ICE station | | Berlin (BER) | `8089021` | Flughafen BER Terminal 1-2 | FEX + RE + S-Bahn | | Stuttgart (STR) | `8005773` | Flughafen/Messe | S-Bahn to Stuttgart Hbf | | Hamburg (HAM) | `8002549` | Hamburg Airport | S-Bahn |

Major Stations

| City | Station ID | Name | |------|-----------|------| | Frankfurt Hbf | `8000105` | Frankfurt(Main)Hbf | | Mannheim Hbf | `8000244` | Mannheim Hbf | | Germersheim | `8000376` | Germersheim | | Karlsruhe Hbf | `8000191` | Karlsruhe Hbf | | Stuttgart Hbf | `8000096` | Stuttgart Hbf | | München Hbf | `8000261` | München Hbf | | Berlin Hbf | `8011160` | Berlin Hbf | | Köln Hbf | `8000207` | Köln Hbf | | Düsseldorf Hbf | `8000085` | Düsseldorf Hbf | | Hamburg Hbf | `8002549` | Hamburg Hbf | | Heidelberg Hbf | `8000156` | Heidelberg Hbf | | Speyer Hbf | `8000076` | Speyer Hbf |

International Stations (reachable by DB trains)

| City | Station ID | Name | Train from Germany | |------|-----------|------|-------------------| | Amsterdam Centraal | `8400058` | Amsterdam Centraal | ICE from Frankfurt ~4h | | Paris Est | `8700011` | Paris Est | TGV/ICE from Frankfurt ~4h | | Zürich HB | `8503000` | Zürich HB | ICE from Frankfurt ~4h | | Basel SBB | `8500010` | Basel SBB | ICE from Mannheim ~2.5h | | Strasbourg | `8700018` | Strasbourg | TGV/RE from Karlsruhe ~40min | | Brussels Midi | `8814001` | Bruxelles-Midi/Brussel-Zuid | ICE from Frankfurt ~3.5h | | Wien Hbf | `8100003` | Wien Hbf | ICE from München ~4h | | Praha hl.n. | `5400014` | Praha hlavní nádraží | EC from München/Berlin |

Common Airport-to-Germersheim Routes

| From Airport | Route | Typical Duration | Transfers | |-------------|-------|-----------------|-----------| | **Frankfurt (FRA)** | ICE → Mannheim → S3 Germersheim | **78–105 min** | 1 | | Stuttgart (STR) | S-Bahn → Stuttgart Hbf → ICE Mannheim → S3 | ~2h 30m | 2 | | Munich (MUC) | S-Bahn → München Hbf → ICE Mannheim → S3 | ~3h 45m | 2 | | Paris CDG | RER → Paris Est → TGV Mannheim → S3 | ~4h 30m | 2-3 | | Amsterdam (AMS) | Train → Amsterdam CS → ICE Mannheim → S3 | ~5h | 2 | | Zürich (ZRH) | Train → Zürich HB → ICE Mannheim → S3 | ~4h | 2 |

Parameters

| Param | Flag | Default | Description | |-------|------|---------|-------------| | Date | `--date` | Today | YYYY-MM-DD format | | Time | `--time` | 08:00 | HH:MM, departure time | | Results | `--results` | 5 (journeys), 10 (departures) | Number of results |

Coverage

  • **All German trains:** ICE, IC/EC, RE, RB, S-Bahn
  • **International:** ICE to AMS/Brussels/Paris/Zürich/Wien, TGV to Paris, Eurostar connections
  • **Local transit:** S-Bahn, U-Bahn, trams, buses (if DB data includes them)

Limitations

  • **No pricing.** DB does not expose ticket prices via API. For fares, check bahn.de directly or use the Trainline API.
  • **Rate limits.** DB's backend enforces low rate limits. Keep queries reasonable (a few per minute, not hundreds).
  • **Schedule data only.** Real-time delays are shown when available, but historical data is not retained.
  • **Future schedules.** DB typically publishes schedules ~6 months out. Dates beyond that may return no results.

When to Use

Load this skill when:

  • Planning train connections from a European gateway airport to a destination in Germany
  • Checking ICE/TGV schedules between major cities
  • Finding last-mile S-Bahn/regional connections (e.g., Mannheim → Germersheim)
  • Comparing train travel time from different airports to decide which to fly into
  • Looking up departure boards at a station

D

Read more
@borski
Ships withtravel-hacker

AI-powered travel hacking with points, miles, and award flights. Drop-in skills and MCP servers for OpenCode, Claude Code, and Codex. Ask your AI to find you a 60,000-mile business class flight to Tokyo.

1k48 skills1 agent7 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.0k
Star history of borski/travel-hacking-toolkit on GitHub, a chart by star-history.com

Other skills on travel-hacker.

alliances

alliances

Airline alliance membership (Star Alliance, oneworld, SkyTeam) and cross-alliance booking relationships. Maps which loyalty…

american-airlines

american-airlines

Check American Airlines AAdvantage balance, elite status, and loyalty points via Patchright. Handles email 2FA with 6-box code…

amex-travel

amex-travel

Search Amex travel portal for cash prices, MR points pricing, IAP discounts, and FHR/THC hotel benefits via Patchright. Use when…

atlas-obscura

atlas-obscura

Search Atlas Obscura for weird, wonderful, and hidden gem places near any destination. Find the interesting stuff, not boring…

award-calendar

award-calendar

Find the cheapest award dates for a route over a date range. Searches seats.aero across all programs, groups by date, and shows a…

award-holds

award-holds

Per-program rules for placing award flights on hold before transferring points. Covers programs with holds (AA, Lufthansa, Flying…

More skills from other plugins.

opc-asset-ops

opc-asset-ops

Turn repeatable outputs of a one-person company into compounding assets. Use when Codex needs to explain asset-compounding…

@easychen@easychenInstall Skill
dbs

dbs

dontbesilent 商业工具箱的技能调度台,根据当前问题和反馈选择下一步,在对话中直接执行、澄清、组合或对照尝试 Skill。用户不知道从哪里开始、需要调整处理方法、第一次使用…

dbs2w11k
@dontbesilent2025@dontbesilent2025Install Skill

Questions about deutsche-bahn.

Which coding agents can use deutsche-bahn?
deutsche-bahn installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.