Skip to main content
Glama

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

Related MCP server: TFL MCP Server for Poke

Available tools

Tool

Purpose

get_tfl_line_status_by_mode

Fetch live TfL service status across London Underground, DLR, Overground, Elizabeth line, or tram

get_tfl_line_disruptions

Fetch active TfL service disruptions and closure notices for any London transit mode

get_london_air_quality_forecast

Fetch current and next-day London Air Quality Index forecasts across key pollutants

search_tfl_stop_points

Search London Tube stations, rail hubs, and bus stops by name with modes and coordinates

get_tfl_bike_point_availability

Search 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.

Available Tools

5 tools
get_london_air_quality_forecastGet London air quality forecastA
Read-onlyIdempotent
Inspect

Fetch current and next-day London Air Quality Index forecasts from Transport for London.

Inputs: no named parameters.

get_tfl_bike_point_availabilityGet TfL bike point availabilityB
Read-onlyIdempotent
Inspect

Search London Santander Cycles docking stations by street or landmark name.

Inputs: query (required), limit.

get_tfl_line_disruptionsGet TfL line disruptionsB
Read-onlyIdempotent
Inspect

Fetch active Transport for London service disruptions, categories, and closure text for a transit mode.

Inputs: mode.

get_tfl_line_status_by_modeGet TfL line status by modeA
Read-onlyIdempotent
Inspect

Fetch live Transport for London (TfL) service status for all lines in a transit mode such as tube, dlr, overground, or elizabeth-line.

Inputs: mode.

search_tfl_stop_pointsSearch TfL stop pointsB
Read-onlyIdempotent
Inspect

Search London Tube stations, rail interchanges, and bus stops by name via the TfL Unified API.

Inputs: query (required), modes, max_results.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation4/5

    Most tools target clearly different resources: air quality, stop-point search, bike-point search, line status, and disruptions. The one soft boundary is between get_tfl_line_status_by_mode and get_tfl_line_disruptions, which both operate on a transit mode and could be misselected when an agent wants 'is my line broken'.

    Naming Consistency4/5

    All names are snake_case verb_noun with a clear TfL domain prefix, which is predictable. The single deviation is get_london_air_quality_forecast, which uses 'london' rather than the 'tfl' infix seen in the other four tools.

    Tool Count4/5

    Five tools sit comfortably within a reasonable range and each covers a distinct slice of the TfL API surface. The set is on the lean side, but no tool appears redundant.

    Completeness3/5

    Coverage is status/search oriented but misses core transit operations an agent would expect: live arrivals/departures at a stop, journey planning, and road/traffic disruption data. The bike tool also only searches docking stations by name, so actual availability retrieval is a likely dead end despite the name.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers