MCP Server for Italian Train Data: Real-Time Delays, Departures, and Schedules in Claude

A developer has created an unofficial MCP server for Trenitalia that allows Claude to answer train-related questions in natural language. The project was built to solve the daily commute problem of switching between apps to check train delays in Italy.
Available Tools
- Search stations by name (handles fuzzy input like "Tuscolana" or "Roma Termini")
- Real-time departure board
- Real-time arrival board
- Full train tracking — position, delay, all stops
- Schedules between two stations with live delay enrichment
Technical Implementation
The schedule functionality uses hybrid logic: it pulls static timetables from the official NeTEx Italian Profile (25,480 scheduled trips), then cross-checks with Viaggiatreno's live API to filter out "ghost trains" — trains that exist in the timetable but don't actually stop at that station. For departures in the next 90 minutes, it also injects real-time delay data via asyncio.gather.
The server works in both stdio mode (for Claude Desktop and Cursor) and SSE mode for remote deployment. The repository is available at https://github.com/Fanfulla/MCP_Trenitalia.
📖 Read the full source: r/ClaudeAI
👀 See Also

mistral.rs Adds Support for Gemma 4 12B: Multimodal, Agentic, and MTP
mistral.rs now supports Gemma 4 12B with multimodal, agentic, and MTP integration. One-step install and run with web search, code execution, and built-in UI.

LobsterBoard adds theme system and template gallery
LobsterBoard now includes a theme system with five visual options and a template gallery that allows users to export and import dashboard layouts with automatic sensitive data stripping.

Coasts: Containerized Hosts for Running Multiple Localhost Environments
Coasts is a Docker-in-Docker solution that solves the problem of running multiple localhost environments simultaneously, handling port conflicts, secrets, and volume topologies without requiring complex scripting.

Moving from CLAUDE.md rules to infrastructure enforcement with Citadel
A developer found that adding more rules to CLAUDE.md beyond about 100 lines reduced compliance, with 40% redundancy in their file. The solution was moving enforcement from instructions to infrastructure using lifecycle hooks, skills, and campaign files, culminating in the open-source Citadel system.