BART Real-Time Transit

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

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
70%
Calidad de los nombres
80%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,934Tokens (definiciones de herramientas)
~2.6 KBTamaño de respuesta típico
Impacto moderado en la atención (1.51% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "bart-mcp": {
      "url": "https://bart-mcp.srivastsh.workers.dev/mcp"
    }
  }
}

Puntos de conexión remotos

https://bart-mcp.srivastsh.workers.dev/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (7)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢bart_stations

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

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "address": {
            "type": [
              "string",
              "null"
            ]
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "longitude": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "name",
          "city",
          "county",
          "state",
          "address",
          "latitude",
          "longitude"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "stations"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢bart_station_lookup(query, city, limit)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Station name, city, address fragment, or code, e.g. Embarcadero, Oakland, EMBR"
    },
    "city": {
      "type": "string",
      "description": "Optional city filter"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "default": 10,
      "description": "Maximum matches to return"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "address": {
            "type": [
              "string",
              "null"
            ]
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ]
          },
          "longitude": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "name",
          "city",
          "county",
          "state",
          "address",
          "latitude",
          "longitude"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "stations"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢bart_departures(station, direction)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "station": {
      "type": "string",
      "minLength": 1,
      "description": "Station code (e.g. EMBR, 24TH)"
    },
    "direction": {
      "type": "string",
      "enum": [
        "n",
        "s"
      ],
      "description": "Direction filter"
    }
  },
  "required": [
    "station"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "departures": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "station": {
            "type": "string"
          },
          "stationCode": {
            "type": "string"
          },
          "destination": {
            "type": [
              "string",
              "null"
            ]
          },
          "minutes": {
            "type": [
              "number",
              "null"
            ]
          },
          "displayMinutes": {
            "type": "string"
          },
          "direction": {
            "type": [
              "string",
              "null"
            ]
          },
          "platform": {
            "type": [
              "string",
              "null"
            ]
          },
          "length": {
            "type": [
              "number",
              "null"
            ]
          },
          "color": {
            "type": [
              "string",
              "null"
            ]
          },
          "hexColor": {
            "type": [
              "string",
              "null"
            ]
          },
          "bikeFlag": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "station",
          "stationCode",
          "destination",
          "minutes",
          "displayMinutes",
          "direction",
          "platform",
          "length",
          "color",
          "hexColor",
          "bikeFlag"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "departures"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢bart_trip(origin, destination, time, date)

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

Esquema de entrada

{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "minLength": 1,
      "description": "Origin station code"
    },
    "destination": {
      "type": "string",
      "minLength": 1,
      "description": "Destination station code"
    },
    "time": {
      "type": "string",
      "description": "Departure time e.g. '5:30pm'"
    },
    "date": {
      "type": "string",
      "description": "Date MM/DD/YYYY"
    }
  },
  "required": [
    "origin",
    "destination"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "trips": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "option": {
            "type": "number"
          },
          "origin": {
            "type": [
              "string",
              "null"
            ]
          },
          "destination": {
            "type": [
              "string",
              "null"
            ]
          },
          "originTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "destinationTime": {
            "type": [
              "string",
              "null"
            ]
          },
          "durationMinutes": {
            "type": [
              "number",
              "null"
            ]
          },
          "fare": {
            "type": [
              "number",
              "null"
            ]
          },
          "legs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "origin": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "destination": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "line": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "trainHeadStation": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "origin",
                "destination",
                "line",
                "trainHeadStation"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "option",
          "origin",
          "destination",
          "originTime",
          "destinationTime",
          "durationMinutes",
          "fare",
          "legs"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "trips"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢bart_advisories

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

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "advisories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "station": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "smsText": {
            "type": [
              "string",
              "null"
            ]
          },
          "posted": {
            "type": [
              "string",
              "null"
            ]
          },
          "expires": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "station",
          "type",
          "description",
          "smsText",
          "posted",
          "expires"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "advisories"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢bart_status_summary

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

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "advisoryCount": {
      "type": "number"
    },
    "types": {
      "type": "object",
      "additionalProperties": {
        "type": "number"
      }
    },
    "advisories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "station": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "smsText": {
            "type": [
              "string",
              "null"
            ]
          },
          "posted": {
            "type": [
              "string",
              "null"
            ]
          },
          "expires": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "station",
          "type",
          "description",
          "smsText",
          "posted",
          "expires"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "advisoryCount",
    "types",
    "advisories"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢bart_fare(origin, destination)

Get fare between two BART stations.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "minLength": 1,
      "description": "Origin station code"
    },
    "destination": {
      "type": "string",
      "minLength": 1,
      "description": "Destination station code"
    }
  },
  "required": [
    "origin",
    "destination"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "fare": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "amount": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "name",
            "amount"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "origin",
    "destination",
    "fare"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada7 herramientas
verificadoversión no registrada7 herramientas
verificadoversión no registrada7 herramientas
verificadoversión no registrada7 herramientas
verificadoversión no registrada7 herramientas
verificadoversión no registrada7 herramientas
verificadoversión no registrada7 herramientas
verificadoversión no registrada7 herramientas