Serveur MCP

BART Real-Time Transit

io.github.srivastsh/bart-mcp
Cartes et localisation Voyage et hôtellerie Public et accessible MCP 2025-11-25

Ce que fait ce MCP

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.
Lecture seule Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
Schéma de sortie
{'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'
Lecture seule Accès externe
Schéma d’entrée
{'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}
Schéma de sortie
{'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.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'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}
Schéma de sortie
{'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.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'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}
Schéma de sortie
{'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.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
Schéma de sortie
{'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.
Lecture seule Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
Schéma de sortie
{'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.
Lecture seule Accès externe
Schéma d’entrée
{'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}
Schéma de sortie
{'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}
Ajouté
bart_fare
17 September 2026 12:52
Ajouté
bart_status_summary
17 September 2026 12:52
Ajouté
bart_advisories
17 September 2026 12:52
Ajouté
bart_trip
17 September 2026 12:52
Ajouté
bart_departures
17 September 2026 12:52
Ajouté
bart_station_lookup
17 September 2026 12:52
Ajouté
bart_stations
17 September 2026 12:52