cta_bus_positions
Pack: cta · 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/cta_bus_positions for the schema, then POST the same URL with its arguments for the data.
Live Chicago CTA bus positions on a route — every vehicle currently running: lat/lon, heading, destination, delayed flag, and distance along the pattern. Answers “where is the 22 Clark bus right now” via the CTA bus tracker. Example: cta_bus_positions({ route: “22” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
route | string | yes | Bus route number, e.g. “22”, “66”, “146”. Comma-separable up to 10. |
_apiKey | string | no |
Example call
Arguments
{
"route": "22",
"_apiKey": "your-cta-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/cta/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cta_bus_positions","arguments":{"route":"22","_apiKey":"your-cta-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cta_bus_positions', {
"route": "22",
"_apiKey": "your-cta-api-key"
});
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 cta pack
{
"mcpServers": {
"cta": {
"url": "https://gateway.pipeworx.io/cta/mcp"
}
}
}
See Getting Started for client-specific install steps.