
mcp-national-railA Model Context Protocol (MCP) server to retrieve train schedules from National Rail
Overview
Key features
- get_live_departures
- get_live_arrivals
- get_departures_by_date
- get_arrivals_by_date
- MCP server integration
Pricing
- Model
- Free
- Category
- MCP Servers
- Rating
- No reviews yet
Use cases
Train Schedule Retrieval
An AI agent uses the MCP server to retrieve live departures for a specific station.
Scheduled Train Information
A user queries the MCP server for train arrivals by date and station.
Pros & Cons
Pros
- Enables AI agents to access National Rail train schedules
- Supports live and scheduled train information
- Integrates with Realtime Trains API
Cons
- Requires Realtime Trains API account and credentials
- Needs Node.js setup and manual configuration
Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Q&A
What are the main limitations or prerequisites for using this tool?
The server requires Node.js and a Realtime Trains API account for authentication. Manual configuration is needed unless using Smithery, and the code is written in TypeScript, so some basic programming knowledge may be helpful for troubleshooting.
Asked by Xavier Costa · Oct 4, 2025
What train schedule data can AI agents fetch with this MCP server?
The server exposes four tools: `get_live_departures`, `get_live_arrivals`, `get_departures_by_date`, and `get_arrivals_by_date`, allowing agents to retrieve both real‑time and scheduled departure and arrival information for National Rail services.
Asked by Dmitri Volkov · Sep 13, 2025
What credentials do I need to use the server?
You must create a Realtime Trains API account at https://api.rtt.io/ and note your API username and password. These should be set as `RTT_API_USERNAME` and `RTT_API_PASSWORD` in either an `.env` file or the Claude config environment block.
Asked by Daniel Schmidt · Aug 11, 2025
How do I install and run mcp-national-rail on my machine?
You can install it automatically with Smithery by running `npx y @smithery/cli install @lucygoodchild/mcp-national-rail-client-claude`. For a manual setup, clone the repo, run `npm install`, then build with `npm run build` and start with `npm run start`. Finally, add the server entry to Claude Desktop’s config JSON with the correct path and your RTT API credentials.
Asked by Lorenzo Bianchi · Jun 14, 2025
Ask a question
MCP Servers alternatives

Open-source MCP server that lets LLMs drive real browsers via Playwright and accessibility snapshots.

Python agent framework from the Pydantic team for building type-safe GenAI apps.

Adaptive memory layer that helps AI agents learn from context over time.

AI email assistant that organizes, drafts replies, and helps you reach inbox zero faster.

Open-source 24/7 local screen and audio recording for building context-aware AI apps

TypeScript library for building and orchestrating AI agents with tools, memory, and multi-agent workflows.

Bringing the bankless onchain API to MCP

Python tool for converting files and office documents to Markdown.
Trending now

Accurate Homework Help with Full Explanations

Document intelligence API that parses, splits, OCRs, and extracts structured data from complex PDFs, slides, and spreadsheets.

Open multimodal 12B model handling interleaved images and text with a 128K context window.

Sponsored answers, paid per click.
