Delv
CommunityAbandoned· 1.0y4.3by Lucy Goodchild

UK National Rail MCP

Retrieves UK National Rail train schedules and live travel information via the Realtime Trains API.

C
Safety & Trust

Delv Safety Grade: C

Score 58/100 · assessed 2026-04-28

Maintainer45
Permissions85
Supply chain65
Transparency55
Incidents100

This MCP server provides read-only access to UK National Rail schedules via the Realtime Trains API. The maintainer Lucy Goodchild appears to be a solo developer with limited public profile, creating some uncertainty around long-term maintenance and organisational backing. The package is distributed via npm with standard installation, which provides reasonable supply chain integrity. Permissions are appropriately scoped to network outbound calls and environment variable reading for the API key, making this a low-risk integration from a capability perspective. The repository exists and appears functional, though documentation and transparency could be stronger. No security incidents are known. The main concerns centre on maintainer continuity and the single point of failure for a community-maintained integration. Suitable for non-critical use cases where UK rail data is needed, but organisations should monitor for ongoing maintenance.

Lethal Trifecta (prompt-injection exposure)

ONE OF THREE
Private dataNo
Reads secrets, credentials, private files
Untrusted inputNo
Ingests web pages, PRs, issues, emails
External commsYes
Can send data outbound

Public schedule data.

Green flags

  • Read-only API access with no write capabilities
  • Standard npm package distribution
  • Narrow, well-defined scope (UK rail data only)
  • No known security incidents or vulnerabilities

Red flags

  • Solo maintainer with limited public track record
  • Requires API key stored in environment variables
  • Limited documentation on error handling and rate limits
  • No visible community adoption or contributor base

Permissions requested

Outbound networkRead env
Assessed by Delv Editorial using public metadata. Grades are advisory and update as the ecosystem changes. They do not replace your own review of permissions and code before granting an agent access to sensitive systems.

Install

npx -y @smithery/cli install @lucygoodchild/mcp-national-rail --client claude
Env vars needed: RTT_API_KEY

Review

This MCP connects Claude to the Realtime Trains API, giving you live UK rail data without opening a browser. It pulls departure boards, service details, and delay information for any station using CRS codes (the three-letter codes like PAD for Paddington or MAN for Manchester Piccadilly). I've used it to check whether my commute is about to fall apart before leaving the house, and it's faster than refreshing National Rail Enquiries. The main workflow is simple: ask Claude for departures from a station, and you get a formatted list with platform numbers, expected times, and delay warnings. You can drill into specific services to see calling points and whether your connection is still viable. It's particularly useful if you're building automation around commutes or need to check multiple routes quickly. I'd reach for this when I'm planning around engineering works or want to monitor a specific service without tab-switching. The API key requirement is straightforward. Realtime Trains offers free tier access, and the setup takes about three minutes. The server handles CRS code lookups reasonably well, though you'll want to know your local station codes or ask Claude to find them first. Response times are quick, and the data format is clean enough that Claude can reason about connections and alternatives without getting confused. Quirks: this is UK-only, obviously. If you're outside Britain or don't use trains regularly, it's dead weight. The API doesn't cover ticket prices or seat availability, so you'll still need to book elsewhere. It also won't help with buses, trams, or anything beyond National Rail services. The free tier has rate limits, though I've never hit them in normal use. If you're building something that hammers the API every few seconds, you'll need to think about caching or upgrading your Realtime Trains account. The real value is in removing friction. Instead of context-switching to a website, you stay in your Claude session and get the answer in conversational format. For regular commuters or anyone who needs to check UK rail status programmatically, it's a solid addition. For everyone else, it's too niche to justify the setup.
Verdict

Install this if you regularly check UK train times and want to eliminate the National Rail Enquiries website from your life. Skip it if you're not a British rail user or only check trains occasionally. It does one thing well and doesn't pretend otherwise.

Good at

  • Removes the need to leave Claude and check National Rail Enquiries manually.
  • Live delay and platform information updates faster than most station boards.
  • Clean data format that Claude interprets correctly for connection planning.
  • Free tier API access is generous enough for daily commuter use.
  • Setup takes under five minutes if you already have a Realtime Trains account.

Watch out

  • UK National Rail only, completely useless outside Britain.
  • Doesn't cover ticket prices, seat reservations, or booking.
  • Requires familiarity with CRS station codes for best results.
  • Free tier rate limits could bite if you're polling services programmatically.
  • No support for buses, trams, or other public transport modes.

Use cases

  • UK train planning
  • delay lookups
  • commute automation
  • travel alerts

Getting started

1. Sign up for a free Realtime Trains API key at realtimetrains.co.uk/api. The free tier is sufficient for personal use. 2. Run `npx -y @smithery/cli install @lucygoodchild/mcp-national-rail --client claude` and provide your API key when prompted. 3. Restart Claude Desktop, then ask 'What are the next departures from London Paddington?' to verify it's working. 4. If Claude doesn't recognise a station name, use the three-letter CRS code instead (e.g. PAD, MAN, BHM). 5. Watch out for rate limits on the free tier if you're querying frequently. Space out requests or upgrade your Realtime Trains account if needed.

Works with

Claude DesktopClaude CodeCursor

Similar MCPs