MCP Server

BART Real-Time Transit

io.github.srivastsh/bart-mcp
Maps & Location Travel & Hospitality Public & reachable MCP 2025-11-25

What this MCP does

Provides real-time BART departures, trip planning, fares, station lookup, and service advisories.

bart_advisories
BART Advisories
Get current BART service advisories, delays, and elevator/escalator status.
Read only Open world
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
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_departures
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'
Read only Open world
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}
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_fare
BART Fare
Get fare between two BART stations.
Read only Open world Idempotent
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}
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_station_lookup
Find BART Stations
Search BART stations by name, city, address, or 4-letter station code.
Read only Open world Idempotent
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}
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
List BART Stations
List all BART stations with abbreviation codes and locations. Use this to look up station codes needed by other tools.
Read only Open world Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
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_status_summary
BART Status Summary
Summarize current BART service status from advisories and real-time alert data.
Read only Open world
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
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_trip
Plan BART Trip
Plan a trip between two BART stations. Returns schedule, fares, and transfer info.
Read only Open world
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}
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}
Added
bart_fare
Sept. 17, 2026, 12:52 p.m.
Added
bart_status_summary
Sept. 17, 2026, 12:52 p.m.
Added
bart_advisories
Sept. 17, 2026, 12:52 p.m.
Added
bart_trip
Sept. 17, 2026, 12:52 p.m.
Added
bart_departures
Sept. 17, 2026, 12:52 p.m.
Added
bart_station_lookup
Sept. 17, 2026, 12:52 p.m.
Added
bart_stations
Sept. 17, 2026, 12:52 p.m.