Real-time BART departures, trip planning, fares, stations, and advisories.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by BART Real Time Transit.
bart_stationsList all BART stations with codes
bart_departuresReal-time departures from a station
bart_tripPlan a trip between two stations
bart_advisoriesCurrent service advisories
bart_fareFare lookup between two stations
transit_operatorsList all 511 transit operators
Two Cloudflare Workers providing MCP (Model Context Protocol) access to BART and SF Muni real-time transit data. Works with Claude, ChatGPT, Poke, Cursor, and any MCP-compatible client.
You don't need to deploy anything. Just point your MCP client at the hosted endpoints below.
https://bart-mcp.srivastsh.workers.dev/mcp β no auth, just connecthttps://muni-mcp.srivastsh.workers.dev/mcp β pass your free 511.org API key via x-api-key-511 headerThese run on Cloudflare Workers' free tier (100k requests/day). Since the Muni server uses BYOK auth, each user's 511 rate limit is isolated to their own key.
Just add the URL to your MCP client. No API key needed.
x-api-key-511 header in your MCP configOne-click setup: BART recipe | Muni recipe
Or add manually as a remote MCP server:
https://bart-mcp.srivastsh.workers.dev/mcp or https://muni-mcp.srivastsh.workers.dev/mcpx-api-key-511 to your 511 keyUse mcp-remote as a bridge:
| Tool | Description |
|---|---|
bart_stations | List all BART stations with codes |
bart_departures | Real-time departures from a station |
bart_trip | Plan a trip between two stations |
bart_advisories | Current service advisories |
bart_fare | Fare lookup between two stations |
| Tool | Description |
|---|---|
transit_operators | List all 511 transit operators |
muni_routes | List all Muni routes |
muni_departures | Real-time departures from a stop |
muni_line | Line details with stops |
muni_alerts | Current service alerts |
muni_vehicles | Real-time vehicle GPS positions |
muni_schedule | Timetable for a line |
Most users don't need to deploy β just use the hosted endpoints above. But if you want your own instance:
wrangler CLI: npm install -g wranglerThe public BART demo key (MW9S-E7SL-26DU-VV8V) is baked into wrangler.toml. No secrets needed.
Optionally set a fallback 511 key (used when no header key is provided):
WebStandardStreamableHTTPServerTransport (stateless, one server per request)Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/bart-real-time-transit)<a href="https://allmcps.com/mcp/bart-real-time-transit"><img src="https://allmcps.com/api/badge/bart-real-time-transit?style=directory" alt="BART Real Time Transit on AllMCPs" /></a>