cta_bus_positions
Pack: cta · Endpoint: https://gateway.pipeworx.io/cta/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"cta": {
"url": "https://gateway.pipeworx.io/cta/mcp"
}
}
}
See Getting Started for client-specific install steps.