# DB CLI

> Search Deutsche Bahn train connections. Use for train routes, schedules, and travel times in Germany.

- Skill: `mic92/db-cli` (Agent Skill)
- Install (CLI): `npx get-skill add mic92/db-cli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mic92/db-cli/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Mic92 (https://skillmd.com/u/mic92)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/mic92/db-cli

---


Station names are fuzzy-matched.

```bash
db-cli "Berlin Hbf" "München Hbf"                  # depart now
db-cli -d "2026-04-10T14:30" Frankfurt Hamburg     # ISO departure
db-cli -d "in 30 minutes" Hamburg Frankfurt        # relative
db-cli -a "by 18:00" Köln Stuttgart                # arrive by (rolls to tomorrow if past)
db-cli -t Berlin München                           # Deutschlandticket only (no ICE/IC/EC)
db-cli -r 5 Berlin München                         # show 5 results (default 3)
```

Output: per-journey departure → arrival, duration, transfer count, per-leg train type and platforms. Ends with a pre-filled bahn.de booking URL.

