bart_stations
List BART Stations
List all BART stations with abbreviation codes and locations. Use this to look up station codes needed by other tools.
無需輸入參數。

io.github.srivastsh由 GitHub 帳號 srivastsh 發布v1.0.0更新於 Oct 27, 2026
Real-time BART departures, trip planning, fares, stations, and advisories.
託管式 MCP 端點,提供灣區 BART 即時資料:車站查詢、發車時刻、行程規劃、票價與服務通告。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.srivastsh%2Fbart-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"bart-real-time-transit": {
"type": "http",
"url": "https://bart-mcp.srivastsh.workers.dev/mcp"
}
}
}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:
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)來源:README.md,提交 36607e9
List BART Stations
List all BART stations with abbreviation codes and locations. Use this to look up station codes needed by other tools.
無需輸入參數。
Find BART Stations
Search BART stations by name, city, address, or 4-letter station code.
citylimitquery必填BART Real-Time Departures
Get real-time departures from a BART station. Args: - station: 4-letter abbreviation (e.g. EMBR, 24TH) - direction: Optional 'n' or 's'
station必填directionPlan BART Trip
Plan a trip between two BART stations. Returns schedule, fares, and transfer info.
datetimeorigin必填destination必填BART Advisories
Get current BART service advisories, delays, and elevator/escalator status.
無需輸入參數。
BART Status Summary
Summarize current BART service status from advisories and real-time alert data.
無需輸入參數。
BART Fare
Get fare between two BART stations.
origin必填destination必填已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
{ "mcpServers": { "bart": { "url": "https://bart-mcp.srivastsh.workers.dev/mcp" }, "muni": { "url": "https://muni-mcp.srivastsh.workers.dev/mcp", "headers": { "x-api-key-511": "YOUR_511_API_KEY" } } }}{ "mcpServers": { "bart": { "command": "npx", "args": ["-y", "@anthropic-ai/mcp-remote", "https://bart-mcp.srivastsh.workers.dev/mcp"] }, "muni": { "command": "npx", "args": [ "-y", "@anthropic-ai/mcp-remote", "https://muni-mcp.srivastsh.workers.dev/mcp", "--header", "x-api-key-511:YOUR_511_API_KEY" ] } }}cd bart-mcpnpm installwrangler loginwrangler deploycd muni-mcpnpm installwrangler deploywrangler secret put API_511_KEY