The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MCP National Rail listing page.
A Model Context Protocol (MCP) server to retrieve train schedules from National Rail.
This project implements a server using the Model Context Protocol (MCP) that allows AI agents to retrieve train information on National Rail trains using the Realtime Trains API.
It provides tools for:
Real Time Trains API account can be created from here: https://api.rtt.io/
You will need to note down your API Auth credentials
To install mcp-national-rail for Claude Desktop automatically via Smithery:
Make sure to replace "/path/to/mcp-national-rail/dist/index.js" with the actual path and add your RTT API username and password which can be created from here: https://api.rtt.io/
Run the inspector with the following command: