跳到正文
TakoAPI
返回技能列表

mvg-cli

由 lars147 提供

Transportation
448下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

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

安装

clawhub install lars147/mvg-cli

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接