MCP Server — lucygoodchild/mcp-national-ra

A Model Context Protocol (MCP) server to retrieve train schedules from National Rail

Local serverstdio

What is the MCP Server?

A Model Context Protocol (MCP) server to retrieve train schedules from National Rail

What it actually does

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.

Configuration

  • Node.js

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_live_departuresget_live_arrivals
get_departures_by_dateget_arrivals_by_date

Configuration

  • Node.js
VariableDescriptionRequired
RTT_API_USERNAMEConfiguration value read at startup.Optional
RTT_API_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • “Use MCP to get live departures.”
  • “Use MCP to get departures by date.”
  • “Use MCP to Prerequisites.”

Frequently asked questions

It is an MCP server that enables AI agents to query National Rail train schedules in real time, using the Realtime Trains API.