Loading languages...
MC

mcp-national-rail

@lucygoodchild

A Model Context Protocol (MCP) server to retrieve train schedules from National Rail. ## Overview 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: - get_live_departures - get_live_arrivals - get_departures_by_date - get_arrivals_by_date

train
schedule
national rail
transport

# mcpServer Config

{
  "mcpServers": {
    "mcp-national-rail": {
      "command": "node",
      "args": [
        "/path/to/mcp-national-rail/dist/index.js"
      ],
      "env": {
        "RTT_API_USERNAME": "your_rtt_api_username",
        "RTT_API_PASSWORD": "your_rtt_api_password"
      }
    }
  }
}

# stdio

node /path/to/mcp-national-rail/dist/index.js
Transport:
stdio
اللغة:
JavaScript
تم التحديث:7/23/2025