Command Palette

Search for a command to run...

UnylyUnyly
Browse all

TfL Line Status

FreeNot checked

An MCP server to get the current status of TfL lines

GitHubEmbed

About

An MCP server to get the current status of TfL lines

README

A MCP server to get the current status(es) of TFL lines using the TfL Unified API. Built with FastMCP for easy deployment with streamable HTTP transport.

Local Development

pip install -r requirements.txt
python src/server.py

Deployment

Deploy to Render

Click the button above to deploy your own instance to Render. Your server will be available at https://your-service-name.onrender.com/mcp

Claude Desktop Setup

Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "tfl-line-status": {
      "command": "python3",
      "args": ["/path/to/TfL-line-status-mcp/src/server.py"]
    }
  }
}

Replace /path/to/ with the absolute path where you cloned this repository.

Try It Out!

Restart the Claude Desktop app and then ask the status of a TfL line. You should get something like this...

A screenshot of a Claude response using the MCP server

Tools

get_line_disruptions

Get disruptions for specific TfL lines (e.g., district, windrush, victoria, northern).

Parameters:

  • lines (string): Comma-separated list of line IDs (e.g., 'district,windrush' or 'victoria')

Example:

get_line_disruptions("district,victoria")

get_mode_disruptions

Get disruptions for TfL transport modes (tube, overground, dlr, elizabeth-line, tram, bus).

Parameters:

  • modes (string): Comma-separated list of modes (e.g., 'tube,dlr' or 'overground')

Example:

get_mode_disruptions("tube,overground")

API Reference

from github.com/reeceatkinson/TfL-line-status-mcp

Installing TfL Line Status

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/reeceatkinson/TfL-line-status-mcp

FAQ

Is TfL Line Status MCP free?

Yes, TfL Line Status MCP is free — one-click install via Unyly at no cost.

Does TfL Line Status need an API key?

No, TfL Line Status runs without API keys or environment variables.

Is TfL Line Status hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install TfL Line Status in Claude Desktop, Claude Code or Cursor?

Open TfL Line Status on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare TfL Line Status with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs