Ns Travel Information Mcp 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.
Overview
What is ns-mcp-server?
The ### ns-mcp-server is a Model Context Protocol (MCP) server designed to provide access to real-time travel information from the Dutch Railways (NS) through Claude AI. This innovative server allows users to fetch up-to-date train schedules, travel disruptions, and other essential travel data using the official NS API. It serves as a bridge between users and the vast array of travel information available from the Dutch Railways, enhancing the travel experience with immediate access to critical data.
Features of ns-mcp-server
- Real-Time Data Access: The server connects to the official NS API, ensuring that users receive the most current travel information.
- Integration with Claude AI: By leveraging Claude AI, the server can interpret user queries and provide relevant travel information seamlessly.
- User-Friendly Interface: Designed with usability in mind, the server allows users to easily access train schedules and disruptions.
- Open Source: The ns-mcp-server is publicly available, encouraging collaboration and contributions from developers around the world.
How to Use ns-mcp-server
- Installation: Clone the repository from GitHub using the command:
git clone https://github.com/r-huijts/ns-mcp-server.git - Setup: Follow the installation instructions provided in the repository's README file to set up the server on your local machine.
- API Access: Utilize the server to make requests to the NS API. You can send queries through Claude AI to retrieve real-time travel information.
- Explore Features: Experiment with different queries to understand the full capabilities of the server and how it can assist with travel planning.
Frequently Asked Questions
What programming language is ns-mcp-server built with?
The ns-mcp-server is primarily built using JavaScript, making it accessible for developers familiar with web technologies.
Is there any cost associated with using ns-mcp-server?
No, the ns-mcp-server is open-source and free to use. However, users should be aware of any usage limits or terms set by the official NS API.
Can I contribute to the ns-mcp-server project?
Absolutely! Contributions are welcome. You can submit issues, feature requests, or pull requests on the GitHub repository.
How can I report a bug or issue with the server?
You can report bugs or issues by opening an issue on the GitHub repository. Be sure to provide detailed information about the problem you encountered.
Where can I find documentation for ns-mcp-server?
Documentation is typically found in the repository's README file, along with comments in the code itself. For more detailed guidance, you can also check the issues and discussions sections on GitHub.
Details
Server Config
{
"mcpServers": {
"ns-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--r-huijts--ns-mcp-server--ns-mcp-server",
"node ./build/index.js"
],
"env": {
"NS_API_KEY": "ns-api-key"
}
}
}
}