MCP.Market

BART Real-Time Transit MCP server

online · 100% uptime
by srivastsh·io.github.srivastsh/bart-mcp·v1.0.0·1 stars

Real-time BART departures, trip planning, fares, stations, and advisories.

B81/100grade B
What users say
No reviews yet
Be the first
Safety scan
B81/100

full report

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed BART Real-Time Transit yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

BART Real-Time Transit tools (7)

write = sends, deletes, buys or posts
  • bart_advisoriesFree

    Get current BART service advisories, delays, and elevator/escalator status.

  • bart_departuresFree

    Get real-time departures from a BART station. Args: - station: 4-letter abbreviation (e.g. EMBR, 24TH) - direction: Optional 'n' or 's'

  • bart_fareFree

    Get fare between two BART stations.

  • bart_station_lookupFree

    Search BART stations by name, city, address, or 4-letter station code.

  • bart_stationsFree

    List all BART stations with abbreviation codes and locations. Use this to look up station codes needed by other tools.

  • bart_status_summaryFree

    Summarize current BART service status from advisories and real-time alert data.

  • bart_tripFree

    Plan a trip between two BART stations. Returns schedule, fares, and transfer info.

Public scan report

scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • –Code scanremote-only server, no package to scann/a
  • Live reliabilityremote reachable in 625ms20/20
  • Tool poisoning7 tool descriptions checked15/15
  • Auth qualityopen endpoint, read-only tools10/15
  • Maintenancelast push 118 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 81/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How BART Real-Time Transit compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
81/100
higher than 62% of 48,255 servers
Tools
7
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Uptime
100%
of our recent checks; the typical remote server answers 100%
Response time
103 ms
faster than 83% of 30,031 servers
GitHub stars
1
more than 65% of 28,688 servers

What its tools let an agent do: 7 read

Install BART Real-Time Transit in Claude Code, Cursor or VS Code

claude mcp add --transport http bart-mcp https://bart-mcp.srivastsh.workers.dev/mcp
Add to Cursor

What the publisher says

From the BART Real-Time Transit repository's README, as published. We do not edit it. Read it on GitHub

Bay Area Transit MCP Servers

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.

Live Endpoints

  • BART: https://bart-mcp.srivastsh.workers.dev/mcp — no auth, just connect
  • Muni: https://muni-mcp.srivastsh.workers.dev/mcp — pass your free 511.org API key via x-api-key-511 header

These 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.

Quick Start

BART (no auth required)

Just add the URL to your MCP client. No API key needed.

Muni (BYOK)

  1. Get a free 511.org API key at https://511.org/open-data/token
  2. Pass it via the x-api-key-511 header in your MCP config

Client Configuration

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

One-click setup: BART recipe | Muni recipe

Or add manually as a remote MCP server:

  • URL: https://bart-mcp.srivastsh.workers.dev/mcp or https://muni-mcp.srivastsh.workers.dev/mcp
  • For Muni, set custom header x-api-key-511 to your 511 key

Cursor / Windsurf / stdio-only Clients

Use mcp-remote as a bridge:

{
  "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"
      ]
    }
  }
}

Available Tools

BART (5 tools)

Muni (7 tools)

Deploy Your Own

Most users don't need to deploy — just use the hosted endpoints above. But if you want your own instance:

Prerequisites

  • Node.js 18+
  • Cloudflare account (free tier works)
  • wrangler CLI: npm install -g wrangler

BART Worker

cd bart-mcp
npm install
wrangler login
wrangler deploy

The public BART demo key (MW9S-E7SL-26DU-VV8V) is baked into wrangler.toml. No secrets needed.

Muni Worker

cd muni-mcp
npm install
wrangler deploy

Optionally set a fallback 511 key (used when no header key is provided):

wrangler secret put API_511_KEY

Architecture

  • Runtime: Cloudflare Workers (V8 isolates)
  • Transport: WebStandardStreamableHTTPServerTransport (stateless, one server per request)
  • Auth: BYOK via request headers, optional env secret fallback
  • Validation: Zod schemas for all tool inputs
  • CORS: Enabled for all origins
  • API Sources: api.bart.gov (BART), api.511.org (Muni/511)

Nothing above is checked by us. What we check is on the safety report.

BART Real-Time Transit: common questions

Is BART Real-Time Transit MCP server safe?
Mostly: it is graded B (81/100). Read the BART Real-Time Transit safety report
How do I install BART Real-Time Transit?
It runs remotely at bart-mcp.srivastsh.workers.dev. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
Does BART Real-Time Transit need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is BART Real-Time Transit maintained?
The last commit was 156 days ago (2026-06-01). The latest release is v1.0.0.
Is BART Real-Time Transit up?
100% of our last 28 checks got an answer. We check remote servers about four times a day.
How does BART Real-Time Transit compare with other MCP servers?
safety score 81/100 (higher than 62% of 48,255 servers); tools 7 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.