Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

mvg-cli

bởi lars147

Transportation
448Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Munich public transport (MVG) CLI and S-Bahn live tracking.

Mô tả

Kỹ năng này làm gì

Command-line tool for Munich public transport (MVG). Queries departures, plans routes, finds nearby stations, shows service alerts, and tracks S-Bahn trains in real time using the unofficial MVG API and geOps WebSocket feed. No authentication required for most features.

Gives terminal-based access to live Munich transit data without a browser or app, and supports JSON output for piping into other tools.

Khi nào nên dùng

  • Check next U-Bahn departures from Marienplatz before leaving home
  • Plan a route from a street address to the airport with least transfers
  • Find which S-Bahn stations are within walking distance of current coordinates
  • Get real-time S-Bahn positions for the S3 line during delays
  • Pull service alerts for a specific station as JSON for scripting

Quy trình ví dụ

ĐẦU VÀO

User asks: When is the next S8 from Pasing to the airport?

AGENT
  1. 1

    Search for Pasing station using mvg search

  2. 2

    Run mvg departures "Pasing" --type sbahn to see upcoming S-Bahn trains

  3. 3

    Run mvg route "Pasing" "Flughafen" to get full journey details with times

  4. 4

    Check --mode less-changes if user wants fewer transfers

  5. 5

    Return departure time, platform, and estimated arrival

ĐẦU RA

Next S8 from Pasing departs at 14:23, arrives Flughafen München at 14:58, no changes required.

Yêu cầu

  • node and ws npm module (for S-Bahn live tracking only)

Cài đặt

clawhub install lars147/mvg-cli

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết