NS Travel Information MCP Server

get_arrivals

Get real-time arrival information for trains at a specific station, including platform numbers, delays, origin stations, and any relevant travel notes. Returns a list of upcoming arrivals with timing, origin, and status information.

Input Schema

NameRequiredDescriptionDefault
dateTimeNoFormat - date-time (as date-time in RFC3339). Only supported for arrivals at foreign stations. Defaults to server time (Europe/Amsterdam)
langNoLanguage for localizing the arrivals list. Only a small subset of text is translated, mainly notes. Defaults to Dutchnl
maxJourneysNoNumber of arrivals to return
stationNoNS Station code for the station (e.g., ASD for Amsterdam Centraal). Required if uicCode is not provided
uicCodeNoUIC code for the station. Required if station code is not provided

Input Schema (JSON Schema)

{ "oneOf": [ { "required": [ "station" ] }, { "required": [ "uicCode" ] } ], "properties": { "dateTime": { "description": "Format - date-time (as date-time in RFC3339). Only supported for arrivals at foreign stations. Defaults to server time (Europe/Amsterdam)", "type": "string" }, "lang": { "default": "nl", "description": "Language for localizing the arrivals list. Only a small subset of text is translated, mainly notes. Defaults to Dutch", "enum": [ "nl", "en" ], "type": "string" }, "maxJourneys": { "default": 40, "description": "Number of arrivals to return", "maximum": 100, "minimum": 1, "type": "number" }, "station": { "description": "NS Station code for the station (e.g., ASD for Amsterdam Centraal). Required if uicCode is not provided", "type": "string" }, "uicCode": { "description": "UIC code for the station. Required if station code is not provided", "type": "string" } }, "type": "object" }