bay511_vehicles
Pack: 511-sf-bay · Endpoint: https://gateway.pipeworx.io/511-sf-bay/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/bay511_vehicles for the schema, then POST the same URL with its arguments for the data.
Where one Bay Area operator’s vehicles are right now — position, bearing, the line and trip each is running, and its next stop. AUTHORITATIVE for live fleet position; use bay511_stop_predictions instead when the question is about a specific stop.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
agency | string | yes | Operator code from bay511_operators (e.g. “SF”, “BA”, “CT”). |
line | string | no | Optional: only vehicles on this line/route id. |
limit | number | no | Max vehicles to return (default 100). |
_apiKey | string | no | 511 SF Bay API key. Free from ${SIGNUP}. |
Example call
Arguments
{
"agency": "SF"
}
curl
curl -X POST https://gateway.pipeworx.io/511-sf-bay/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bay511_vehicles","arguments":{"agency":"SF"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bay511_vehicles', {
"agency": "SF"
});
More examples
{
"agency": "CT",
"limit": 50
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"511-sf-bay": {
"url": "https://gateway.pipeworx.io/511-sf-bay/mcp"
}
}
}
See Getting Started for client-specific install steps.