mvg-cli
lars147 제작
Transportation요약
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
Search for Pasing station using mvg search
- 2
Run mvg departures "Pasing" --type sbahn to see upcoming S-Bahn trains
- 3
Run mvg route "Pasing" "Flughafen" to get full journey details with times
- 4
Check --mode less-changes if user wants fewer transfers
- 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-cliCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.