mcp-tfl-journey
๐ MCP server for Transport for London journey data. AI-powered route planning with real-time alerts, disruptions & stop points. Built with Model Context Protocol for seamless AI integration.
GitHub Stars
0
User Rating
Not Rated
Favorites
0
Views
17
Forks
1
Issues
1
README
TFL Journey MCP Server
๐ A Model Context Protocol (MCP) server for Transport for London journey data. Get real-time routes, alerts, and disruptions via AI assistants like Claude.
Quick Start
# Demo mode (limited requests)
TFL_API_KEY="6674e72d9f3d4678a3539ffbb24d5c92" npx mcp-tfl-journey
# With your own API key
TFL_API_KEY="your-api-key" npx mcp-tfl-journey
Get your free API key: https://api-portal.tfl.gov.uk/signup
Claude Configuration
Add to your Claude MCP config:
{
"mcpServers": {
"tfl-journey": {
"command": "npx",
"args": ["mcp-tfl-journey"],
"env": {
"TFL_API_KEY": "6674e72d9f3d4678a3539ffbb24d5c92"
}
}
}
}
Features
- ๐ Journey Search: Find routes between TFL stations
- ๐จ Real-time Alerts: Get service alerts and disruptions
- ๐ Stop Points: Detailed station information
- ๐ Journey Summaries: Duration, timing, and statistics
Usage
The search_journey tool accepts:
from: Source station code (e.g., "9400ZZLUKSX" for Kings Cross)to: Destination station code (e.g., "9400ZZLULVT" for Liverpool Street)
Local Development
npm install
export TFL_API_KEY="your-api-key"
npm start
Station Codes
| Code | Station |
|---|---|
| 9400ZZLUKSX | Kings Cross |
| 9400ZZLULVT | Liverpool Street |
| 9400ZZLUPAD | Paddington |
| 9400ZZLUVIC | Victoria |
Author Information
0
Followers
0
Repositories
0
Gists
0
Total Contributions
Related MCPs