Get real-time departure information for a specific station including platform numbers, delays, and travel notes
Access upcoming train arrivals with origin stations, platform changes, and status updates
Find optimal travel routes with transfers and real-time updates
Check for service disruptions, maintenance work, and engineering activities
Get accurate pricing for single and return journeys, including different travel classes
Access comprehensive station information including facilities, accessibility features, and bike rental availability
Transform your AI assistant into a Dutch railways expert with real-time NS (Nederlandse Spoorwegen) travel information. This server connects Claude to the official NS API, providing up-to-date train schedules, platform information, disruptions, and pricing details for navigating the Netherlands by train. With this MCP, you can check train departures and arrivals, plan optimal routes, get ticket pricing, and access detailed station information including facilities and accessibility features. It's the perfect companion for anyone traveling through the Netherlands by train, whether you're a daily commuter or occasional visitor.
This MCP server provides access to real-time train information from NS (Nederlandse Spoorwegen), the Dutch national railway operator. It allows Claude to fetch accurate train schedules, disruptions, pricing, and station information directly from the official NS API.
You can install this server in three different ways:
~/Library/Application Support/Claude/claude_desktop_config.json
:{
"mcpServers": {
"ns-server": {
"command": "npx",
"args": [
"-y",
"ns-mcp-server"
],
"env": {
"NS_API_KEY": "your_api_key_here"
}
}
}
}
your_api_key_here
with your actual NS API keyYou can install the NS Travel Information Server automatically via Smithery:
npx -y @smithery/cli install ns-server --client claude
git clone https://github.com/r-huijts/ns-mcp-server.git
cd ns-mcp-server
npm install
cp .env.example .env
.env
file: NS_API_KEY=your_api_key_here
{
"mcpServers": {
"ns-server": {
"command": "node",
"args": [
"/path/to/ns-server/build/index.js"
],
"env": {
"NS_API_KEY": "your_api_key_here"
}
}
}
}
Make sure to replace /path/to/ns-server
with the actual path to your installation and add your NS API key.
Once installed, you can ask Claude questions about Dutch train travel such as:
The MCP server will connect to the NS API to fetch real-time information and provide accurate answers to these queries.
This MCP provides comprehensive access to NS train information including:
The only required environment variable is:
NS_API_KEY
: Your NS API key obtained from the NS API Portal