Repository avatar
AI Tools
v1.0.1
active

uk-tfl-london-transit-ops-mcp

io.github.theluckystrike/uk-tfl-london-transit-ops-mcp

Transport for London TfL Unified API for live line status, disruptions, air quality, and bikes.

Documentation

uk-tfl-london-transit-ops-mcp

Official Transport for London (TfL) Unified Transit server over Model Context Protocol (MCP). Mobility teams, logistics planners, and urban operations engineers can inspect live Tube and rail line status, active disruptions, London air quality forecasts, stop points, and Santander Cycles docking stations with zero API keys and zero sign-up. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://uk-tfl-london-transit-ops-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
get_tfl_line_status_by_modeFetch live TfL service status across London Underground, DLR, Overground, Elizabeth line, or tram
get_tfl_line_disruptionsFetch active TfL service disruptions and closure notices for any London transit mode
get_london_air_quality_forecastFetch current and next-day London Air Quality Index forecasts across key pollutants
search_tfl_stop_pointsSearch London Tube stations, rail hubs, and bus stops by name with modes and coordinates
get_tfl_bike_point_availabilitySearch London Santander Cycles docking stations by street or landmark with dock counts

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "uk-tfl-london-transit-ops": {
      "url": "https://uk-tfl-london-transit-ops-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries api.tfl.gov.uk/ with a polite User-Agent header (mcpstamp-uk-tfl-london-transit-ops/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.