mcp-server-ns-trains
Verified Safeby eze-godoy
Overview
Integrates Netherlands Railways (NS) train information into AI assistants for route planning, pricing, and real-time departures.
Installation
docker run -i --rm --init -e NS_API_KEY=your_api_key_here ezegodoy26/mcp-server-ns-bridge:latestEnvironment Variables
- NS_API_KEY
- NS_API_BASE_URL
- ENVIRONMENT
Security Notes
The server retrieves `NS_API_KEY` from environment variables, which is a good practice for handling secrets. It uses `httpx` for external API communication, which is a robust HTTP client. The Docker image is configured to run as a non-root user. Error handling in development mode (`ENVIRONMENT=development`) might expose stack traces in the response for unexpected errors, which is a minor information disclosure risk, but is intended for debugging and likely mitigated in production.
Similar Servers
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
mcp-server-ns-bridge
Integrates Netherlands Railways (NS) train information (route planning, pricing, real-time departures) into AI assistants via the Model Context Protocol (MCP).
nagoya-bus-mcp
Provides tools to query Nagoya City bus timetables and real-time approach information for LLM agents.
my_mcp_server
This Next.js server exposes various external data sources (Paris public transport, NPM package information, EAN barcode generation) as tools via the Model Context Protocol, enabling integrations with AI models or other systems.