Skip to content
TakoAPI
Back to skills

bvg-route

by jaysonsantos

Transportation
1.8kDownloads reported by clawskills.sh
1Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Route planning for Berlin public transport (BVG)

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

INPUT

User asks: How do I get from Invalidenstraße 43 to Leibnizstraße 62 by public transport?

AGENT
  1. 1

    Calls GET /locations to resolve both addresses into stop IDs or address objects

  2. 2

    Extracts base IBNR codes from stop results

  3. 3

    Calls GET /journeys with from, to, and results=3, stopovers=true

  4. 4

    Ranks top 2-3 options by travel time, transfers, and walking distance

  5. 5

    Returns step-by-step directions with departure times, line names, platforms, and estimated arrival

OUTPUT

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

Installation

clawhub install jaysonsantos/bvg-route

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links