# Lombardia Trains [Health: Active]

**Category:** 🚆 Travel & Transportation  
**Repository:** https://github.com/DenisRaimondi/lombardia-trains-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lombardia-trains

## Description
Live Lombardy train boards, delays, platforms, and journey planning. No API key.

## Tools
Capabilities this server exposes over MCP:

- **now** — "what time and day is it in Italy?"
- **search_station** — "what is the station code for Milano Centrale?"
- **get_departures** — "what is leaving Milano Cadorna on Saturday morning?"
- **get_arrivals** — "when does the train from Varese get in?"
- **find_connection** — "which direct trains go from Milano Cadorna to Como?"
- **find_journey** — "how do I get from Castellanza to Como Lago on Monday morning?"
- **get_train** — "where is train 4307 right now, and how late is it?"

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "lombardia-trains": {
    "command": "npx",
    "args": ["-y","lombardia-trains"]
  }
}
```

## Documentation

## What Lombardia Trains does

The Lombardia Trains MCP server exposes train information for Lombardy through seven MCP tools. It can identify station codes, show departures and arrivals, find direct connections, plan a journey with one change, report the current position and delay of a train, and provide the current date and time in Italy.

Its data comes from the regional timetable published as open data, together with public ViaggiaTreno services from RFI/Trenitalia and Trenord APIs. No API key, account, or web scraping is required. Information can include scheduled services, live delays, platforms, cancellations, stop-by-stop progress, and crowding when those upstream sources provide it.

## How it works

Use `now` before interpreting relative requests such as “tonight,” “Saturday,” or “Monday morning.” The tool supplies the Italian date and time that other calls need. Station inputs can be either a station name or a code, and times can use `HH:mm` for today or an ISO timestamp for another date.

The server does not silently choose among ambiguous stations. If a name matches multiple locations, it returns the alternatives so the calling model can ask the user to clarify. Requests for places outside the supported coverage area receive an explanation rather than an invented result.

`find_connection` searches only for direct trains. It uses live departure boards and candidate train stop lists, so its results can include current delays and platforms, but it does not build a transfer. `find_journey` is the transfer-aware option: it plans a route with at most one change from timetable data and may use Swiss open data when the regional timetable does not cover part of the trip. Journey options are ranked by arrival time, and planned times do not include live delay updates.

## Setup and configuration

Install the .NET global tool with:

```bash
dotnet tool install -g LombardiaTrains.Mcp
```

Register the resulting `lombardia-trains-mcp` command in an MCP client using a standard stdio configuration. Claude Desktop can launch it with a server entry whose command is `lombardia-trains-mcp`. Claude Code can register the same command with `claude mcp add lombardia-trains -- lombardia-trains-mcp`.

No environment variables, credentials, or API keys are specified for running the server.

## Tools and capabilities

- `now`: returns the current time and day in Italy.
- `search_station`: finds a station and its code from a name or code.
- `get_departures`: lists departures for a station and requested time.
- `get_arrivals`: lists arrivals for a station and requested time.
- `find_connection`: finds direct services between two stations.
- `find_journey`: plans a journey with no more than one change.
- `get_train`: reports live train location, progress, delay, and available operational details.

The Lombardia Trains MCP server is a fit for assistants that need to answer “what leaves next,” “when does it arrive,” “which direct train should I take,” or “how do I get there” questions using Italian rail data.

## Limitations and notes

The one-change limit is deliberate; the server does not search journeys requiring two or more changes. Direct-connection results and train-status data depend on the public upstream services, while journey planning uses scheduled timetable information and therefore should not be treated as live-delay-aware.

Coverage is focused on Lombardy and does not imply service for every nearby destination. Station names can refer to separate national and regional stations, so clarification may be necessary. For the most current operational picture, combine timetable-based journey planning with the live board or train-status tools where appropriate.

_Full upstream README: https://allmcps.com/mcp/lombardia-trains/readme_

