bvg-route
di jaysonsantos
TransportationSintesi
Route planning for Berlin public transport (BVG)
Descrizione
Cosa fa questa skill
Provides public transport directions in Berlin using the v6.bvg.transport.rest API. Handles route planning between stops or addresses, next-departure lookups, and arrive-by or depart-at journey queries. Returns ranked options with step-by-step instructions and real-time refresh tokens.
Uses BVG's official REST API directly, so results reflect real-time schedules and live delays rather than static timetable data.
Quando usarla
- Getting from a Berlin address to a specific U-Bahn station
- Checking next departures from a nearby stop
- Planning a journey that arrives by a set time
- Comparing route options by transfers vs walking time
- Getting live delay updates for an in-progress trip
Esempio di workflow
User asks: How do I get from Invalidenstraße 43 to Leibnizstraße 62 by public transport?
- 1
Calls GET /locations to resolve both addresses into stop IDs or address objects
- 2
Extracts base IBNR codes from stop results
- 3
Calls GET /journeys with from, to, and results=3, stopovers=true
- 4
Ranks top 2-3 options by travel time, transfers, and walking distance
- 5
Returns step-by-step directions with departure times, line names, platforms, and estimated arrival
Three journey options listed with total time, transfer count, and walking time; the fastest option shown with full step-by-step instructions and a refreshToken for live updates
Installazione
clawhub install jaysonsantos/bvg-routeEsegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.