mcp-ns-railways
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-ns-railwaysWhat are the next departures from Amsterdam Centraal?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-ns-railways
MCP server for Dutch railway queries via the NS API. Covers NS intercity, Sprinter, and international train services.
Status: Work in Progress — Server scaffolding is in place. Tools are not yet implemented.
Prerequisites
Bun runtime (
curl -fsSL https://bun.sh/install | bash)An NS API key — free registration required
Related MCP server: ns-bridge
Planned Tools
ns_search_stations— Search Dutch railway stations by namens_get_departures— Get departures from a station with live delay infons_get_trips— Plan journeys between two Dutch stationsns_get_disruptions— Get current disruptions and maintenance works
Data Source
The NS Developer Portal provides access to NS timetable, real-time, and disruption data. Free registration gives access to the Reisinformatie API.
Install
git clone git@github.com:McCullonas/mcp-ns-railways.git
cd mcp-ns-railways
bun installMCP Client Configuration (once implemented)
{
"mcpServers": {
"ns-railways": {
"command": "bun",
"args": ["run", "/path/to/mcp-ns-railways/src/index.ts"],
"env": {
"NS_API_KEY": "your-key-here"
}
}
}
}Licence
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for China Railway 12306 ticket availability: schedules and seats by Chinese station name.
MCP server for generating rough-draft project plans from natural-language prompts.
An MCP server for weather information by @kulybaba
Related MCP Servers
- AlicenseAqualityFmaintenanceAn MCP server that provides access to NS (Dutch Railways) travel information.825 npm62MIT
- AlicenseAqualityCmaintenanceAn MCP server that enables AI assistants to interact with the Netherlands Railways (NS) API for route planning, pricing, and real-time departure information. It provides tools for searching stations, planning trips with connections, and viewing real-time departure boards.31MIT
- FlicenseNot gradedqualityFmaintenanceAn MCP server to retrieve train schedules from National Rail using the Realtime Trains API, providing tools for live departures and arrivals.7-
- FlicenseNot gradedqualityDmaintenanceMCP server for querying Belgian railway data (SNCB/NMBS) via the iRail API, enabling station search, liveboard, and journey planning.-