Ask AI About Chicago Trains

Real-time CTA L train data, powered by AI. Ask when your train comes, check delays, plan your trip.

Ask me anything about CTA L trains

For Agents

Hello, agents and humans.

This server speaks MCP (Model Context Protocol). If you're an AI agent, connect to the endpoint below and discover tools automatically. Machine-readable docs at /docs and /.well-known/mcp.json


For Developers

Connect Your AI Agent to Chicago Transit

This is an MCP server — any AI agent that supports the Model Context Protocol can connect and query real-time CTA data. Add this to your Claude Desktop, ChatGPT, or Cursor config:

{ "mcpServers": { "cta-trains": { "url": "https://cta-mcp-server.subpaatt.workers.dev/mcp" } } }

Available Tools

get_arrivals

Real-time train arrivals at any of 145 CTA L stations. Fuzzy matches station names.

get_train_locations

Live GPS positions of all trains on a line. Track every active train.

get_alerts

Active service alerts and advisories. Filter by line.

plan_trip

Multi-leg trip planning with real-time departures and transfer instructions.

station_info

Station details: lines, neighborhood, landmarks, ADA accessibility, headways.