Queries Lombardy train data for live boards, journey planning, station codes, and train progress without an API key.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Lombardia Trains.
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?"
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.
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.
Install the .NET global tool with:
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.
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.
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.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/lombardia-trains)<a href="https://allmcps.com/mcp/lombardia-trains"><img src="https://allmcps.com/api/badge/lombardia-trains?style=directory" alt="Lombardia Trains on AllMCPs" /></a>