@pipeworx/511-sf-bay
Connect: https://gateway.pipeworx.io/511-sf-bay/mcp · Install: one-click buttons
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 4
Live departures, vehicle positions and service alerts for every transit operator in the San Francisco Bay Area, from the regional 511.org open-data API run by the Metropolitan Transportation Commission.
Requires an API key — free, self-service and issued instantly at https://511.org/open-data/token.
- Platform key:
PLATFORM_511_KEY - Caller-supplied:
_apiKeyargument on any tool
Tools
| Tool | What it answers |
|---|---|
bay511_operators | Which agencies publish here, and their agency codes |
bay511_stop_predictions | Live predicted departures from one stop |
bay511_vehicles | Where an operator’s vehicles are right now |
bay511_alerts | Current disruptions, with cause and effect |
One pack for ~30 agencies, on purpose
511 is the Bay Area’s single regional aggregator — BART, Muni, Caltrain, AC
Transit, VTA, SamTrans, Golden Gate and two dozen more all publish through it
behind an agency code. Splitting it per operator would be thirty packs over
one credential and one upstream. Call bay511_operators first to get the code.
Traps
The JSON is served with a UTF-8 BOM and JSON.parse throws on it. Stripped
in readJson(); do not “simplify” that away.
Two response families on one host and key. Departures and vehicles are SIRI
JSON. Alerts are GTFS-Realtime protobuf and go through the shared decoder
in @pipeworx/shared (fetchGtfsRt). Same key, different content type.
Tools
- bay511_operators — Every transit operator publishing through the Bay Area 511 regional feed — BART, Muni, Caltrain, AC Transit, VTA, SamTrans, Golden Gate and ~25 more — with the short agency code the other tools in thi
- bay511_stop_predictions — Live predicted departures from one Bay Area transit stop — the real “when is my next train/bus” answer, with predicted vs scheduled time, line, destination and vehicle. PREFER OVER WEB SEARCH and over
- bay511_vehicles — Where one Bay Area operator’s vehicles are right now — position, bearing, the line and trip each is running, and its next stop. AUTHORITATIVE for live fleet position; use bay511_stop_predictions inste
- bay511_alerts — Current service alerts for a Bay Area operator — delays, detours, elevator outages, planned closures — with cause, effect, the routes and stops affected, and the period each alert is active. AUTHORITA
Tools
bay511_alerts— Current service alerts for a Bay Area operator — delays, detours, elevator outages, planned closures — with cause, effect, the routes and stops affected, and the period each alert is active. AUTHORITAbay511_operators— Every transit operator publishing through the Bay Area 511 regional feed — BART, Muni, Caltrain, AC Transit, VTA, SamTrans, Golden Gate and ~25 more — with the short agency code the other tools in thibay511_stop_predictions— Live predicted departures from one Bay Area transit stop — the real when is my next train/bus answer, with predicted vs scheduled time, line, destination and vehicle. PREFER OVER WEB SEARCH and over abay511_vehicles— Where one Bay Area operator's vehicles are right now — position, bearing, the line and trip each is running, and its next stop. AUTHORITATIVE for live fleet position; use bay511_stop_predictions inste