OeBB (Austrian Railways)

io.github.slettmayer由 GitHub 帳號 slettmayer 發布v0.2.8更新於 Oct 25, 2026

OeBB (Austrian Railways) train data: stations, departures, connections, service alerts.

已驗證STDIO僅桌面位置與生活效率與工作流

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理取得奧地利聯邦鐵路(OeBB)列車資料:車站搜尋、即時出發與抵達資訊、轉乘連結及營運公告。

可以做什麼
依名稱搜尋 OeBB 車站,回傳車站 ID、座標與類型,並可限制結果數量。查詢某車站的即時出發或抵達資訊,可用車站 ID 或名稱指定,並可設定班次數上限。搜尋兩站之間的列車連結,支援依出發或抵達時間規劃、限制連結數量,以及僅看直達。取得目前 OeBB 營運公告與中斷資訊,可限制筆數並依產品位元遮罩篩選,涵蓋列車、S-Bahn、公車、路面電車、地鐵、渡輪及民營營運商。
適用情境
適合讓助理規劃或回答奧地利鐵路旅遊問題:查詢車站、查看下一班發車、比較指定時間的轉乘方案,或在出行前確認是否有營運中斷。
執行需求
以本機程序透過 stdio 執行,使用 uvx 從 PyPI 套件 oebb-mcp-server 啟動,因此需要具備 uv/uvx 的 Python 環境。未宣告需要帳號、API 金鑰、環境變數或標頭。它會存取即時 OeBB API,因此需要網路連線。
安裝前請注意
僅進行唯讀查詢,但所有資料來自即時 OeBB API,結果取決於該服務的可用性與正確性。查詢內容(包括車站名稱與出行時間)會傳送到 OeBB 的伺服器。不需要任何憑證,因此無須設定密鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 OeBB (Austrian Railways),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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):

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.

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

bash
# Install dependenciesuv sync
# Lint & formatruff check .ruff format .
# Run unit testspytest tests/ -v -m "not integration"
# Run integration tests (hits real OeBB API)pytest tests/ -v -m integration

License

MIT

來源:README.md,提交 7df5719

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v0.2.8最新Sep 22, 2026
  2. v0.2.7Sep 18, 2026
  3. v0.2.6Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分