mcpField
O
OeBB (Austrian Railways)

OeBB (Austrian Railways)

Local
github.comMaps & Travel6Updated 1d ago

About OeBB (Austrian Railways)

oebb-mcp-server provides MCP clients with station, train schedule, and service information from Austrian Federal Railways (OeBB). It supports travel planning through station lookups, live boards, and connections between stations.

Key features

  1. 01Search stations by name
  2. 02Check live departures and arrivals
  3. 03Find connections between stations
  4. 04Filter direct trains and travel time
  5. 05Retrieve service alerts and disruptions

Use cases

  1. 01Find a station and its identifier
  2. 02Check live station departures or arrivals
  3. 03Plan a rail trip between two stations
  4. 04Check current service disruptions

MCP support

The MCP server exposes OeBB station search, live station boards, train connection search, and service alert tools to clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"slettmayer-oebb": {
"command": "uvx",
"args": [
"oebb-mcp-server"
]
}
}
}
Run commanduvx oebb-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypioebb-mcp-server0.2.8

Tools

4

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
querystringYes
max_resultsintegerNo

Details

From the project README

oebb-mcp-server

PyPI Python License: MIT

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.

ParameterTypeDefaultDescription
querystringrequiredStation name (e.g. "Wien Hbf")
max_resultsint10Maximum results
station_board

Fetch live departures or arrivals at a station. Provide either station_id or station_name.

ParameterTypeDefaultDescription
station_idstring—OeBB station ID (e.g. "1190100")
station_namestring—Station name (auto-resolved)
board_typestring"DEP""DEP" for departures, "ARR" for arrivals
max_journeysint10Maximum journeys
trip_search

Search train connections between two stations. Supports time planning and direct-only filtering.

ParameterTypeDefaultDescription
from_station_idstring—Departure station ID
from_station_namestring—Departure station name
to_station_idstring—Arrival station ID
to_station_namestring—Arrival station name
max_connectionsint5Maximum connections
timestringnowISO 8601 time (e.g. "2026-04-15T08:00:00")
time_modestring"departure""departure" or "arrival"
direct_onlyboolfalseOnly direct connections
service_alerts

Fetch current OeBB service alerts and disruptions.

ParameterTypeDefaultDescription
max_alertsint20Maximum alerts
product_filterint65535Product 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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.