NS Travel Information MCP Server logo

NS Travel Information MCP Server

by r-huijts

This MCP server connects Claude to real-time NS (Nederlandse Spoorwegen) travel information, turning your AI assistant into a Dutch railways expert. It's your perfect companion for navigating the Netherlands by train.

View on GitHub

Last updated: N/A

What is NS Travel Information MCP Server?

The NS Travel Information MCP Server is a tool that integrates real-time Dutch railway (NS) data with AI assistants like Claude. It allows users to query information about train schedules, delays, platform information, and ticket prices.

How to use NS Travel Information MCP Server?

The server can be installed using NPM, Smithery, or from source. After installation, you need to configure your Claude Desktop application to connect to the server, providing your NS API key. Once configured, you can ask Claude questions about NS travel information.

Key features of NS Travel Information MCP Server

  • Real-time train departures and arrivals

  • Journey planning with transfers and updates

  • Ticket pricing information

  • Station details including facilities and accessibility

  • Multi-language support (Dutch and English)

Use cases of NS Travel Information MCP Server

  • Checking if a train is running on time

  • Finding alternative routes during delays

  • Determining the best train to arrive at a destination by a specific time

  • Finding routes with the fewest transfers

  • Checking OV-fiets availability at a station

FAQ from NS Travel Information MCP Server

How do I get an NS API key?

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

What environment variables are required?

The NS_API_KEY environment variable is required to authenticate with the NS API.

What kind of information can I query?

You can query real-time train information, ticket prices, and station details.

How do I update the server?

If installed via NPM or Smithery, you can use the respective package managers to update the server. If installed from source, you will need to pull the latest changes from the repository and rebuild the server.

Is the server available in multiple languages?

Yes, the server supports information in both Dutch and English.