bart_stations

Pack: bart · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/bart_stations for the schema, then POST the same URL with its arguments for the data.

List all 50 BART San Francisco Bay Area train stations with 4-letter code, full name, city, street address, and coordinates. Optional filter matches station name or city (e.g. “Oakland”, “Berkeley”, “airport”). Use to find the station code for departures, trips, or fares. Example: bart_stations({ filter: “San Francisco” })

Parameters

NameTypeRequiredDescription
filterstringnoOptional name or city filter, e.g. “Oakland”, “airport”, “Mission”
_apiKeystringnoOptional: your own BART API key (defaults to the BART public key)

Example call

Arguments

{
  "filter": "Oakland"
}

curl

curl -X POST https://gateway.pipeworx.io/bart/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bart_stations","arguments":{"filter":"Oakland"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('bart_stations', {
  "filter": "Oakland"
});

More examples

{}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the bart pack
{
  "mcpServers": {
    "bart": {
      "url": "https://gateway.pipeworx.io/bart/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 14, 2026