NS Travel Information MCP Server
About This Server
A Model Context Protocol (MCP) server that provides access to NS (Dutch Railways) travel information through Claude AI. This server enables Claude to fetch real-time train travel information and disruptions using the official Dutch NS API.
Server Information
This webpage provides information about the "ns-mcp-server" GitHub repository, which hosts a Model Context Protocol (MCP) server designed to provide access to NS (Nederlandse Spoorwegen - Dutch Railways) travel information via Claude AI. The server enables Claude to retrieve real-time train travel information and disruption details using the official NS API.
ā Key Points:
- The repository contains code for an MCP server tailored for NS travel data.
- The server interfaces with Claude AI, allowing it to access and use NS train information.
- The project uses the official Dutch NS API to fetch real-time data.
- Installation can be performed using Claude Desktop with NPM, Smithery, or directly from the source code.
- The primary function of the project is to act as a bridge between Claude AI and the NS API for travel-related queries.
- The documentation includes installation instructions and configuration details.
- The project utilizes environment variables, specifically `NSAPIKEY`, for authentication with the NS API.
- Features provided include access to real-time train information, pricing details, and station-specific data.
- Programming languages used in the project include TypeScript (57.1%), JavaScript (40.5%), and Dockerfile (2.4%).
- The project is released under the MIT License.
- The repository has received 11 stars and has been forked 2 times.
- The repository comprises 11 files, including source code, configuration files, and documentation.
š Main Findings:
š Details:
šÆ Conclusion:
The "ns-mcp-server" GitHub repository hosts a specialized MCP server enabling Claude AI to access and utilize Dutch Railways (NS) travel information. The project aims to streamline access to real-time train data and related services for AI assistants, offering functionalities such as journey planning, pricing information, and station details.
Server Features
Departures
Get real-time departure information including platform numbers, delays, and travel notes
Arrivals
Access upcoming train arrivals with origin stations, platform changes, and status updates
Journey Planning
Find optimal travel routes with transfers and real-time updates
Service Updates
Check for disruptions, maintenance work, and engineering activities
Ticket Prices
Get accurate pricing for single and return journeys
Travel Classes
Compare prices for first and second class travel
Group Pricing
Calculate fares for adults and children
Discount Options
Check joint journey discounts and special offers
Validity Details
View ticket validity periods and travel conditions
Station Details
Access comprehensive station information including facilities, accessibility, platform layouts, OV-fiets availability, location, and approach details
Multi-language Support
Information available in Dutch and English
Flexible Queries
Search by station name, code, or UIC identifier
Time Zones
Proper handling of time zones for international stations
Status Updates
Track changes, delays, and cancellations in real-time