OeBB (Austrian Railways) — Claude Code MCP server: features and setup
This MCP server lets an agent look up OeBB stations, departures, arrivals, train routes, and service alerts. Use it to check Austrian rail travel from an AI coding assistant.
claude mcp add oebb-mcp-server -- uvx oebb-mcp-serverWhat OeBB (Austrian Railways) does
The server gives an agent tools to find OeBB stations by name, retrieve departures or arrivals, search between two stations, and fetch current disruption notices. Station lookups can use a name or an ID. Route searches can filter for direct trains and plan around a departure or arrival time.
To connect it to Claude Code, run claude mcp add oebb-mcp-server -- uvx oebb-mcp-server. Route search accepts time in ISO 8601 format. The direct-only filter must be enabled when you want to exclude routes with transfers; otherwise, the search is not limited to direct trains.
What it helps with
- look up an OeBB station by name
- check departures or arrivals at a station
- find train routes between two stations
- check current train disruption notices
Example prompts for the agent
- Find Wien Hbf and return its station ID.
- Show departures from Wien Hbf.
- Find a direct train from Wien Hbf to Salzburg Hbf at 2026-04-15T08:00:00.
How to install OeBB (Austrian Railways)
Platform CLI
claude mcp add oebb-mcp-server -- uvx oebb-mcp-serveruvx runs the command named after the package; if the README names another one, use uvx --from oebb-mcp-server <command>
Platform CLI
codex mcp add oebb-austrian-railways -- uvx oebb-mcp-serveruvx runs the command named after the package; if the README names another one, use uvx --from oebb-mcp-server <command>
Config file
{
"mcpServers": {
"oebb-austrian-railways": {
"command": "uvx",
"args": [
"oebb-mcp-server"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from oebb-mcp-server <command>
Config file
{
"servers": {
"oebb-austrian-railways": {
"type": "stdio",
"command": "uvx",
"args": [
"oebb-mcp-server"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from oebb-mcp-server <command>
Platform CLI
gemini mcp add oebb-austrian-railways uvx oebb-mcp-serveruvx runs the command named after the package; if the README names another one, use uvx --from oebb-mcp-server <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about OeBB (Austrian Railways)
How do I install OeBB (Austrian Railways) in Claude Code?
Run claude mcp add oebb-mcp-server -- uvx oebb-mcp-server. This registers the MCP server as oebb-mcp-server.
What does OeBB (Austrian Railways) do?
It gives an agent access to OeBB station search, departure and arrival boards, train route searches, and disruption notices.
Can it search for direct trains only?
Yes. Route searches include a direct_only filter. You can also plan by departure or arrival time.