Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

TfL (Transport for London) Status & Journey Planner MCP Server
An MCP server that enables AI assistants to access live TfL data through three main capabilities.
WHAT IT DOES
- •Provides a get_line_status tool for checking the current status of a TfL line.
- •Provides a get_line_status_detail tool for detailed status information and disruption details for a TfL line.
- •Provides a plan_journey tool for planning journeys between two locations using the TfL Journey Planner.
BEST FOR
- •Checking whether a tube line is running normally before commuting.
- •Getting detailed information about service disruptions.
- •Planning optimal routes between London locations.
ABOUT TRANSPORT-FOR-LONDON
TfL (Transport for London) Status & Journey Planner MCP Server is cataloged as an MCP server attributed to anoopt. An MCP server that enables AI assistants to access live TfL data through three main capabilities. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for TfL (Transport for London) Status & Journey Planner MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Which TfL tools are available through this MCP server?
The server provides get_line_status, get_line_status_detail, and plan_journey tools.
上游原版 README
README.md · 274d88642fc6 · 采集于 2026-11-13 08:16:41 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
TfL (Transport for London) Status & Journey Planner MCP Server
This Model Context Protocol (MCP) server provides AI assistants with access to real-time Transport for London data through a set of automated tools.
⚠️ Important Disclaimer: This is not an official Transport for London (TfL) MCP server. This is an independent project that uses the publicly available TfL Unified API to provide transport data. It is not affiliated with, endorsed by, or officially supported by Transport for London.
Demo Video

🚇 What This MCP Server Does
This server enables AI assistants (like Claude Desktop and VS Code GitHub Copilot) to access live TfL data by providing three main capabilities:
🔧 Available Tools
get_line_status- Get the current status of any TfL line (e.g., Central, Victoria, Piccadilly)get_line_status_detail- Get detailed status information including disruption details for a TfL lineplan_journey- Plan journeys between two locations using the TfL Journey Planner
🎯 Use Cases
With this MCP server connected, AI assistants can help users:
- Check if their 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
Example interactions:
- "Is the Central line running normally?"
- "Plan a journey from King's Cross to Heathrow Airport"
- "What's causing delays on the Northern line today?"
Let's set things up!
🚦 Getting Started
Choose your preferred installation method:
📦 Option 1: Quick Install via npm (Recommended)
The easiest way to use this MCP server is through npm:
Installation
npm install -g london-transport-mcp
🔐 Set up your TfL API key
You can get a free API key from the TfL API Portal.
Method 1: Environment Variable (Recommended) Set the environment variable in your system:
# Windows (PowerShell)
$env:TFL_API_KEY="your_actual_tfl_api_key_here"
# macOS/Linux
export TFL_API_KEY="your_actual_tfl_api_key_here"
Method 2: MCP Configuration Include the API key directly in your MCP configuration (see examples below).
AI Assistant Configuration
For Claude Desktop (Settings → Developers → Edit Config):
{
"mcpServers": {
"london-transport": {
"command": "npx",
"args": ["london-transport-mcp"],
"env": {
"TFL_API_KEY": "your_actual_tfl_api_key_here"
}
}
}
}
For VS Code GitHub Copilot (Settings → GitHub Copilot › MCP: Servers):
{
"london-transport": {
"command": "npx",
"args": ["london-transport-mcp"],
"env": {
"TFL_API_KEY": "your_actual_tfl_api_key_here"
}
}
}
That's it! No manual installation or path configuration required.
🛠️ Option 2: Local Development Setup
For developers who want to modify the code or contribute:
⚙️ Prerequisites
Before starting, please ensure you have:
- Node.js (v18+ required, v20+ recommended)
- npm (included with Node)
Warning: if you run with a lower version of Node, fetch won't be present. Tools use fetch to make HTTP calls. To work around this, you can modify the tools to use node-fetch instead. Make sure that node-fetch is installed as a dependency and then import it as fetch into each tool file.
📥 Installation & Setup
1. Clone the repository
git clone https://github.com/anoopt/london-tfl-journey-status-mcp-server.git
cd london-tfl-journey-status-mcp-server
2. Install dependencies
npm install
🔐 Set up your TfL API key
3. Configure your TfL API key
Create a .env file in the project root with your TfL API key:
TFL_API_KEY=your_actual_tfl_api_key_here
You can get a free API key from the TfL API Portal.
🧪 Test the MCP Server with Postman
We strongly recommend testing your MCP server with Postman before connecting it to an AI assistant. The Postman Desktop Application provides the easiest way to run and test MCP servers.
Step 1: Download Postman Desktop
Download the latest Postman Desktop Application from postman.com/downloads.
Step 2: Create an MCP Request
- Open Postman Desktop
- Create a new MCP Request (see the documentation for detailed steps)
- Set the type to STDIO
- Set the command to the full path to your node executable followed by the full path to
mcpServer.js
To get the required paths, run these commands in your terminal:
# Get the full path to node
which node
# Get the full path to mcpServer.js
realpath mcpServer.js
# Check your node version (should be 18+)
node --version
Example command format:
/usr/local/bin/node /full/path/to/TfL-Status-MCP-Server/mcpServer.js
Step 3: Test Your Tools
- Click Connect in your Postman MCP Request
- You should see the three TfL tools listed
- Test each tool:
- Try
get_line_statuswithlineId: "central" - Try
plan_journeywithfromLocation: "King's Cross"andtoLocation: "Westminster" - Try
get_line_status_detailwithlineId: "piccadilly"
- Try
If all tools work correctly in Postman, you're ready to connect to an AI assistant!
🤖 Connect to AI Assistants
Once you've tested with Postman, you can connect your MCP server to AI assistants:
For Local Development Setup (Option 2)
If you're using the local development setup, you'll need to specify full paths:
Claude Desktop
Step 1: Use the same node and mcpServer.js paths from the Postman testing step.
Step 2: Open Claude Desktop → Settings → Developers → Edit Config and add:
{
"mcpServers": {
"london-transport": {
"command": "node",
"args": ["/full/path/to/mcpServer.js"]
}
}
}
Step 3: Restart Claude Desktop and verify the MCP server shows with a green circle.
VS Code GitHub Copilot
Step 1: Install the GitHub Copilot extension in VS Code if you haven't already.
Step 2: Open VS Code → Settings (Ctrl+,) → Search for "MCP" → GitHub Copilot › MCP: Servers
Step 3: Add your TfL MCP server configuration:
{
"london-transport": {
"command": "node",
"args": ["/full/path/to/mcpServer.js"]
}
}
Step 4: Restart VS Code and the MCP server will be available to GitHub Copilot.
Now you can ask your AI assistant things like:
- "Check the status of the Central line"
- "Plan a journey from London Bridge to Camden Town"
Additional Options
🛠️ List Available Tools
View all available tools and their parameters:
npm run list-tools
🚀 Quick Postman Integration
Open Postman with the correct MCP configuration automatically:
npm run postman
🐳 Docker Deployment (Production)
For production deployments, you can use Docker:
1. Build Docker image
docker build -t <your_server_name> .
2. AI Assistant Integration
Add Docker server configuration to your AI assistant:
For Claude Desktop (Settings → Developers → Edit Config):
{
"mcpServers": {
"tfl-status": {
"command": "docker",
"args": ["run", "-i", "--rm", "--env-file=.env", "tfl-mcp-server"]
}
}
}
For VS Code GitHub Copilot (Settings → GitHub Copilot › MCP: Servers):
{
"tfl-status": {
"command": "docker",
"args": ["run", "-i", "--rm", "--env-file=.env", "tfl-mcp-server"]
}
}
Add your environment variables (API keys, etc.) inside the
.envfile.
The project comes bundled with the following minimal Docker setup:
FROM node:22.12-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
ENTRYPOINT ["node", "mcpServer.js"]
🌐 Streamable HTTP
To run the server with Streamable HTTP support, use the --streamable-http flag. This launches the server with the /mcp endpoint enabled:
node mcpServer.js --streamable-http
🌐 Server-Sent Events (SSE)
To run the server with Server-Sent Events (SSE) support, use the --sse flag. This launches the server with the /sse and /messages endpoints enabled:
node mcpServer.js --sse
🖥️ Stdio (Standard Input/Output)
To run the server using standard input/output (stdio), simply run the script without any flags. This mode is ideal for CLI tools or programmatic integration via stdin and stdout.
node mcpServer.js
🛠️ Extending the Server
To add more TfL API endpoints or other transport APIs:
- Create new tool files in the
tools/tfl/directory - Follow the pattern in existing tools like
tools/tfl/status.js - Add your new tool file to
tools/paths.js - Test with Postman before deploying
📚 API Reference
This server uses the Transport for London Unified API. All tools automatically include your API key from the .env file.
➕ Adding New Tools
Extend your MCP server with more tools easily:
- Visit Postman MCP Generator.
- Pick new API request(s), generate a new MCP server, and download it.
- Copy new generated tool(s) into your existing project's
tools/folder. - Update your
tools/paths.jsfile to include new tool references.
💬 Questions & Support
Visit the Postman MCP Generator page for updates and new capabilities.
Join the #mcp-lab channel in the Postman Discord to share what you've built and get help.
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for TfL (Transport for London) Status & Journey Planner MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/transport-for-london)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

