1. Conduid
  2. Maps
  3. r-huijts/ns-mcp-server
MCP server · Maps

r-huijts/ns-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.

Unclaimed MIT last commit a year ago maps
52Fair

Scored 21 hours ago · breakdown

About r-huijts/ns-mcp-server

r-huijts/ns-mcp-server is an MCP server published by r-huijts in the Maps category: 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. Conduid read 8 tools from its source: get_arrivals, get_current_time_in_rfc3339, get_departures, get_disruptions, get_ovfiets, get_prices and 2 more. No package is published for it, so it installs from a source checkout.

The repository has 66 stars and 19 forks, is licensed MIT, and its last commit was on 26 Aug 2025. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include maps.

Install

From source
git clone https://github.com/r-huijts/ns-mcp-server

Tools (8)

get_arrivalsGet real-time arrival information for trains at a specific station, including platform numbers, delays, origin stations, and any relevant travel notes. Returns a list of upcoming arrivals with timing, origin, and status information.
ParameterTypeDescription
dateTimestringFormat - date-time (as date-time in RFC3339). Only supported for arrivals at foreign stations. Defaults to server time (Europe/Amsterdam)
langstringLanguage for localizing the arrivals list. Only a small subset of text is translated, mainly notes. Defaults to Dutch
maxJourneysnumberNumber of arrivals to return
stationstringNS Station code for the station (e.g., ASD for Amsterdam Centraal). Required if uicCode is not provided
uicCodestringUIC code for the station. Required if station code is not provided
get_current_time_in_rfc3339Get the current server time (Europe/Amsterdam timezone) in RFC3339 format. This can be used as input for other tools that require date-time parameters.
get_departuresGet real-time departure information for trains from a specific station, including platform numbers, delays, route details, and any relevant travel notes. Returns a list of upcoming departures with timing, destination, and status information.
ParameterTypeDescription
dateTimestringFormat - date-time (as date-time in RFC3339). Only supported for departures at foreign stations. Defaults to server time (Europe/Amsterdam)
langstringLanguage for localizing the departures list. Only a small subset of text is translated, mainly notes. Defaults to Dutch
maxJourneysnumberNumber of departures to return
stationstringNS Station code for the station (e.g., ASD for Amsterdam Centraal). Required if uicCode is not provided
uicCodestringUIC code for the station. Required if station code is not provided
get_disruptionsGet comprehensive information about current and planned disruptions on the Dutch railway network. Returns details about maintenance work, unexpected disruptions, alternative transport options, impact on travel times, and relevant advice. Can filter for active disruptions and specific disruption types.
ParameterTypeDescription
isActivebooleanFilter to only return active disruptions
typestringType of disruptions to return (e.g., MAINTENANCE, DISRUPTION)
get_ovfietsGet OV-fiets availability at a train station
ParameterTypeDescription
stationCode *stringStation code to check OV-fiets availability for (e.g., ASD for Amsterdam Centraal)
get_pricesGet price information for domestic train journeys, including different travel classes, ticket types, and discounts. Returns detailed pricing information with conditions and validity.
ParameterTypeDescription
adultsintegerNumber of adults to return the price for
childrenintegerNumber of children to return the price for
fromStation *stringUicCode or station code of the origin station
isJointJourneybooleanSet to true to return the price including joint journey discount
plannedArrivalTimestringFormat - date-time (as date-time in RFC3339). Used to find the correct route if multiple routes are possible.
plannedDepartureTimestringFormat - date-time (as date-time in RFC3339). Used to find the correct route if multiple routes are possible.
routeIdstringSpecific identifier for the route to take between the two stations. This routeId is returned in the /api/v3/trips call.
toStation *stringUicCode or station code of the destination station
travelClassstringTravel class to return the price for
travelTypestringReturn the price for a single or return trip
get_station_infoGet detailed information about a train station
ParameterTypeDescription
includeNonPlannableStationsbooleanInclude stations where trains do not stop regularly
limitnumberMaximum number of results to return
query *stringStation name or code to search for
get_travel_adviceGet detailed travel routes between two train stations, including transfers, real-time updates, platform information, and journey duration. Can plan trips for immediate departure or for a specific future time, with options to optimize for arrival time. Returns multiple route options with status and crowding information.
ParameterTypeDescription
dateTimestringFormat - date-time (as date-time in RFC3339). Datetime that the user want to depart from his origin or or arrive at his destination
fromStation *stringName or code of departure station
searchForArrivalbooleanIf true, dateTime is treated as desired arrival time
toStation *stringName or code of destination station

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 682 words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 5 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:3
Starts other programs
No calls that start other programs
Outbound network calls
1 callsrc/services/NSApiService.ts:33
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 5 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 682 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About r-huijts/ns-mcp-server

How do I install r-huijts/ns-mcp-server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is r-huijts/ns-mcp-server safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Conduid's scan of 5 source files found that it serves MCP over stdio and makes outbound network calls (1 call). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is r-huijts/ns-mcp-server still maintained?

The last commit was a year ago and 11 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does r-huijts/ns-mcp-server provide?

Conduid read 8 tools from the source: get_arrivals, get_current_time_in_rfc3339, get_departures, get_disruptions, get_ovfiets, get_prices, get_station_info and get_travel_advice. 7 of them publish their parameters, listed under Tools above.

What license is r-huijts/ns-mcp-server released under?

The repository declares the MIT license.