Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Community-built server providing real-time London transport data via the TfL Unified API
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
TFL_APP_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"tfl": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFL_APP_KEY",
"ghcr.io/oneill9/mcp-server-tfl:1.4.0"
],
"env": {
"TFL_APP_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add tfl --env TFL_APP_KEY=your-value -- docker run -i --rm -e TFL_APP_KEY ghcr.io/oneill9/mcp-server-tfl:1.4.0运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"tfl": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFL_APP_KEY",
"ghcr.io/oneill9/mcp-server-tfl:1.4.0"
],
"env": {
"TFL_APP_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"tfl": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFL_APP_KEY",
"ghcr.io/oneill9/mcp-server-tfl:1.4.0"
],
"env": {
"TFL_APP_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 oneill9 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:TFL_APP_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.4.0)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Kanal Varna — drains, leaks & plumbing (Varna, BG)
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Drain unblocking, leak detection & plumbing in Varna, Bulgaria: services, prices, areas, contact
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Disclaimer: This is a community-built project. It is not affiliated with, endorsed by, or connected to Transport for London (TfL). This project consumes the publicly available TfL Unified API.
An MCP server that exposes the TfL (Transport for London) Unified API as tools, allowing AI assistants like Claude to query live London transport data.
Version 2 is a single Node.js 22 implementation using the MCP 2026-07-28 protocol revision. It supports stdio for local hosts, npm, and MCPB, plus stateless Streamable HTTP at /mcp for remote deployments.
Protocol compatibility: Streamable HTTP is modern-only MCP
2026-07-28. The stdio entry point also accepts 2025-era initialization for desktop hosts such as Codex, while modern stdio clients continue to negotiate2026-07-28. Legacy HTTP/SSE is not supported.
Step 1 — Add to Claude Desktop
Open your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonOption A: Node.js MCPB (recommended)
Download tfl-mcp-server.mcpb from GitHub Releases and install it in Claude Desktop.
Option B: npm
With Node.js 22 or later installed, point Claude Desktop at the published package:
{
"mcpServers": { "tfl-mcp-server": { "command": "npx", "args": ["-y", "@oneill9/tfl-mcp-server@2.0.0"], "env": { "TFL_APP_KEY": "your_key_here" } } } }
Option C: Docker
{
"mcpServers": { "tfl-mcp-server": { "command": "docker", "args": ["run", "-i", "--rm", "-e", "TFL_APP_KEY", "ghcr.io/oneill9/tfl-mcp-server:latest"] } } }
Step 2 — Add a TfL API key (recommended)
Without a key, TfL applies strict rate limits that will impact most real-world usage. Register a free key and pass it via the TFL_APP_KEY environment variable. The Docker example's -e TFL_APP_KEY forwards this value into the container:
"env": { "TFL_APP_KEY": "your_key_here" }
Step 3 — Restart Claude Desktop and start asking questions
Example: *"Is the Central line running normally?"*, *"When is the next bus from Oxford Circus?"*
For source, Docker, and Streamable HTTP options, see docs/installation.md.
| Tool | Description | TfL Endpoint |
|---|---|---|
service_status | Current status and disruptions by mode | GET /Line/Mode/{modes}/Status |
arrivals | Live arrivals at a stop by name | GET /StopPoint/{naptan}/Arrivals |
journey | Plan a journey between two points | GET /Journey/JourneyResults/{from}/to/{to} |
bike_points | List Santander Cycles docking stations | GET /BikePoint |
crowding | Live station crowding level by name | GET /Crowding/{naptan}/Live |
fares | Fare information between two named stops | GET /StopPoint/{id}/FareTo/{targetId} |
Note: The server uses the
/StopPoint/Search/{query}endpoint internally to automatically resolve stop names to NaPTAN IDs for thearrivals,crowding, andfarestools.
The service_status tool includes MCP Apps support as a progressive enhancement. UI-capable hosts (e.g. Claude Desktop) can render an interactive service status board alongside the text response. Non-UI hosts continue to receive the standard text output.
See docs/tools.md for full details.
The MCPB and default container mode use stdio transport. The optional Streamable HTTP mode does not implement OAuth or any other server-side authentication; deploy it only behind an appropriate trusted access layer.
The TfL API uses a simple API key (TFL_APP_KEY) that you supply as an environment variable. A key is strongly recommended — without one, TfL applies strict rate limits that will impact most real-world usage. Registration is free. No OAuth flow, login, or account beyond the TfL portal is required to use this MCP server.
| Environment Variable | Default | Description |
|---|---|---|
TFL_APP_KEY | *(none)* | TfL API key — register at api-portal.tfl.gov.uk |
TFL_APP_ID | *(none)* | TfL App ID — only needed for older API registrations that issued both an ID and key |
MCP_MAX_REQUEST_BODY_BYTES | 1048576 | Maximum JSON request body size accepted by Streamable HTTP |
MCP_REQUEST_TIMEOUT_MS | 30000 | Streamable HTTP request timeout in milliseconds |
MCP_HEADERS_TIMEOUT_MS | 10000 | Streamable HTTP header timeout in milliseconds; must not exceed the request timeout |
An API key is strongly recommended — without one, TfL's strict rate limits will impact most real-world usage. Registration is free at api-portal.tfl.gov.uk.
Node.js 22 or later is required. Install from the lockfile and build before starting the server.
cd node
npm ci npm run build node dist/index.js
That starts stdio transport. For stateless Streamable HTTP:
cd node
HOST=127.0.0.1 PORT=8080 node dist/index.js --http
Connect an MCP 2026-07-28 client to http://127.0.0.1:8080/mcp. Set MCP_ALLOWED_HOSTS to a comma-separated hostname allowlist when serving under other hostnames.
For use with Claude Desktop, see docs/installation.md.
Unit tests use a mock HTTP server — no network access or API key required:
cd node && npm test
The Streamable HTTP acceptance tests are included in npm test. Run the official frozen MCP 2026-07-28 requirement set separately (optional extension probes outside that set are not scored):
cd node && npm run test:conformance
The conformance fixture registers the real production TfL tools and resource through the shared modern-only HTTP adapter. It also adds test-only diagnostic tools, resources, prompts, and flows needed by the referee's hard-coded probes; those diagnostics are not exposed by the production entry point.
Contract tests call the live TfL API:
cd node && TFL_APP_KEY=your_key_here npm run contractTest
Build and smoke-test the packed npm CLI, MCPB, and container distributions with bash scripts/test-distributions.sh. The script skips container checks when Docker is unavailable.
For questions, bug reports, or feature requests, please open an issue on GitHub Issues.
This MCP server acts as a local proxy between your AI assistant and the TfL Unified API. It does not collect, store, or transmit any personal data beyond what is required to forward your queries to TfL.
api.tfl.gov.uk). See TfL's privacy policy for how TfL handles API usage data.The full privacy policy is available at PRIVACY.md.
This server has been reviewed for compliance with the Anthropic Software Directory Terms and Anthropic Software Directory Policy. See COMPLIANCE.md for the full compliance statement and maintainer commitments.