NS Travel Information MCP Server
About
An MCP server that provides access to NS (Dutch Railways) travel information.
Details
- Author
- MCP-Mirror
- Downloads
- 257
- Categories
- Media
Jump to
- Access NS Dutch Railways travel information
- Integrates with Claude Desktop via MCP
- Uses a single required environment variable (NS_API_KEY)
- Runs on Node.js with simple npm setup
- Lightweight and open source (MIT license)
Clone the repository, install dependencies with npm install, copy .env.example to .env, add your NS API key as NS_API_KEY, then start the server with npm start. For Claude Desktop integration, add the server to claude_desktop_config.json with the command node and the path to build/index.js and the API key in the env object.
NS Travel Information MCP Server
An MCP server that provides access to NS (Dutch Railways) travel information.
<a href="https://glama.ai/mcp/servers/tzd5oz5tov"></a>
Setup
1. Clone this repository
2. Install dependencies:
npm install
3. Copy the example environment file:
cp .env.example .env
4. Add your NS API key to the
.env file: NS_API_KEY=your_api_key_here
You can get an API key from NS API Portal
5. Run the server:
npm start
Integration with Claude Desktop
To add this server to Claude Desktop, update your Claude configuration file (~/Library/Application Support/Claude/claude_desktop_config.json) by adding the following to the mcpServers object:
{
"mcpServers": {
"ns-server": {
"command": "node",
"args": [
"/path/to/ns-server/build/index.js"
],
"env": {
"NS_API_KEY": "your_api_key_here"
}
}
}
}
Make sure to:
1. Replace /path/to/ns-server with the actual path to your installation
2. Add your NS API key in the env section
After updating the configuration, restart Claude Desktop for the changes to take effect.
Environment Variables
| Variable | Description |
|----------|-------------|
| NS_API_KEY | Your NS API key (required) |
License
This project is licensed under the MIT License - see the LICENSE file for details
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.
