cta_train_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_train_positions for the schema, then POST the same URL with its arguments for the data.

Live Chicago CTA ‘L’ train positions on one or more lines, where every Red Line, Blue Line, Brown, Green, Orange, Purple, Pink, or Yellow train is right now: lat/lon, heading, next station with ETA, destination, approaching and delayed flags. Answers “where are the Blue Line trains” for the Chicago L. Example: cta_train_positions({ routes: “Red,Blue” })

Parameters

NameTypeRequiredDescription
routesstringyesComma-separated ‘L’ lines, full color names accepted: “Red”, “Red,Blue”, “Brown,Purple”
_apiKeystringno

Example call

Arguments

{
  "routes": "Red,Blue"
}

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_train_positions","arguments":{"routes":"Red,Blue"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('cta_train_positions', {
  "routes": "Red,Blue"
});

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.

Regenerated from source · build December 3, 2026