cta_train_arrivals
Pack: cta · Endpoint: https://gateway.pipeworx.io/cta/mcp
Real-time Chicago CTA ‘L’ train arrivals at a station — answers “when is the next train Chicago”, next Red Line at Belmont, Blue Line to O’Hare from Clark/Lake. Returns each upcoming train’s line color, destination, arrival time and minutes_away, plus approaching / delayed / scheduled-only flags and the platform description. Station accepts a name (“Belmont”, “Clark/Lake”, “O’Hare”) or a 5-digit mapid (e.g. 41320). Example: cta_train_arrivals({ station: “Belmont”, route: “Red” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
station | string | yes | Station name (e.g. “Belmont”, “Clark/Lake”, “O’Hare”, “Midway”) or 5-digit mapid (e.g. “41320”) |
route | string | no | Optional ‘L’ line filter: Red, Blue, Brown, Green, Orange, Purple, Pink, or Yellow (also disambiguates same-named stations) |
max | number | no | Max arrivals to return, 1-20 (default 8) |
_apiKey | string | no |
Example call
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_train_arrivals","arguments":{}}}'
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.