NS Travel Information

NS Travel Information

Access Dutch Railways (NS) real-time train travel information and disruptions through the official NS API.

43
Stars
13
Forks
0
Releases

Overview

NS Travel Information MCP Server exposes Dutch Railways (NS) data to Claude via an MCP server. It connects Claude to NS real-time travel information and disruptions. The server provides endpoints for real-time train information (departures, arrivals, journey planning, and service updates), pricing data (ticket prices, travel classes, group pricing, discounts, and validity), and station information (station details, facilities, accessibility, platform layouts, OV-fiets availability). It supports multi-language output (Dutch and English), flexible queries by station name, code, or UIC identifier, and correct time zone handling for international stations. The project can be installed in three ways: via Claude Desktop with npm package, via Smithery, or from source. It requires an NS API key (NS_API_KEY) and configuration in Claude to point to the MCP server command and environment variables. After setup, Claude can answer questions like on-time statuses, delays, best routes, and pricing, using live data from NS.

Details

Owner
r-huijts
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

Real-time Train Information

Provides live data for departures, arrivals, platform numbers, delays and status updates.

Departures

Returns real-time departure details including platform numbers, delays and travel notes.

Arrivals

Returns real-time arrival details including origin stations, platform changes and status updates.

Journey Planning

Finds optimal routes with transfers and real-time updates.

Service Updates

Monitors disruptions, maintenance work and engineering activities in real time.

Pricing Information

Provides ticket prices, travel classes, group pricing, discounts and validity details.

Station Details

Offers comprehensive station information including facilities, accessibility, platform layouts and OV-fiets availability.

Multi-language & Flexible Queries

Supports Dutch and English output and allows queries by station name, code or UIC.

Audience

Claude usersEnable Claude to answer questions about real-time NS train statuses and disruptions.
Travel planners / AI developersDeliver live NS travel data to travelers for planning routes and fares via Claude.

Tags

NSNederlandse Spoorwegenreal-timetrain informationpricingstation informationMCP serverClaudetravelOV-fietsmulti-languagetime zones