Skip to main content
Glama
README.md
# routes-mcp

An MCP server (FastMCP) that gives Claude routes, places, weather and public transport: 16 tools.

| Source | Tools | Needs |
|---|---|---|
| Google Maps Platform | `compute_route`, `search_places`, `search_nearby`, `get_weather` | API key (billed by Google) |
| DWD via Bright Sky | `get_dwd_weather`, `get_dwd_alerts` | nothing |
| MVG/MVV (Munich, unofficial API) | `search_mvg_stop`, `get_mvg_departures`, `get_mvg_route`, `get_mvg_messages`, `get_mvg_lines` | nothing |
| [Transitous](https://transitous.org/) (Europe) | `transitous_search_place`, `transitous_plan_journey`, `transitous_departures`, `transitous_refresh`, `transitous_health` | a contact address; non-commercial use only |

## Run it

Copy [`compose-example.yml`](compose-example.yml) to `compose.yml` and [`.env.example`](.env.example) to `.env`,
fill them in, then `docker compose up -d`. Sign-in goes through your OIDC provider (tested with Authentik):
a confidential client with redirect URIs `<PUBLIC_URL>/auth/callback` and `<PUBLIC_URL>/landing/callback`.
Everyone who can sign in can use your Google key, so limit access at the provider. All settings are listed
at the top of [`app/server.py`](app/server.py).

In Claude: **Settings → Connectors → Add custom connector**, URL `<PUBLIC_URL>/mcp`.

Try it locally without sign-in: `docker run --rm -p 127.0.0.1:8000:8000 -e MCP_AUTH_DISABLED=1 abishekvupputur/routes-mcp`.

## Releases

The version is in `VERSION`. Bump it, merge, then `git tag vX.Y.Z && git push origin vX.Y.Z`: CI scans the image
(gitleaks, hadolint, Trivy, Snyk), pushes it to Docker Hub and GitHub Packages and creates the GitHub release.

[MIT](LICENSE)