# WMATA Metro Tracker — MCP Server Documentation

A publicly accessible MCP server for Washington DC's WMATA Metrorail system. Query train arrivals at any of 98 stations across 6 lines, plan trips with fare information, check service alerts, monitor elevator/escalator outages, and get station metadata. No authentication required.

## MCP Endpoint

- **URL:** https://wmata-mcp-server.subpaatt.workers.dev/mcp
- **Transport:** Streamable HTTP
- **Authentication:** None required
- **Rate Limit:** 30 requests/minute per IP

## Tools

- **get_arrivals** — Real-time train arrivals at any Metro station. Fuzzy matches station names.
- **get_train_locations** — Live positions of all trains on a line.
- **get_alerts** — Active service alerts and incidents, filterable by line.
- **plan_trip** — Trip planning with fares, travel time, route, and real-time departures.
- **station_info** — Station metadata: lines, neighborhood, landmarks, ADA, headways.
- **get_elevator_escalator_status** — Current elevator/escalator outages.

## Data Sources

- WMATA Real-Time Rail Predictions API (refreshed every 20-30 seconds)
- WMATA Train Positions API (refreshed every 7-10 seconds)
- WMATA Incidents API, Elevator Incidents API
- WMATA Station-to-Station API (fares and travel time)
- Embedded dataset: 98 stations, 30+ neighborhoods

---
*Data provided by WMATA. Not affiliated with WMATA.*
*Powered by Cloudflare Workers, Workers AI, and the Model Context Protocol.*