Train Times for Muse

MCP documentation

A hosted, read-only MCP server giving live UK rail departures.

Connection

Endpointhttps://traintimesformuse.co.uk/mcp
TransportHTTP POST, JSON-RPC 2.0, stateless (no sessions)
Protocol version2025-03-26
AuthenticationNone. The data is public and read-only, and no user data is involved.
Methodsinitialize, ping, tools/list, tools/call

Tool: get_departures

Live departures from a UK station: scheduled and expected time, platform, delays and cancellations with reasons. With a destination, only trains calling there are returned, with their scheduled and expected arrival time at it.

ArgumentTypeDescription
from (required)stringDeparture station name or 3-letter CRS code, e.g. Reading or RDG. All ~2,600 Great Britain stations are recognised.
tostringOptional destination station name or CRS code.

Example

curl -X POST https://traintimesformuse.co.uk/mcp -d '{
  "jsonrpc": "2.0", "id": 1, "method": "tools/call",
  "params": { "name": "get_departures",
              "arguments": { "from": "Reading", "to": "Paddington" } }
}'

The result is a JSON text block, for example:

{"ok":true,"station":"Reading","source":"National Rail via Rail Data Marketplace","notice":"Live information is provided as is…","departures":[
  {"scheduled":"09:09","expected":"On time","platform":"15A",
   "to":"London Paddington","operator":"Great Western Railway",
   "cancelled":false,
   "arrivesAtDestination":{"scheduled":"09:52","expected":"On time"}}
]}

Limits and errors

Data sources

Live rail data from National Rail via Rail Data Marketplace. Station list from davwheat/uk-railway-stations under the Open Database Licence.

Support

support@traintimesformuse.co.uk · Privacy · Terms