NS Travel Information MCP Server is an MCP server that integrates Model Context Protocol clients with the official Dutch railways (Nederlandse Spoorwegen) API. Commuters, travelers, and software developers use it to query live railway transit data directly from conversational AI interfaces. The server enables AI assistants like Claude to check real-time train departures and arrivals, monitor route delays, calculate trip durations, and check station facilities across the Netherlands. Users can inspect platform tracks, plan complex multi-leg journeys, verify wheelchair accessibility, and check the availability of rental OV-fiets bikes at specific stations. Additionally, the integration supports querying ticket pricing for first and second class, evaluating group fares, discovering joint discounts, and monitoring maintenance or service disruptions. By linking language models to live Dutch transport infrastructure, users can coordinate travel logistics and answer scheduling queries using standard natural language requests.
Category: Maps, Weather & Local Data
Tags: netherlands, railways, real-time, transportation, travel
Visit NS Travel Information MCP Server
~/Library/Application Support/Claude/claude_desktop_config.json). 3. Add ns-server to the mcpServers object: json { "mcpServers": { "ns-server": { "command": "npx", "args": ["-y", "ns-mcp-server"], "env": { "NS_API_KEY": "your_api_key_here" } } } } 4. Replace your_api_key_here with your actual NS API key. 5. Alternatively, install via Smithery by running npx -y @smithery/cli install ns-server --client claude. 6. Restart Claude Desktop to apply the changes.Part of MCP Servers
You can install the server via Smithery using the command npx -y @smithery/cli install ns-server --client claude. Alternatively, configure Claude Desktop by adding ns-server under mcpServers with command npx, args set to -y and ns-mcp-server, and your NS_API_KEY defined under the env section.
It provides access to live Dutch railway data. This includes real-time departures, train arrivals, journey planning with transfers, disruption alerts, station accessibility details, OV-fiets rental bike counts, and journey ticket pricing across first and second class fares.
The server is documented to work with Claude Desktop and can be installed into Claude using the Smithery CLI. Because it adheres to the standard Model Context Protocol, it can also run on other compatible MCP client hosts.
Yes, you must obtain an API key from the official NS API Portal. You configure this key under the NS_API_KEY environment variable when registering the server in your MCP client configuration file.
Yes, the server is open source. It is licensed under the MIT License and hosted on GitHub under the repository r-huijts/ns-mcp-server.