Install
openclaw skills install bahn-transitousSearch Deutsche Bahn train connections using the bahn-cli tool. Use when you need to find train connections between German stations, check departure times, or help with travel planning. Works with station names like "Berlin Hbf", "München", "Hannover".
openclaw skills install bahn-transitousSearch train connections using the bahn-cli tool.
The tool lives at ~/Code/bahn-cli/. If not installed:
mkdir -p ~/Code/bahn-cli && cd ~/Code/bahn-cli && npm init -y && npm install
Backend: Uses Transitous (MOTIS 2 API) since June 2026. DB HAFAS was permanently shut down in January 2025.
Search train connections:
cd ~/Code/bahn-cli && node index.js search "<from>" "<to>" [options]
--date YYYY-MM-DD - Departure date (default: today)--time HH:MM - Departure time (default: current time)--results <number> - Number of results to show (default: 5)Search connections from Hannover to Bonn:
cd ~/Code/bahn-cli && node index.js search "Hannover Hbf" "Bonn Hbf" --results 3
Search with specific date and time:
cd ~/Code/bahn-cli && node index.js search "Berlin" "München" --date 2026-02-05 --time 14:30
The tool shows: