Skip to content
MCP server

SF Bay Area Transit MCP

Plan Bay Area bus, train and ferry trips and see next stop departures from an agent

Install
Pricing
Free
Platforms
API, CLI
Runs
Remotely
Version
0.1.0
Listing updated
3 days ago

About SF Bay Area Transit MCP

SF Bay Area Transit MCP is a free MCP server for maps and travel. It runs as a hosted remote server, so there is nothing to install locally.

Routing data comes from Transitous, which covers BART, Muni, Caltrain, AC Transit, VTA, SamTrans, Golden Gate Transit, Golden Gate Ferry and SF Bay Ferry. A request gives a start and destination plus an optional leave-by or arrive-by time; without a time the trip leaves now. A trip can be compared against cycling and capped at a set number of transfers.

Results list departure and arrival times, total travel time, walking time and number of transfers, with step-by-step directions for each route. A separate departure board shows service, destination and time for a stop, and marks whether a time is a live estimate or only scheduled. In apps that support MCP Apps these appear as interactive views; other apps get the same information as text.

The four tools are enabled in the client, and there are no keys or sign-in. The hosted service runs on Cloudflare Workers Free, and the README says the default data provider is meant for light, noncommercial, open-source use with no availability guarantee. Place searches, trip coordinates and stop IDs go to Transitous, whose privacy policy says request URLs are logged for up to two days.

Install

Run in a terminal

claude mcp add --transport http sf-transit-mcp https://mcp.riv.lc/sf-transit/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.riv.lc/sf-transit/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "sf-transit-mcp": {
      "url": "https://mcp.riv.lc/sf-transit/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "sf-transit-mcp": {
      "type": "http",
      "url": "https://mcp.riv.lc/sf-transit/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "sf-transit-mcp": {
      "serverUrl": "https://mcp.riv.lc/sf-transit/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "sf-transit-mcp": {
      "type": "http",
      "url": "https://mcp.riv.lc/sf-transit/mcp"
    }
  }
}

What it does

Trip planning
Plan trips by bus, train or ferry with a leave-by or arrive-by time.
Mode comparison
Compare transit with cycling and limit the number of transfers.
Next departures
Show a stop's upcoming departures by service and destination.
Live versus scheduled
Marks whether a time is a live estimate or only timetable data.
Interactive views
MCP Apps clients get route and departure widgets; others get text.
Local or hosted
Use the hosted URL or run it over stdio with Node.js 22.12 or newer.

Good for

  • Ask how to get from the Ferry Building to Baker Beach right now
  • Check the next Muni N departures at a given stop
  • Plan an airport trip that must arrive by a set time
  • Compare a transit route against cycling with at most one transfer

Pricing

Free

Free to use, no API keys; community service with no availability guarantee

Prices change. Check mcp.riv.lc before you buy.

SF Bay Area Transit MCP FAQ

Do I need an API key?

No. It is free and needs no keys or authentication; choose no authentication if the client asks.

Where does the routing data come from?

Transitous, which covers the Bay Area agencies listed on the service page.

Is a live time guaranteed?

No. A scheduled time means no live estimate was supplied, and it does not confirm that a vehicle is on time.

Can I run it locally?

Yes, with Node.js 22.12 or newer, either straight from the GitHub repository with npx or from a clone built with npm.

Is SF Bay Area Transit MCP free?

Yes. SF Bay Area Transit MCP is free to use.

How do I add SF Bay Area Transit MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http sf-transit-mcp https://mcp.riv.lc/sf-transit/mcp

What are the best alternatives to SF Bay Area Transit MCP?

The closest alternatives to SF Bay Area Transit MCP are Tutu eSIM, Shanghai Streets Travel Guide, Fifty Asks, Gangway AIS and Tickets: tours and event tickets in South America.

Alternatives to SF Bay Area Transit MCP

  1. Tutu eSIM

    MCP server

    Live travel eSIM plans, prices and roaming costs for 190+ countries

    • 5 tools
    • Remote
    • Paid
    • Maps and travel
  2. Curated places, walking routes and areas in Shanghai, Jiangsu and Zhejiang

    • 9 tools
    • Remote
    • Free
    • Maps and travel
  3. Fifty Asks

    MCP server

    Let an agent book a free AI-visibility check or a 15-minute call for a local business

    • 10 tools
    • Remote
    • Free
    • Maps and travel
  4. Gangway AIS

    MCP server

    Vessel positions, port calls and anchorage waiting times from licensed AIS data

    • 21 tools
    • Remote
    • Freemium
    • Freight and logistics
  5. Goyondo

    MCP server

    Agent-native trip planner where your AI builds the itinerary and Goyondo stores it

    • Remote
    • Freemium
    • Maps and travel