Austrian Law (RIS) — Bundesrecht, Landesrecht & Judikatur

io.github.paragraflabs由 GitHub 帳號 paragraflabs 發布v1.1.0更新於 Oct 24, 2026

Austria RIS: federal & state law, case law, gazettes, change monitoring (Bundesrecht, Judikatur).

概覽

AI 產生的概覽

讓助理透過官方 RIS OGD API 檢索與閱讀奧地利聯邦與各邦法律、判例、公報以及變更動態。

可以做什麼
將奧地利 RIS 法律資訊系統包裝成十個工具:檢索聯邦統一法律、各邦法律、判例、部會命令、地區公告與市鎮法規,並以 markdown、HTML、XML 或原始格式取得全文。支援依條文精確檢索、依指定日期取得歷史版本,以及包含已刪除文件的變更監控動態。回應中帶有引用與署名資訊。
適用情境
適合助理回答有關奧地利法規、法院判決或官方公報的問題,或追蹤法律變更。適用於法律檢索、合規查核,以及需要現行統一文本的起草輔助。
執行需求
以 Python 套件形式在本機執行(pip install at-ris-mcp[mcp]),透過 stdio 通訊;不需要帳號或 API 金鑰。需要連線至 RIS OGD API 的網路存取。選用環境變數可設定 API 位址、使用者代理、請求間隔、逾時、重試、快取目錄與稽核目錄。
安裝前請注意
檢索到的文件僅供參考,不構成法律意見;只有公報的權威文本具有法律效力。用戶端會強制請求間隔,並要求大量存取在非辦公時間進行並通知營運方。選用的 RIS_AUDIT_DIR 會為每次工具呼叫寫入一行 JSONL,SQLite 快取會將回應保存在磁碟上。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Austrian Law (RIS) — Bundesrecht, Landesrecht & Judikatur,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

其他 MCP 客戶端

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

README

at-ris-mcp

[CI] [PyPI] [Python] [License]

A generic MCP server and standalone Python client library for the Austrian RIS (Rechtsinformationssystem des Bundes), the official legal information system of the Republic of Austria, operated by the Bundeskanzleramt.

It covers federal law (Bundesrecht — including consolidated law BrKons, the official gazettes, drafts and government bills), state law (Landesrecht of the nine Bundesländer), case law (Judikatur — OGH, VfGH, VwGH, BVwG, LVwG and more), ministerial decrees, district and municipal law, plus a change-monitoring feed — via the keyless OGD API at https://data.bka.gv.at/ris/api/v2.6/.

Why this exists

Compared with existing RIS tooling, at-ris-mcp adds:

  • Consolidated law (BrKons) — the currently applicable text, not just the gazette novellas.
  • Section-precise access — retrieve a single §/Artikel/Anlage (Abschnitt.*).
  • Historical version — the law as it stood on a given date (Fassung.FassungVom).
  • Clean Markdown — RIS HTML (≈40 KB of CSS boilerplate per document) is stripped to the legal text, with a raw switch for the untouched original.

Two packages, one repo

  • ris_client — a standalone, MCP-independent library. Import it directly.
  • ris_mcp — a thin FastMCP/stdio wrapper exposing 10 tools. Contains no logic of its own.

Install

bash
pip install at-ris-mcp          # library onlypip install "at-ris-mcp[mcp]"   # + the MCP server (FastMCP)

Run the MCP server (stdio)

bash
at-ris-mcp# orpython -m ris_mcp

Remote transport (HTTP / SSE)

For hosted or remote deployments the server can also speak streamable HTTP or SSE instead of stdio:

bash
at-ris-mcp --transport http --host 0.0.0.0 --port 8000   # streamable HTTPat-ris-mcp --transport sse  --port 9000                  # SSE# or via environment:RIS_MCP_TRANSPORT=http RIS_MCP_PORT=8000 at-ris-mcp

The HTTP endpoint is served at /mcp by default (override with --path / RIS_MCP_PATH). stdio remains the default when no transport is given.

Tools

ToolPurpose
ris_search_lawSearch Bundesrecht (default BrKons; also BgblAuth, Begut, RegV, …). Section + Fassung filters.
ris_get_law_textFull text of a statute/section (markdown | html | xml | raw).
ris_search_caseSearch Judikatur (default Justiz; all courts). Filter by applied norm.
ris_get_case_textFull text of a decision.
ris_search_state_lawSearch Landesrecht (9 Bundesländer; default LrKons). Select states via bundeslaender.
ris_search_miscSearch Sonstige (ministerial decrees Erlaesse, Avsv, …).
ris_search_districtSearch district authority notices (Bezirke / Bvb).
ris_search_municipalitySearch municipal law (Gemeinden / Gemeinderecht Gr/GrA).
ris_list_collectionsWhich endpoints/applications are covered.
ris_list_changesChange/early-warning feed (RIS History) via the OGD SOAP endpoint, incl. deleted documents.

Library usage

python
import asynciofrom ris_client import RisClient, LawSearchRequest, TextFormat
async def main():    async with RisClient() as c:        res = await c.search_law(LawSearchRequest(suchworte="Datenschutzgesetz",                                                  page_size="Ten"))        hit = res.items[0]        print(hit.human_readable_citation, hit.eli_uri)        text = await c.get_text(hit.content_urls["html"], TextFormat.markdown)        print(text.content[:500])
asyncio.run(main())

Configuration (environment variables)

VariableDefaultMeaning
RIS_BASE_URLhttps://data.bka.gv.at/ris/api/v2.6API base (version isolation).
RIS_SOAP_URLhttps://data.bka.gv.at/ris/ogd/v2.6/OGD SOAP endpoint (used by ris_list_changes).
RIS_USER_AGENTat-ris-mcp/<version> (+…)Descriptive UA (netiquette).
RIS_RATE_MS1200Minimum delay between requests (ms).
RIS_TIMEOUT_S30HTTP timeout.
RIS_MAX_RETRIES3Retries on 429/5xx (incl. 503).
RIS_CACHE_DIR~/.cache/at-ris-mcpSQLite cache location.
RIS_CACHE_ENABLEDtrueToggle the cache.
RIS_AUDIT_DIR(unset)If set, append a JSONL audit line per call (no full text, no client data).
RIS_MCP_TRANSPORTstdioServer transport: stdio | http | sse | streamable-http.
RIS_MCP_HOST127.0.0.1Bind host for http/sse.
RIS_MCP_PORT8000Bind port for http/sse.
RIS_MCP_PATH(transport default)URL path for the HTTP endpoint.

Netiquette & rate limiting

Per the RIS OGD FAQ: a 1–2 s pause per page is enforced by the client; bulk access should occur outside office hours (18:00–06:00) or on weekends and be announced to [email protected]. A descriptive User-Agent is sent by default.

Licensing

  • Code: Apache-2.0 (see LICENSE).

  • Data: the retrieved documents are provided by the Republic of Austria under CC BY 4.0. Every tool response carries an attribution field:

    Quelle: RIS – Rechtsinformationssystem des Bundes (data.bka.gv.at), CC BY 4.0

  • No legal advice. Only the authentic promulgation text (Bundesgesetzblatt/Landesgesetzblatt authentisch) is legally binding. Consolidated law and all other documents are for information only. Every response carries a legal_notice to that effect.

Scope (v1.0)

Covered: Bundesrecht (BrKons, BgblAuth, BgblPdf, BgblAlt, Begut, RegV, Erv — English translations), Judikatur (all courts), the History change-feed (ris_list_changes, incl. deleted documents), Landesrecht (9 Bundesländer: LrKons, LgblAuth, Lgbl, LgblNO, Vbl), Sonstige (Erlaesse, Avsv, Avn, Spg, KmGer, Upts, Mrp, PruefGewO — with app-specific fine filters), Bezirke (Bvb) and Gemeinden (Gr, GrA).

English translations (Erv): search via ris_search_law with applikation="Erv". suchworte/titel map to the RIS SearchTerms/Title parameters automatically.

State-law note: for consolidated state law (LrKons), select the states via bundeslaender (e.g. ["Kaernten","Tirol"]); this maps to the dotted Bundesland.SucheIn<Land>=true flags the API requires (the flat form is silently ignored for LrKons).

History note: consolidated federal law is monitored under the application name Bundesnormen (not BrKons), consolidated state law under Landesnormen. The History query uses the OGD SOAP endpoint, since it is not exposed via the REST GET API.

Development

bash
pip install -e ".[dev,mcp]"pytest                       # offline testsRIS_SMOKE=1 pytest -m smoke  # live smoke tests against the real API

Release

Releases are automated. Pushing a version tag (vX.Y.Z) triggers GitHub Actions to build the distributions, publish to PyPI (via Trusted Publishing / OIDC — no API token), create a GitHub Release, and register the new version in the MCP Registry.

bash
# bump the version in pyproject.toml, src/ris_client/config.py and server.json,# update CHANGELOG.md, then:git tag -a vX.Y.Z -m "vX.Y.Z"git push origin vX.Y.Z

To build locally without publishing:

bash
python -m build              # sdist + wheel into dist/python -m twine check dist/*

The MCP-registry entry is described by server.json (name io.github.paragraflabs/at-ris-mcp); the matching mcp-name: marker is embedded near the top of this README.

Contributing & support

Issues and pull requests are welcome at https://github.com/paragraflabs/at-ris-mcp. See CHANGELOG.md for the release history. This project is not affiliated with or endorsed by the Republic of Austria or the Bundeskanzleramt; it is an independent client for the public RIS OGD interface.

來源:README.md,提交 12f5257

工具

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

版本歷史

1
  1. v1.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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