transcapi-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@transcapi-mcpWhen's the next train from Leeds to York, and is it on time?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TransCAPI MCP server
Lets AI assistants such as Claude answer questions about public transport in Great Britain with live data: "When's the next train from Leeds to York, and is it on time?", "Where's the 52 bus?", "Is anything disrupting my route home?"
It connects an assistant to TransCAPI, which covers England, Scotland and Wales: stops and places, bus and rail departures with live running, live bus positions, disruptions and journey planning.
Setup
Get a free API key at https://www.transcapi.com/signup (1,000 requests a day, every endpoint).
Add the server to your MCP client. For Claude Desktop, in
claude_desktop_config.json:{ "mcpServers": { "transcapi": { "command": "uvx", "args": ["--from", "git+https://github.com/tcdataconsultants/transcapi-mcp", "transcapi-mcp"], "env": { "TRANSCAPI_API_KEY": "your-key" } } } }For Claude Code:
claude mcp add transcapi --env TRANSCAPI_API_KEY=your-key -- \ uvx --from git+https://github.com/tcdataconsultants/transcapi-mcp transcapi-mcpOr install it yourself with
pip install git+https://github.com/tcdataconsultants/transcapi-mcpand runtranscapi-mcp. (A PyPI release, installable as plaintranscapi-mcp, is coming.)
Related MCP server: TFL MCP Server for Poke
Tools
Tool | What it answers |
| Find a town, village, postcode or stop by name |
| Bus, tram and rail stops near a point, with which way the buses go |
| Rail stations near a point |
| What's leaving (or arriving at) a bus stop, with live times for tracked buses |
| Live trains at a station: expected times, platforms, cancellations, delay reasons |
| Every station one train calls at, live for today |
| Every stop one bus journey calls at, and where the bus is now |
| Buses on the road near a point, with delays where tracked |
| Planned works, incidents and line status, by area, line or a journey's route |
| Public transport journeys between two points (South and West Yorkshire and West Sussex for now) |
All tools are read-only.
Configuration
Variable | |
| Required. Your TransCAPI key. |
| Optional. Defaults to |
Attribution
TransCAPI is built on official open data. If you show its data to other people, credit the sources as described at https://www.transcapi.com/docs/data-sources.
Licence
MIT.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only public transit departures, stop search, and city coverage for bus and train users.
GB (National Rail) train times: live departures, platforms, timetables and journey planning.
1Live UK rail departures, trains, unit numbers, station lifts, disruptions and daily punctuality.
Travel tools for AI agents: plan and edit real trips, search stays and tours, import travel videos.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides real-time access to Transport for London data, enabling users to check tube line statuses, get disruption details, and plan journeys between London locations. Uses the official TfL Unified API to deliver live transport information through AI assistants.39 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to access real-time Transport for London data, including tube/bus arrivals, line status, journey planning, and disruptions.1-
- AlicenseBqualityDmaintenanceProvides real-time Transport for London journey data, including routes, alerts, and disruptions, allowing AI assistants to search journeys and get station information.121 npm4ISC
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query live Transport for London data, including service status, arrivals, journey planning, bike points, crowding, and fares.1MIT