# ViaggiaTreno

> ViaggiaTreno is an open-source MCP server. Italian railways in real time: stations, departures, delays, train status and routes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/matteoredaelli/pyviaggiatreno
- **MCP Registry name:** io.github.matteoredaelli/viaggiatreno-mcp
- **Listing updated:** 2026-11-18

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add viaggiatreno-mcp -- uvx viaggiatreno-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "viaggiatreno-mcp": {
      "command": "uvx",
      "args": [
        "viaggiatreno-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "viaggiatreno-mcp": {
      "command": "uvx",
      "args": [
        "viaggiatreno-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "viaggiatreno-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "viaggiatreno-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "viaggiatreno-mcp": {
      "command": "uvx",
      "args": [
        "viaggiatreno-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "viaggiatreno-mcp": {
      "command": "uvx",
      "args": [
        "viaggiatreno-mcp"
      ]
    }
  }
}
```

## FAQ

### Is ViaggiaTreno free?

Yes. ViaggiaTreno is open source, so you can use and self-host it for free.

### How do I add ViaggiaTreno to Claude Code?

Run this command in your terminal: claude mcp add viaggiatreno-mcp -- uvx viaggiatreno-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/viaggiatreno
