OeBB (Austrian Railways)
OeBB (Austrian Railways) train data: stations, departures, connections, service alerts.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
oebb-mcp-serverclaude mcp add oebb-austrian-railways -- uvx oebb-mcp-server==0.2.8
{
"mcpServers": {
"oebb-austrian-railways": {
"command": "uvx",
"args": [
"oebb-mcp-server==0.2.8"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
oebb-mcp-server
MCP server for OeBB (Austrian Federal Railways) train data. Query Austrian train stations, departures, connections, and service alerts directly from LLMs via the Model Context Protocol.
Installation
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"oebb": {
"command": "uvx",
"args": ["oebb-mcp-server"]
}
}
}
Claude Code
claude mcp add oebb -- uvx oebb-mcp-server
From source (development)
{
"mcpServers": {
"oebb": {
"command": "uvx",
"args": ["--from", "/path/to/oebb-mcp-server", "oebb-mcp-server"]
}
}
}
Tools
search_station
Search OeBB stations by name. Returns matching stations with IDs, coordinates, and types.
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | required | Station name (e.g. "Wien Hbf") |
max_results | int | 10 | Maximum results |
station_board
Fetch live departures or arrivals at a station. Provide either station_id or station_name.
| Parameter | Type | Default | Description |
|---|---|---|---|
station_id | string | — | OeBB station ID (e.g. "1190100") |
station_name | string | — | Station name (auto-resolved) |
board_type | string | "DEP" | "DEP" for departures, "ARR" for arrivals |
max_journeys | int | 10 | Maximum journeys |
trip_search
Search train connections between two stations. Supports time planning and direct-only filtering.
| Parameter | Type | Default | Description |
|---|---|---|---|
from_station_id | string | — | Departure station ID |
from_station_name | string | — | Departure station name |
to_station_id | string | — | Arrival station ID |
to_station_name | string | — | Arrival station name |
max_connections | int | 5 | Maximum connections |
time | string | now | ISO 8601 time (e.g. "2026-04-15T08:00:00") |
time_mode | string | "departure" | "departure" or "arrival" |
direct_only | bool | false | Only direct connections |
service_alerts
Fetch current OeBB service alerts and disruptions.
| Parameter | Type | Default | Description |
|---|---|---|---|
max_alerts | int | 20 | Maximum alerts |
product_filter | int | 65535 | Product bitmask (1=ICE/RJX, 2=IC/EC, 4=NJ, 8=D/EN, 16=REX/R, 32=S-Bahn, 64=Bus, 128=Ferry, 256=U-Bahn, 512=Tram, 4096=private operators like Westbahn/RegioJet, 65535=all) |
Development
# Install dependencies
uv sync
# Lint & format
ruff check .
ruff format .
# Run unit tests
pytest tests/ -v -m "not integration"
# Run integration tests (hits real OeBB API)
pytest tests/ -v -m integration
License
MIT
Frequently asked questions
What is OeBB (Austrian Railways)?
OeBB (Austrian Railways) train data: stations, departures, connections, service alerts.
How do I install OeBB (Austrian Railways)?
It runs on your machine. In Claude Code: claude mcp add oebb-austrian-railways -- uvx oebb-mcp-server==0.2.8. For other clients, paste the JSON configuration from this page into their MCP settings.
Does OeBB (Austrian Railways) need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is OeBB (Austrian Railways) open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains OeBB (Austrian Railways)?
It is published by slettmayer. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.