NS Travel Information MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NS_API_KEYYesYour NS API key (required). You can get an API key from the NS API Portal.

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_disruptionsGet current train disruptions from NS API
get_travel_adviceGet travel advice between two train stations
get_departuresGet list of departing trains from a station