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

✍️ OpenClawRadar📅 Published: March 17, 2026🔗 Source
MCP Server for Italian Train Data: Real-Time Delays, Departures, and Schedules in Claude
Ad

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
Ad

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

Ad

👀 See Also