NS Travel Information MCP Server logo

NS Travel Information MCP Server

by MCP-Mirror

This is an MCP server that provides access to travel information from NS (Dutch Railways). It allows users to retrieve real-time train schedules, delays, and other relevant travel data.

View on GitHub

Last updated: N/A

What is NS Travel Information MCP Server?

This server is an MCP (Modular Computation Platform) server specifically designed to provide access to travel information from NS (Nederlandse Spoorwegen), the Dutch Railways. It acts as an intermediary, fetching data from the NS API and making it available for use in other applications, such as Claude Desktop.

How to use NS Travel Information MCP Server?

To use this server, you need to clone the repository, install the dependencies using npm install, obtain an NS API key from the NS API Portal, and add it to the .env file. Then, you can start the server using npm start. For integration with Claude Desktop, you need to update the Claude configuration file with the server's command and environment variables.

Key features of NS Travel Information MCP Server

  • Access to NS travel information

  • Real-time train schedules

  • Delay information

  • Integration with Claude Desktop

  • Easy setup with npm

Use cases of NS Travel Information MCP Server

  • Integrating NS travel information into Claude Desktop

  • Building applications that require real-time train data

  • Creating travel planning tools

  • Monitoring train delays

  • Providing travel updates to users

FAQ from NS Travel Information MCP Server

Where do I get an NS API key?

You can obtain an API key from the NS API Portal (https://apiportal.ns.nl/)

How do I update the Claude Desktop configuration?

You need to edit the claude_desktop_config.json file located in ~/Library/Application Support/Claude/ and add the server configuration to the mcpServers object.

What environment variables are required?

The only required environment variable is NS_API_KEY, which should contain your NS API key.

What is MCP?

MCP stands for Modular Computation Platform. It's a framework for building and deploying modular servers.

How do I run the server?

After setting up the environment variables, you can run the server using the command npm start.