NS Travel Information MCP Server
by r-huijts
get_prices
Get price information for domestic train journeys, including different travel classes, ticket types, and discounts. Returns detailed pricing information with conditions and validity.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
adults | No | Number of adults to return the price for | |
children | No | Number of children to return the price for | |
fromStation | Yes | UicCode or station code of the origin station | |
isJointJourney | No | Set to true to return the price including joint journey discount | |
plannedArrivalTime | No | Format - date-time (as date-time in RFC3339). Used to find the correct route if multiple routes are possible. | |
plannedDepartureTime | No | Format - date-time (as date-time in RFC3339). Used to find the correct route if multiple routes are possible. | |
routeId | No | Specific identifier for the route to take between the two stations. This routeId is returned in the /api/v3/trips call. | |
toStation | Yes | UicCode or station code of the destination station | |
travelClass | No | Travel class to return the price for | |
travelType | No | Return the price for a single or return trip | single |