ViaggiaTreno

● Active

io.github.matteoredaelli/viaggiatreno-mcp

Italian railways in real time: stations, departures, delays, train status and routes.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "viaggiatreno-mcp": {
      "command": "uvx",
      "args": [
        "viaggiatreno-mcp"
      ]
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add viaggiatreno-mcp -- uvx viaggiatreno-mcp
OpenAI Codex CLI
codex mcp add viaggiatreno-mcp -- uvx viaggiatreno-mcp
VS Code
code --add-mcp '{"name":"viaggiatreno-mcp","type":"stdio","command":"uvx","args":["viaggiatreno-mcp"]}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Maps, Travel & Weather
Version
0.4.2
Registry
active
Published
11/18/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 21, 2026

Looks healthy: ViaggiaTreno is maintained, open source.

Maintained
Active
Last commit 4 days ago (Nov 18, 2026), 0 open issues.
Official registry
Active
Published as io.github.matteoredaelli/viaggiatreno-mcp in the official MCP registry, version 0.4.2.
Source
Open source, GPL-3.0
Public repository under the GPL-3.0 licence, 3 stars, 0 forks.
Runs
On your machine
A local PyPI package started by your client; it can reach whatever your user account can.
Credentials
None declared
The registry entry declares no required environment variables.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

On GitHub

read Nov 18, 2026
Stars
3
Forks
0
Last push
Nov 18, 2026
License
GPL-3.0

Python

From the README

pyviaggiatreno Monorepo Python (workspace uv) basato sulle API non ufficiali di ViaggiaTreno (treni in Italia): libreria client, server MCP e crawler che salva dati storici in SQLite. 📦 Packages Non esiste un pacchetto CLI generico separato: gli unici comandi da riga di comando sono gli entry point viaggiatreno-mcp (server MCP) e viaggiatreno-crawler (crawler). viaggiatreno - Core Library ⭐ Pure Python client library for ViaggiaTreno APIs. No MCP dependencies. Usage: viaggiatreno-mcp - MCP Server Model Context Protocol server for Claude, pi, and other AI agents. Start server: Configure in Claude, pi, or other AI tools to use these tools: • autocompleta_stazione - Station autocomplete • cerca_stazione - Search stations • dettaglio_stazione - Station details • partenze - Departures board • arrivi - Arrivals board • stato_treno - Train status & full route • E altri... viaggiatreno-crawler - Crawler → SQLite Poller che usa la libreria core per raccogliere nel tempo dati storici sui treni (numeri, ritardi, binari, fermate) in un database SQLite locale — utile per KPI che le API ViaggiaTreno non espongono (sono solo "stato attuale", non storiche). Avvio: Flusso: stazioni (elencoStazioni e quelle scoperte da tabelloni e itinerari) → tabelloni di partenze/arrivi dei capolinea → andamento_treno una volta alla partenza e una dopo l'arrivo previsto → upsert in SQLite, con una coda di lavori a scadenza. Dettagli in packages/viaggiatreno_crawler/README.md;…

Read the full README on GitHub →

The most-starred Maps, Travel & Weather servers in the index, with their live-check result.

ServerStarsLast pushLive check
LetsFG — Flights & Hotels2,295Nov 2026Needs sign-in
Hex Research597Nov 2026Local / not checked
Google Maps MCP Server499Oct 2026Local / not checked
UI Craft465Nov 2026Local / not checked
mapbox MCP Server372Nov 2026Needs sign-in

ViaggiaTreno: questions people ask

Is ViaggiaTreno a remote or a local MCP server?
According to its entry in the official MCP registry, ViaggiaTreno ships as a local package (PyPI) that your client starts on your machine.
Is ViaggiaTreno safe to use?
Looks healthy: ViaggiaTreno is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, GPL-3.0; runs: On your machine; credentials: None declared. Serverdex check of Nov 21, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is ViaggiaTreno still maintained?
Active: the repository's last commit 4 days ago. Last push Nov 18, 2026, 3 GitHub stars, GPL-3.0 licence. Read from GitHub on Nov 18, 2026.
How do I add ViaggiaTreno to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.

More from matteoredaelli

All 5 servers by matteoredaelli →
  1. Italy Trains (ViaggiaTreno)Italian railways (Trenitalia, ViaggiaTreno): live departures, delays, train status, routes.★ 3
  2. Active Directory / LDAPActive Directory / LDAP MCP server: find users, groups, memberships; read-only security audits.★ 1
  3. ATM MilanoMilan public transport (ATM): trip planning, lines, stops, live waits and metro stations.★ 1
  4. mcpADRead-only Active Directory / LDAP: users, groups, memberships and security audits.★ 1
Browse all Maps, Travel & Weather →

Add the badge to your site

Show visitors that ViaggiaTreno is listed here — it’s also the link we check for a free listing.

ViaggiaTreno — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-matteoredaelli-viaggiatreno-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="ViaggiaTreno — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![ViaggiaTreno — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-matteoredaelli-viaggiatreno-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-matteoredaelli-viaggiatreno-mcp) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-matteoredaelli-viaggiatreno-mcp) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-matteoredaelli-viaggiatreno-mcp)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-matteoredaelli-viaggiatreno-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-matteoredaelli-viaggiatreno-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-matteoredaelli-viaggiatreno-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).