LIVE ENDPOINT
https://railways.world/mcp
Connect to this endpoint to inspect the live schema for search_stations and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
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_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.booking_links— Tracked purchase links for a journey.explore_anywhere— Cheapest rail deals from one origin to every reachable city (Skyscanner-style explore-everywhere, trains only).