← trainrouter.com
INDIVIDUAL MCP TOOL
night_trains
Sleeper routes from the atlas, sorted by renown — all of them by default, or only those starting or ending in a given city — with the per-city night-train guide URL when one exists.
Input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- A tool name or description suggests retrieving external content.
Parent endpoint
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.trainrouter]
url = "https://trainrouter.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"trainrouter": {
"type": "http",
"url": "https://trainrouter.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: trainrouter
Remote MCP URL: https://trainrouter.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"trainrouter": {
"url": "https://trainrouter.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"trainrouter": {
"type": "http",
"url": "https://trainrouter.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "trainrouter",
"transport": "streamable-http",
"url": "https://trainrouter.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
search_routes— Free-text search over every route in the TrainRouter atlas — matches route name, cities, train name, operator and countries, with optional category/country filters.get_route— Full record for one atlas route by exact id: distance, fastest time, top speed, operator, rolling stock, opening year, ridership, story, on-route sights, photo and page URL, plus country-hub links.famous_routes— The world's most famous train journeys in TrainRouter's renown order (rank 1 = most famous: Trans-Siberian, Glacier Express, Orient Express lineage, Shinkansen…), as compact facts with id and URL per route.routes_in_country— Every atlas route crossing one country, sorted by renown, plus that country's trainrouter.city_pair— Journey facts between two cities (European coverage): fastest and typical duration, whether direct trains run, fewest changes, operators and the guide URL — plus legendary atlas routes on that corridor.atlas_stats— One-call snapshot of what the TrainRouter atlas covers: total route count, countries, combined length in km, the category list, number of city-pair guides, data snapshot date, and direct URLs to the main browse pages (world map, all routes, Europe/USA maps, night trains, scenic, by-country, city-to-city).