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