Koskamo

BART Real-Time Transit MCP

A community-hosted MCP server providing real-time BART departures, trip planning, fare lookup, station lists, and service advisories. It also supports SF Muni data including routes, departures, alerts, and vehicle positions, requiring a free 511.org API key for Muni-specific tools.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

BART Real-Time Transit MCP logo, by srivastshCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by srivastsh
You need:Get a free 511.org API key at https://511.org/open-data/token
MCP endpoint (Streamable HTTP)
https://bart-mcp.srivastsh.workers.dev/mcp
Vendor documentation

What its tools do

7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

7 of 7 have a description · 7 of 7 declare behavior hints · 4 of 4 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Get real-time BART departures from a specific station
  • Plan a trip between two BART stations
  • Look up fares between two BART stations
  • Check current BART service advisories

Source and maintenance

Community listingRegistry 1.0.0
Maintenance checked

Protocol and capabilities

Server
bart-mcp-server 1.2.0
MCP protocol negotiated in check
2025-11-25
Tools
7 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

7 advertised

bart_stations — List BART Stations
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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

bart_stations input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
bart_stations output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "stations"
  ],
  "properties": {
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "name",
          "city",
          "county",
          "state",
          "address",
          "latitude",
          "longitude"
        ],
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "address": {
            "type": [
              "string",
              "null"
            ]
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "longitude": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
bart_stations annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
bart_station_lookup — Find BART Stations
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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

bart_station_lookup input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "query"
  ],
  "properties": {
    "city": {
      "type": "string",
      "description": "Optional city filter"
    },
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 25,
      "minimum": 1,
      "description": "Maximum matches to return"
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Station name, city, address fragment, or code, e.g. Embarcadero, Oakland, EMBR"
    }
  },
  "additionalProperties": false
}
bart_station_lookup output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "stations"
  ],
  "properties": {
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "name",
          "city",
          "county",
          "state",
          "address",
          "latitude",
          "longitude"
        ],
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "address": {
            "type": [
              "string",
              "null"
            ]
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "longitude": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
bart_station_lookup annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
bart_departures — BART Real-Time Departures
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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

bart_departures input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "station"
  ],
  "properties": {
    "station": {
      "type": "string",
      "minLength": 1,
      "description": "Station code (e.g. EMBR, 24TH)"
    },
    "direction": {
      "enum": [
        "n",
        "s"
      ],
      "type": "string",
      "description": "Direction filter"
    }
  },
  "additionalProperties": false
}
bart_departures output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "departures"
  ],
  "properties": {
    "departures": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "station",
          "stationCode",
          "destination",
          "minutes",
          "displayMinutes",
          "direction",
          "platform",
          "length",
          "color",
          "hexColor",
          "bikeFlag"
        ],
        "properties": {
          "color": {
            "type": [
              "string",
              "null"
            ]
          },
          "length": {
            "type": [
              "number",
              "null"
            ]
          },
          "minutes": {
            "type": [
              "number",
              "null"
            ]
          },
          "station": {
            "type": "string"
          },
          "bikeFlag": {
            "type": [
              "string",
              "null"
            ]
          },
          "hexColor": {
            "type": [
              "string",
              "null"
            ]
          },
          "platform": {
            "type": [
              "string",
              "null"
            ]
          },
          "direction": {
            "type": [
              "string",
              "null"
            ]
          },
          "destination": {
            "type": [
              "string",
              "null"
            ]
          },
          "stationCode": {
            "type": "string"
          },
          "displayMinutes": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
bart_departures annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
bart_trip — Plan BART Trip
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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

bart_trip input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "origin",
    "destination"
  ],
  "properties": {
    "date": {
      "type": "string",
      "description": "Date MM/DD/YYYY"
    },
    "time": {
      "type": "string",
      "description": "Departure time e.g. '5:30pm'"
    },
    "origin": {
      "type": "string",
      "minLength": 1,
      "description": "Origin station code"
    },
    "destination": {
      "type": "string",
      "minLength": 1,
      "description": "Destination station code"
    }
  },
  "additionalProperties": false
}
bart_trip output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "trips"
  ],
  "properties": {
    "trips": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "option",
          "origin",
          "destination",
          "originTime",
          "destinationTime",
          "durationMinutes",
          "fare",
          "legs"
        ],
        "properties": {
          "fare": {
            "type": [
              "number",
              "null"
            ]
          },
          "legs": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "origin",
                "destination",
                "line",
                "trainHeadStation"
              ],
              "properties": {
                "line": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "origin": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "destination": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "trainHeadStation": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": false
            }
          },
          "option": {
            "type": "number"
          },
          "origin": {
            "type": [
              "string",
              "null"
            ]
          },
          "originTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "destination": {
            "type": [
              "string",
              "null"
            ]
          },
          "destinationTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "durationMinutes": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
bart_trip annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
bart_advisories — BART Advisories
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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

bart_advisories input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
bart_advisories output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "advisories"
  ],
  "properties": {
    "advisories": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "station",
          "type",
          "description",
          "smsText",
          "posted",
          "expires"
        ],
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          },
          "posted": {
            "type": [
              "string",
              "null"
            ]
          },
          "expires": {
            "type": [
              "string",
              "null"
            ]
          },
          "smsText": {
            "type": [
              "string",
              "null"
            ]
          },
          "station": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
bart_advisories annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
bart_status_summary — BART Status Summary
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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

bart_status_summary input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
bart_status_summary output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "advisoryCount",
    "types",
    "advisories"
  ],
  "properties": {
    "types": {
      "type": "object",
      "additionalProperties": {
        "type": "number"
      }
    },
    "advisories": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "station",
          "type",
          "description",
          "smsText",
          "posted",
          "expires"
        ],
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          },
          "posted": {
            "type": [
              "string",
              "null"
            ]
          },
          "expires": {
            "type": [
              "string",
              "null"
            ]
          },
          "smsText": {
            "type": [
              "string",
              "null"
            ]
          },
          "station": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "advisoryCount": {
      "type": "number"
    }
  },
  "additionalProperties": false
}
bart_status_summary annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
bart_fare — BART Fare
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Get fare between two BART stations.

bart_fare input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "origin",
    "destination"
  ],
  "properties": {
    "origin": {
      "type": "string",
      "minLength": 1,
      "description": "Origin station code"
    },
    "destination": {
      "type": "string",
      "minLength": 1,
      "description": "Destination station code"
    }
  },
  "additionalProperties": false
}
bart_fare output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "origin",
    "destination",
    "fare"
  ],
  "properties": {
    "fare": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "name",
            "amount"
          ],
          "properties": {
            "name": {
              "type": "string"
            },
            "amount": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "origin": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
bart_fare annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (48 of 48 checks answered)

  1. 2026-11-07: 1 of 1 checks answered
  2. 2026-11-09: 2 of 2 checks answered
  3. 2026-11-10: 2 of 2 checks answered
  4. 2026-11-11: 1 of 1 checks answered
  5. 2026-11-12: 1 of 1 checks answered
  6. 2026-11-14: 1 of 1 checks answered
  7. 2026-11-15: 2 of 2 checks answered
  8. 2026-11-16: 4 of 4 checks answered
  9. 2026-11-17: 5 of 5 checks answered
  10. 2026-11-18: 5 of 5 checks answered
  11. 2026-11-19: 4 of 4 checks answered
  12. 2026-11-20: 2 of 2 checks answered
  13. 2026-11-21: 4 of 4 checks answered
  14. 2026-11-22: 4 of 4 checks answered
  15. 2026-11-23: 4 of 4 checks answered
  16. 2026-11-24: 4 of 4 checks answered
  17. 2026-11-25: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
902 ms
95th percentile latency
1208 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1099 ms · 7 tool(s)
  • · probe · passed · 1220 ms · 7 tool(s)
  • · probe · passed · 388 ms · metadata changed · 7 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http bart-real-time-transit-mcp https://bart-mcp.srivastsh.workers.dev/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add bart-real-time-transit-mcp --url https://bart-mcp.srivastsh.workers.dev/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable bart-real-time-transit-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "bart-real-time-transit-mcp": {
      "url": "https://bart-mcp.srivastsh.workers.dev/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "bart-real-time-transit-mcp": {
      "type": "streamableHttp",
      "url": "https://bart-mcp.srivastsh.workers.dev/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start bart-real-time-transit-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "bart-real-time-transit-mcp": {
      "type": "http",
      "url": "https://bart-mcp.srivastsh.workers.dev/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http bart-real-time-transit-mcp https://bart-mcp.srivastsh.workers.dev/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://bart-mcp.srivastsh.workers.dev/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "bart-real-time-transit-mcp": {
      "serverUrl": "https://bart-mcp.srivastsh.workers.dev/mcp"
    }
  }
}

Let your agent find its tools

Find servers like BART Real-Time Transit MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.