uk-tfl-london-transit-ops-mcp
# 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.
```text
https://uk-tfl-london-transit-ops-mcp.lipmichal.workers.dev/mcp
```
## 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.
```json
{
"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.
```bash
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.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.uk-tfl-london-transit-ops-mcp) with hosted commercial servers and priority endpoints.
TDQS
Scored across 5 tools
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'.
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.
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.
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.