Feedback

Transport for London MCP Server

@anoopt Claim

Basic information

Runtime
JavaScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
anoopt
Submitted by
Community
Quality
25

About Transport for London MCP Server

Get real-time London transport updates, plan journeys across London’s underground & bus routes, and manage your Oyster card with TfL.

Transport for London is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by anoopt. It exposes 3 tools, including get_line_status, get_line_status_detail, plan_journey. Supported transport: stdio. Runtime: JavaScript. License: MIT. Source code is hosted on github.com. Related topics: community, developer-tools, london, tfl, transport.

Setup

{
    "mcpServers": {
        "london-transport": {
            "command": "npx",
            "args": [
                "london-transport-mcp"
            ],
            "env": {
                "TFL_API_KEY": "your_actual_tfl_api_key_here"
            }
        }
    }
}

Transport for London MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "london-transport": {
            "command": "npx",
            "args": [
                "london-transport-mcp"
            ],
            "env": {
                "TFL_API_KEY": "your_actual_tfl_api_key_here"
            }
        }
    }
}

Transport for London MCP Server tools

  • get_line_status — Get the status of a TfL line from the Transport for London Unified API.
    lineId:string*, app_key:string
  • get_line_status_detail — Get the status and details of a TfL line.
    lineId:string*, app_key:string
  • plan_journey — Plan journeys between two locations using the TfL Journey Planner.
    fromLocation:string*, toLocation:string*, app_key:string

Overview

What is Transport for London?

The London Transport MCP server enables AI assistants (such as Claude Desktop and VS Code GitHub Copilot) to access live Transport for London (TfL) data, including line status, detailed disruption info, and journey planning.

How to use Transport for London?

Key features of Transport for London

  • Check real-time status of any TfL line
  • Get detailed disruption information for lines
  • Plan journeys between London locations
  • Integrates with Claude Desktop and GitHub Copilot

Use cases of Transport for London

  • Check if a tube line is running normally before commuting
  • Get detailed information about service disruptions
  • Plan optimal routes between London locations
  • Provide real-time transport advice for London travel

Frequently asked questions

1 What tools does the server provide?

It provides three tools: get_line_status (basic line status), get_line_status_detail (status with disruption details), and plan_journey (journey planning using the TfL Journey Planner).

2 What data sources does the server use?

It uses live data from the Transport for London (TfL) API.

3 Which AI assistants are supported?

The server is designed for AI assistants like Claude Desktop and VS Code GitHub Copilot.

4 Are there any configuration or installation details provided?

The README does not include installation or configuration instructions.

5 What are example interactions users can have?

Example interactions include: "Is the Central line running normally?", "Plan a journey from King's Cross to Heathrow Airport", and "What's causing delays on the Northern line?"

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬