T
Health: ActiveRecent health check succeeded.Last checked 7/29/2026, 7:31:03 AM

Trainrouter Atlas

Flightmussy
πŸš† Travel & Transportation
0 Views
0 Installs

πŸ“‡ ☁️ - World train-route atlas for AI assistants β€” search 744 notable train routes (high-speed, scenic, night trains) and get facts and geometry for each. Hosted at https://trainrouter.com/mcp (Streamable HTTP, no auth); data CC BY 4.0.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "flightmussy-trainrouter-atlas": {
      "command": "npx",
      "args": [
        "-y",
        "flightmussy-trainrouter-atlas"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

TrainRouter Atlas β€” the world's legendary train routes, as open data

DOI

961 train routes Β· 118 countries Β· β‰ˆ 432,800 km of route β€” every route with its key facts and hand-traced geometry, from trainrouter.com, the interactive world railway map.

High-speed spines (Eurostar, TGV, Shinkansen, AVE), classic long-distance runs (Trans-Siberian, California Zephyr), night trains (Nightjet, the Ghan) and the scenic lines people fly in just to ride (Glacier Express, Bernina Express, the Jacobite).

πŸ—ΊοΈ Explore it interactively: trainrouter.com πŸ€– Use it from an AI assistant: free MCP server at https://trainrouter.com/mcp (how to connect) β€” or run it from this repo: npm install && npm start (mcp/)

Files

FileContents
data/routes.csvOne row per route β€” all facts, no geometry
data/routes.jsonSame records with structured country objects
data/routes.geojsonLineString per route (lon/lat waypoints) + all facts as properties

Schema

FieldTypeNotes
idstringStable slug, e.g. glacier-express
namestringRoute/service name
from, tostringTerminus cities
categoryenumhigh-speed Β· classic Β· night Β· scenic
trainstringRolling stock, e.g. e320 Β· Class 374
operatorstringOperating company
distance_kmnumberRoute length
top_speed_kmhnumberService top speed
durationstringPublished journey time, e.g. 2 h 16 min
openednumberYear the line/service entered service
pax_per_yearnumber|nullApprox. annual ridership where published
countries_iso / countriesstring|-separated, in travel order (CSV); structured objects in JSON
highlightstringOne-line description of what makes the route legendary
fame_ranknumber1 = most famous (TrainRouter renown ranking)
urlstringThe route's page on trainrouter.com

Quick start

import pandas as pd
routes = pd.read_csv("data/routes.csv")
routes.nsmallest(10, "fame_rank")[["name", "from", "to", "distance_km"]]

import geopandas as gpd
gdf = gpd.read_file("data/routes.geojson")
gdf.plot(column="category", figsize=(16, 8))

Sources, accuracy & provenance

  • No upstream dataset. This atlas is hand-built β€” not derived from OpenStreetMap, Overpass, Wikidata, Natural Earth or any other licensed dataset β€” so it carries no third-party licensing obligations and the CC BY 4.0 licence is the author's to grant.
  • Geometry is hand-traced at map scale: each route's LineString is a set of hand-placed [lon, lat] waypoints following the line's real corridor through its stops β€” deliberately schematic (smoothed for display), not survey-grade alignment, and not extracted from OSM or any geodata source.
  • Facts are approximate published values: distance, top speed, journey time, operator, opening year and approximate ridership are compiled from public references (operators' own figures, timetables, press material, encyclopaedic articles). Individual facts like these aren't copyrightable; the licence covers the curated compilation. Good for exploration and visualization, not operations.
  • Curated, not exhaustive: the world's notable routes, not every line on earth. Route names and the one-line highlights are the author's own wording.
  • Deliberately excluded (they live only on the site, to keep provenance clean): per-route stories and sights, photos (Wikimedia Commons, separately licensed), and the city-to-city journey guides (derived from public schedule feeds).
  • Basemap β‰  data: the interactive site renders these routes over OpenFreeMap (OpenStreetMap) tiles, but those tiles are not part of this dataset β€” the geometry here is the author's own hand-traced lines. OSM Β© OpenStreetMap contributors.

License & attribution

  • Data (data/): CC BY 4.0 β€” free to use, share and adapt, with attribution to TrainRouter. A link to https://trainrouter.com (or the specific route page in url) satisfies attribution. (full notice)
  • Code (the MCP server in mcp/): MIT.

Also available on

Citing

TrainRouter Atlas: the world's legendary train routes (2026). trainrouter.com. DOI: 10.5281/zenodo.21322030. https://github.com/Flightmussy/trainrouter-atlas

Updating

The data is generated from the TrainRouter atlas source. New versions land here first; publishing a GitHub release mints a fresh Zenodo DOI and (once the repo's KAGGLE_API_TOKEN/HF_TOKEN secrets are configured) syncs the Kaggle and Hugging Face mirrors automatically via sync-mirrors.yml.

Also in this repo

  • mcp/ β€” source of the TrainRouter MCP server (live at https://trainrouter.com/mcp, listed in the Official MCP Registry as com.trainrouter/atlas), which serves this atlas as tools for Claude and other MCP clients.

Related MCP Servers

N
Nightlife Mcp

πŸ“‡ ☁️ - MCP server for Tokyo nightlife event discovery, venue search, performer info, AI recommendations, and VIP table booking.

πŸš† Travel & Transportation0 views
L
Luxembourg Mcp

πŸŽ–οΈ 🐍 ☁️ 🏠 - Keyless access to official Luxembourg public data: laws, statistics, live parking and traffic, weather alerts, environment, parliament, geodata, GTFS stops, and the national open-data catalogue. 21 read-only tools, zero dependencies; hosted endpoint at mcp.luxembourg-mcp.com or local Python server. No API keys.

πŸš† Travel & Transportation0 views
A
Autonomad Travel

πŸ“‡ ☁️ - AI travel agent over MCP β€” live flights, hotels, activities, and events worldwide, then completes the booking on autonomad.ai (free signup at checkout, first month of Premium included).

πŸš† Travel & Transportation0 views
M
Mcp Server

πŸŽ–οΈ πŸ“‡ 🏠 - Search campgrounds around the world on campertunity, check availability, and provide booking links

πŸš† Travel & Transportation0 views
β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.