Back to Home
eze-godoy icon

mcp-server-ns-bridge

Verified Safe

by eze-godoy

Overview

Integrates Netherlands Railways (NS) train information (route planning, pricing, real-time departures) into AI assistants via the Model Context Protocol (MCP).

Installation

Run Command
docker run -i --rm --init -e NS_API_KEY=your_api_key_here ezegodoy26/mcp-server-ns-bridge:latest

Environment Variables

  • NS_API_KEY
  • NS_API_BASE_URL
  • ENVIRONMENT

Security Notes

The server uses `pydantic-settings` to load the NS API key from environment variables, avoiding hardcoded secrets. It employs robust error handling with `try...except` blocks and logs exceptions internally. Running as a stdio server via Docker means no exposed network ports, reducing the attack surface. Pydantic models are used for input/output validation, enhancing data integrity. Minor information leak in `search_trips` error handling that returns a `traceback` key for unexpected errors, though typically for debugging and not directly user-facing in normal operation.

Similar Servers

Stats

Interest Score30
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars1
Forks0
Last Update2026-01-19

Tags

NS TrainsNetherlandsAI AssistantTravelReal-time