Skip to main content
ClaudeWave

MCP Server for OeBB (Austrian Railways) API

MCP ServersOfficial Registry4 stars0 forksPythonMITUpdated today
Install in Claude Code / Claude Desktop
Method: UVX (Python) · oebb-mcp-server
Claude Code CLI
claude mcp add oebb -- uvx oebb-mcp-server
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "oebb": {
      "command": "uvx",
      "args": ["oebb-mcp-server"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# oebb-mcp-server

<!-- mcp-name: io.github.slettmayer/oebb-mcp-server -->

[![PyPI](https://img.shields.io/pypi/v/oebb-mcp-server.svg)](https://pypi.org/project/oebb-mcp-server/)
[![Python](https://img.shields.io/pypi/pyversions/oebb-mcp-server.svg)](https://pypi.org/project/oebb-mcp-server/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

MCP server for [OeBB](https://www.oebb.at) (Austrian Federal Railways) train data. Query Austrian train stations, departures, connections, and service alerts directly from LLMs via the [Model Context Protocol](https://modelcontextprotocol.io).

## Installation

### Claude Desktop

Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "oebb": {
      "command": "uvx",
      "args": ["oebb-mcp-server"]
    }
  }
}
```

### Claude Code

```bash
claude mcp add oebb -- uvx oebb-mcp-server
```

### From source (development)

```json
{
  "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

```bash
# 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
austriahafasmcpmcp-servermodel-context-protocoloebbpythonrailwaytrainuvx

What people ask about oebb-mcp-server

What is slettmayer/oebb-mcp-server?

+

slettmayer/oebb-mcp-server is mcp servers for the Claude AI ecosystem. MCP Server for OeBB (Austrian Railways) API It has 4 GitHub stars and was last updated today.

How do I install oebb-mcp-server?

+

You can install oebb-mcp-server by cloning the repository (https://github.com/slettmayer/oebb-mcp-server) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is slettmayer/oebb-mcp-server safe to use?

+

slettmayer/oebb-mcp-server has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains slettmayer/oebb-mcp-server?

+

slettmayer/oebb-mcp-server is maintained by slettmayer. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to oebb-mcp-server?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy oebb-mcp-server to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: slettmayer/oebb-mcp-server
[![Featured on ClaudeWave](https://claudewave.com/api/badge/slettmayer-oebb-mcp-server)](https://claudewave.com/repo/slettmayer-oebb-mcp-server)
<a href="https://claudewave.com/repo/slettmayer-oebb-mcp-server"><img src="https://claudewave.com/api/badge/slettmayer-oebb-mcp-server" alt="Featured on ClaudeWave: slettmayer/oebb-mcp-server" width="320" height="64" /></a>

More MCP Servers

oebb-mcp-server alternatives