MCP Server for Munich MVG transit API - Query U-Bahn, S-Bahn, Tram, Bus departures
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mcp-mvg","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# MCP MVG - Munich Transit MCP Server 🚇 An MCP (Model Context Protocol) server that provides access to Munich's MVG (Münchner Verkehrsgesellschaft) public transit API. ## Features - 🔍 **Search stations** - Find U-Bahn, S-Bahn, Tram, and Bus stops by name - 🚇 **Real-time departures** - Get upcoming departures from any station - 🗺️ **Nearby stops** - Find transit stops near GPS coordinates - 📋 **Line information** - Browse all MVG transit lines - 🚌 **Transport modes** - Learn about Munich's transit types ## Quick Start ### Option 1: Install from PyPI (Recommended) ```bash # Install globally with uvx uvx mcp-mvg # Or with pip pip install mcp-mvg mcp-mvg ``` ### Option 2: Install from GitHub ```bash # Run directly from GitHub with uvx uvx --from git+https://github.com/your-username/mcp-mvg.git mcp-mvg ``` ### Option 3: Local Development ```bash git clone https://github.com/your-username/mcp-mvg.git cd mcp-mvg uvx --from . mcp-mvg ``` ## MCP Client Configuration ### For installed package (PyPI): ```json { "mcpServers": { "mvg-transit": { "command": "uvx", "args": ["mcp-mvg"] } } } ``` ### From GitHub: ```json { "mcpServers": { "mvg-transit": { "command": "uvx", "args": ["--from", "git+https://github.com/your-username/mcp-mvg.git", "mcp-mvg"] } } } ``` ### With custom API Key: ```json { "mcpServers": { "mvg-transit": { "command": "uvx", "args": ["mcp-mvg"], "env": { "MVG_API_KEY": "your-custom-mvg-api-key" } } } } ``` ## Environment Variables | Variable | Description | Default | |----------|-------------|---------| | `MVG_API_KEY` | MVG API Authorization key | Uses default public key | ## Available Tools | Tool | Description | Example | |------|-------------|---------| | `search_stations` | Search for stations by name | `search_stations("Marienplatz")` | | `get_departures` | Get real-time departures from a station | `get_departures(global_id, limit=5)` …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.