ris-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ris-mcp
MCP server for Austrian federal law (Bundesrecht), backed by the public RIS OGD API v2.6.
Tools
Tool | Purpose | Hosted |
| Full-text search across Bundesrecht in force on a date, newest first | ✓ |
| Fetch paragraphs, articles or annexes by number, or a range such as §§ 200–210 UGB, as in force on a date | ✓ |
| Preamble, amendments and first paragraphs of a law | ✓ |
| Every document of a law under its RIS label, with headings and sections | ✓ |
| Text and metadata of a BGBl entry, e.g. | ✓ |
| The amendments RIS lists for a law | ✓ |
| Reverse citation lookup, e.g. which provisions cite | self-host |
Related MCP server: gesetzessuche
Naming a law
Tools take a law by name, short title or abbreviation, such as ABGB, EStG or Konsumentenschutzgesetz. RIS searches its titles for the whole words given; the server adds * to words of three or more characters, so Einkommensteuer finds the Einkommensteuergesetz.
When exactly one hit carries the name as its abbreviation or short title, a trailing year aside, the tool uses that law. The answer names the law, why it was chosen and every other hit. Any other outcome returns the hits with their Gesetzesnummer, and the next call names one through pick. A pick counts only when it is among the hits for the name, because RIS reuses numbers across laws.
date reads a law as in force on that day, today if empty. A repealed law is found only with a date from its time in force.
get_paragraph takes RIS's own parameters rather than citation text, and the calling model converts the citation. Each is optional and sent to RIS only when given, so leaving them empty asks for the most RIS holds:
number, the unit number with its suffix, sent asAbschnitt.Von. Alone it returns the units with exactly this number, in every container. Empty returns the whole law.to, the end of a range, sent asAbschnitt.Bis. With it RIS compares numbers only, so5to6also returns § 5a to § 5d and § 6a onward.kind, sent asAbschnitt.Typ.Paragraphcovers units numbered with §, also inside an article;Artikelcovers units numbered Art. with the §§ inside them;Anlagecovers every attachment, whatever the law calls it, such as Anlage, Anhang, Annex, Protokoll or Schlussakte. Empty means every kind.
RIS ignores to and kind without number, so the tool refuses that combination.
Examples:
Citation | number | to | kind |
§ 1295 ABGB |
|
| |
§ 879a |
|
| |
Art. 7 B-VG, Artikel VII |
|
| |
Anlage 1, Anhang 1 |
|
| |
Art. 10 § 1 |
|
| |
§ 1 Abs. 2 Z 3 |
|
| |
§§ 200–210 UGB |
|
|
|
unsure of the kind |
| ||
the whole law |
Every document RIS returns comes back under its RIS label: full text for the first 20, the rest listed. number 1 in the ABGB therefore also returns the § 1 inside Art. 10 and Art. 18. Section headings such as Abschnitt or Hauptstück are not units; get_law_outline shows them.
Hosted
claude mcp add --transport http ris https://ris-mcp.noahpfister.com/mcpClaude Desktop accepts the same URL as a custom connector.
Self-host
pip install -r requirements.txtPoint your MCP client at the local process:
{
"mcpServers": {
"ris": {
"command": "python3",
"args": ["-m", "src.server"],
"cwd": "/path/to/ris-mcp"
}
}
}mcp dev src/server.py runs it under the MCP Inspector.
who_mentions searches a local full-text index of about 600MB. It registers automatically once data/ris.db exists:
python3 -m src.index # full crawl, ~441k docs at ~9/s, resumable
python3 -m src.index 10 # first 10 pages only
python3 -m src.index --fill-gaps # fetch missing docs onlyConfiguration
All variables are optional. Defaults suit a local stdio run.
Variable | Default | Purpose |
|
|
|
|
| HTTP bind |
| — | Comma-separated Host allowlist, required on non-loopback bind |
|
|
|
|
| FTS index location |
| — | Built landing page served at |
|
| Concurrent requests to RIS per process |
|
| Per-IP token bucket, |
|
|
Tests
pytest # offline: input parsing, refusals, HTTP failure handling
pytest -m live # against the real RIS APIEverything that depends on RIS behaviour runs only in the live suite.
Notes
API base is
https://data.bka.gv.at/ris/api/v2.6/, public and unauthenticated.BrKonsserves consolidated federal law,BgblAuthserves gazette entries from 2004 on.RIS_MAX_UPSTREAMcaps in-flight requests to RIS regardless of inbound load, which keeps a public endpoint from flooding a government API.
Legal
Code is MIT licensed. Legal data comes from RIS, published by the Bundeskanzleramt under CC BY 4.0. Every tool response that passes on RIS data carries that attribution, keep it attached when quoting or re-serving output.
Only the Bundesgesetzblatt ("BGBl authentisch") is legally binding, consolidated texts returned here are not. RIS gives no warranty on accuracy or completeness, and nothing here is legal advice.
This is an independent project, not affiliated with the Republic of Austria, the Bundeskanzleramt or RIS. Forks should keep their name clear of anything suggesting an official service.
Running your own crawl means bulk access to a government API. RIS asks for 1–2s between paged requests, off-hours runs, a User-Agent header, and an email to ris.it@bka.gv.at with your IP and schedule beforehand.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for live public-data APIs and Skills for AI agents.
Search German and EU law from official sources with your AI assistant. PRIMAMCP provides citable legal texts via MCP, with daily updates and hosting in Germany.
Official MCP connector for Legalize: read and search its whole open corpus, at any point in time.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying 6,870 German federal statutes, case law, and legislative preparatory works directly from AI assistants and MCP-compatible clients.259 npm4Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for accessing and searching German federal law documents from gesetze-im-internet.de. Provides tools to retrieve specific paragraphs, perform full-text searches, and list available laws.10MIT
- AlicenseAqualityBmaintenanceEnables searching and retrieving Austrian federal legislation and case law from the official legal information system RIS, with verifiable ELI and ECLI identifiers.6185 PyPIApache 2.0
- FlicenseAqualityBmaintenanceLocal MCP server that provides Italian legal assistance by querying a local corpus of Italian legislation, integrated with Claude Desktop.3-