Back to Home
eze-godoy icon

py-mcp-train-nl

Verified Safe

by eze-godoy

Overview

Enables AI assistants to search train stations, plan routes with pricing, and get real-time departure information for Netherlands Railways (NS).

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

Security Notes

The project follows good security practices: NS_API_KEY is loaded from environment variables (not hardcoded), and `httpx` is used for API calls. Docker images run as non-root users with multi-stage builds. A minor concern is the inclusion of `traceback.format_exc()` in generic `Exception` handlers in `search_trips`, which could expose internal details in a production environment, although not a critical vulnerability.

Similar Servers

Stats

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

Tags

NS TrainsPublic TransportRoute PlanningReal-time DataAI Assistant