LIVE ENDPOINT
https://railways.world/mcp
Connect to this endpoint to inspect the live schema for booking_links and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Potential side effects detected · medium confidence · heuristic, not a guarantee.
- A tool name or description suggests a financial action.
Parent server
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.railways]
url = "https://railways.world/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"railways": {
"type": "http",
"url": "https://railways.world/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: railways
Remote MCP URL: https://railways.world/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": {
"railways": {
"url": "https://railways.world/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"railways": {
"type": "http",
"url": "https://railways.world/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "railways",
"transport": "streamable-http",
"url": "https://railways.world/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
search_stations— Find rail stations by city or station name.search_journeys— Search rail-only journeys between two Railways station ids.get_journey— Fetch one journey by id returned from search_journeys, including legs, calling points and booking links.list_operators— List rail operators Railways knows, with booking sites and reservation rules.explore_anywhere— Cheapest rail deals from one origin to every reachable city (Skyscanner-style explore-everywhere, trains only).