Bay Area Transit MCP
Bay Area 대중교통 MCP 서버
BART와 SF Muni 실시간 대중교통 데이터에 대한 MCP(Model Context Protocol) 액세스를 제공하는 두 개의 Cloudflare Workers입니다. Claude, ChatGPT, Poke, Cursor 및 모든 MCP 호환 클라이언트와 호환됩니다.
아무것도 배포할 필요가 없습니다. MCP 클라이언트에 아래의 호스팅된 엔드포인트를 지정하기만 하면 됩니다.
라이브 엔드포인트
BART:
https://bart-mcp.srivastsh.workers.dev/mcp— 인증 불필요, 연결만 하면 됩니다Muni:
https://muni-mcp.srivastsh.workers.dev/mcp— 무료 511.org API 키를x-api-key-511헤더로 전달하세요
이 서버들은 Cloudflare Workers 무료 티어(일일 10만 건 요청)에서 실행됩니다. Muni 서버는 BYOK 인증을 사용하므로 각 사용자의 511 속도 제한은 자신의 키에 격리됩니다.
Related MCP server: marta-mcp
빠른 시작
BART (인증 불필요)
MCP 클라이언트에 URL을 추가하기만 하면 됩니다. API 키가 필요 없습니다.
Muni (BYOK)
https://511.org/open-data/token에서 무료 511.org API 키를 받으세요.
MCP 구성에서
x-api-key-511헤더를 통해 전달하세요.
클라이언트 구성
Claude Desktop / Claude Code
{
"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"
}
}
}
}Poke
또는 원격 MCP 서버로 수동 추가:
URL:
https://bart-mcp.srivastsh.workers.dev/mcp또는https://muni-mcp.srivastsh.workers.dev/mcpMuni의 경우 사용자 지정 헤더
x-api-key-511을 511 키로 설정하세요.
Cursor / Windsurf / stdio 전용 클라이언트
브리지로 mcp-remote를 사용하세요:
{
"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"
]
}
}
}사용 가능한 도구
BART (도구 5개)
도구 | 설명 |
| 코드와 함께 모든 BART 역 나열 |
| 역의 실시간 출발 정보 |
| 두 역 간 여정 계획 |
| 현재 서비스 안내 |
| 두 역 간 요금 조회 |
Muni (도구 7개)
도구 | 설명 |
| 모든 511 대중교통 운영자 나열 |
| 모든 Muni 노선 나열 |
| 정류장의 실시간 출발 정보 |
| 정류장이 포함된 노선 상세 정보 |
| 현재 서비스 알림 |
| 실시간 차량 GPS 위치 |
| 노선 시간표 |
직접 배포
대부분의 사용자는 배포할 필요가 없습니다 — 위의 호스팅된 엔드포인트를 사용하기만 하면 됩니다. 하지만 자체 인스턴스를 원한다면:
사전 요구 사항
Node.js 18+
Cloudflare 계정(무료 티어 사용 가능)
wranglerCLI:npm install -g wrangler
BART Worker
cd bart-mcp
npm install
wrangler login
wrangler deploy공개 BART 데모 키(MW9S-E7SL-26DU-VV8V)는 wrangler.toml에 내장되어 있습니다. 시크릿이 필요 없습니다.
Muni Worker
cd muni-mcp
npm install
wrangler deploy선택적으로 폴백 511 키를 설정하세요(헤더 키가 제공되지 않을 때 사용됨):
wrangler secret put API_511_KEY아키텍처
런타임: Cloudflare Workers(V8 isolates)
전송:
WebStandardStreamableHTTPServerTransport(무상태, 요청당 서버 하나)인증: 요청 헤더를 통한 BYOK, 선택적 환경 변수 시크릿 폴백
검증: 모든 도구 입력에 대한 Zod 스키마
CORS: 모든 오리진에 대해 활성화
API 소스: api.bart.gov(BART), api.511.org(Muni/511)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server that provides tools for querying live transit data (stops, departures, routes, vehicles, alerts) from any WP GTFS Pro site, enabling AI assistants to answer rider questions.14GPL 2.0
- AlicenseAqualityAmaintenanceMCP server for Atlanta MARTA real-time transit data, enabling queries about train arrivals and bus positions via natural language.4MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Swiss public transport data (stations, departures, connections) from the Transport Open Data API via natural language through an MCP gateway.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying global transit data including agencies, routes, stops, and departures through a GTFS aggregator.2MIT
Related MCP Connectors
Transitland MCP — global GTFS aggregator
MBTA MCP — Boston real-time transit via the MBTA v3 API (api-v3.mbta.com)
BART MCP — San Francisco Bay Area Rapid Transit real-time data (api.bart.gov)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/srivastsh/bay-area-transit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server