by r-huijts
Provides real-time Dutch railway travel information—including departures, arrivals, journey planning, pricing, and station facilities—through an MCP server that Claude can query.
Ns Travel Information Server delivers up‑to‑date NS (Nederlandse Spoorwegen) train data to Claude AI via the Model Context Protocol. It exposes endpoints for real‑time departures, arrivals, journey planning, service disruptions, ticket pricing, and detailed station information.
{
"mcpServers": {
"ns-server": {
"command": "npx",
"args": ["-y", "ns-mcp-server"],
"env": { "NS_API_KEY": "your_api_key_here" }
}
}
}
~/Library/Application Support/Claude/claude_desktop_config.json
(or the equivalent Claude config location).Q: Where do I obtain an NS API key? A: Register at the NS API Portal (https://apiportal.ns.nl/) and create an application to receive a key.
Q: Which environment variable name should I use?
A: The server expects NS_API_KEY
.
Q: Can I run the server locally without installing globally?
A: Yes, use the npx
command as shown in the example; it will fetch and run the package on demand.
Q: Does the server support both Dutch and English queries? A: Yes, responses are provided in both languages based on the request.
Q: What Node.js version is required? A: The project works with Node 14+; the NPM package handles compatible versions automatically.
Q: How do I update the server when a new version is released?
A: Run npx -y ns-mcp-server
again; npx
always fetches the latest version.
Transform your AI assistant into a Dutch railways expert! This MCP server connects Claude to real-time NS (Nederlandse Spoorwegen) travel information, making it your perfect companion for navigating the Netherlands by train.
You can install this server in three ways:
Update your Claude configuration file (~/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"
}
}
}
}
You can get an API key from NS API Portal
To install NS Travel Information Server automatically via Smithery:
npx -y @smithery/cli install ns-server --client claude
npm install
cp .env.example .env
.env
file:
NS_API_KEY=your_api_key_here
Then update your Claude configuration file:
{
"mcpServers": {
"ns-server": {
"command": "node",
"args": [
"/path/to/ns-server/build/index.js"
],
"env": {
"NS_API_KEY": "your_api_key_here"
}
}
}
}
Make sure to:
/path/to/ns-server
with the actual path to your installationenv
section. It can be obtained from here https://apiportal.ns.nl/product#product=NsAppAfter updating the configuration, restart Claude Desktop for the changes to take effect.
Variable | Description |
---|---|
NS_API_KEY | Your NS API key (required) |
This MCP server provides comprehensive access to NS train information through the following endpoints:
This project is licensed under the MIT License - see the LICENSE file for details
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "ns-server": { "command": "npx", "args": [ "-y", "ns-mcp-server" ], "env": { "NS_API_KEY": "<YOUR_API_KEY>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by mattt
Enables AI assistants to retrieve and manage personal macOS data such as calendar events, contacts, messages, reminders, location, maps, and weather through a local MCP server, allowing personalized AI interactions without sending data off‑device.
by nspady
Provides Google Calendar integration for AI assistants, enabling event listing, creation, updating, deletion, free/busy queries, recurring event handling, and smart scheduling via natural language.
by baidu-maps
Offers a comprehensive suite of geospatial APIs and tools for developers and AI agents, enabling geocoding, reverse geocoding, POI search, route planning, weather, traffic, IP location, and real‑time traffic queries via standardized MCP interfaces.
by Omar-V2
Interact with the macOS Calendar through natural‑language commands, enabling creation, querying, and updating of events in a conversational way.
by GongRzhe
Enables LLMs to perform travel-related tasks such as location search, place details lookup, route calculation, and timezone retrieval using Google Maps services.
by zcaceres
Integrates with Google Tasks to list, read, search, create, update, and delete tasks via MCP tools.
by v-3
Interact with Google Calendar to list, create, update, delete events and find free time slots via Claude.
by TimLukaHorstmann
Provides hourly and daily weather forecasts via the AccuWeather API for Model Context Protocol (MCP) integration with language models.
by isdaniel
Provides current weather, historical weather ranges, and timezone‑aware current datetime for specified cities using the free Open‑Meteo API.