Mic92

db-cli

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

Mic92 22 4 Updated 4mo ago
GitHub

Install

npx skillscat add mic92/mics-skills/db-cli

Install via the SkillsCat registry.

SKILL.md

Usage

# Basic search (uses current time)
db-cli "Berlin Hbf" "München Hbf"

# Search with specific departure time
db-cli -d "2025-01-15T14:30" "Frankfurt" "Hamburg"

# Search with arrival time
db-cli -a "2025-01-15T18:00" "Köln" "Stuttgart"

Output Format

Results show connections with:

  • Departure/arrival times
  • Duration
  • Number of transfers
  • Train types (ICE, IC, RE, etc.)
  • Platform information

See README.md for full documentation.