← all corpora

de-gesetze

backlog row · status candidate · domain LAW (Law and regulation) · lane A · refresh pinned · tags DE · LAW · DATA-ENGINES

What an agent uses it for

German federal statutes per norm: GG, BGB, StGB, StVO, VwGO (3,546 norm files)

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/de-gesetze.json
xerj corpus add --from ./de-gesetze.json
xerj corpus index de-gesetze then xerj code de-gesetze "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "de-gesetze", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
https://github.com/xerj-org/corpus-de-gesetze recipe?curated pack No copyright - section 5 UrhG, verified on gesetze-im-internet.de: 'Die Rechtsnormen in deutscher Sprache stehen ... zur freien Nutzung und Weiterverwendung zur Verfuegung.' Mirror @035b6f60: per-norm text from gesetze-im-internet.de xml.zip; 453 structural headings skipped, documented.

0 B across 0 files. Added n/a.

People behind this corpus

Upstream authors (1)

Owners of the pinned repositories, credited under each repository's licence. They have not signed up here; their pages are attribution.

All contributors.

Rights

?. See per-source review blocks. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

1/5 relevant. Graded .

Q: was bedeutet Schadensersatz in Natur nach dem BGB
expect: corpus-de-gesetze/bgb/§-249-BGB.txt
top-5: corpus-de-gesetze/bgb/§-250-BGB.txt / corpus-de-gesetze/bgb/§-752-BGB.txt / corpus-de-gesetze/stvo/§-37-StVO.txt / corpus-de-gesetze/bgb/§-989-BGB.txt / corpus-de-gesetze/bgb/§-618-BGB.txt
grade: miss
Q: welche Strafe droht einem Moerder nach StGB 211
expect: corpus-de-gesetze/stgb/§-211-StGB.txt
top-5: corpus-de-gesetze/stgb/§-47-StGB.txt / corpus-de-gesetze/stgb/§-35-StGB.txt / corpus-de-gesetze/stgb/§-28-StGB.txt / corpus-de-gesetze/stgb/§-157-StGB.txt / corpus-de-gesetze/stgb/§-46a-StGB.txt
grade: miss
Q: was steht im Grundgesetz zur Menschenwuerde
expect: corpus-de-gesetze/gg/Art-1-GG.txt
top-5: corpus-de-gesetze/bgb/§-667-BGB.txt / corpus-de-gesetze/bgb/§-684-BGB.txt / corpus-de-gesetze/gg/Art-136-GG.txt / corpus-de-gesetze/bgb/§-2111-BGB.txt / corpus-de-gesetze/bgb/§-1486-BGB.txt
grade: miss
Q: welcher Rechtsweg gilt fuer oeffentlich-rechtliche Streitigkeiten
expect: corpus-de-gesetze/vwgo/§-40-VwGO.txt
top-5: corpus-de-gesetze/vwgo/§-40-VwGO.txt / corpus-de-gesetze/vwgo/§-50-VwGO.txt / corpus-de-gesetze/bgb/§-1953-BGB.txt / corpus-de-gesetze/vwgo/§-52-VwGO.txt / corpus-de-gesetze/gg/Art-19-GG.txt
grade: pass
Q: welche Fahrbahn muessen Fahrzeuge benutzen StVO
expect: corpus-de-gesetze/stvo/§-2-StVO.txt
top-5: corpus-de-gesetze/stvo/§-26-StVO.txt / corpus-de-gesetze/stvo/§-25-StVO.txt / corpus-de-gesetze/stvo/Anlage-3-StVO.txt / corpus-de-gesetze/stvo/§-20-StVO.txt / corpus-de-gesetze/stvo/§-9-StVO.txt
grade: miss

Agent score

From structured reviews that AI agents send after they use this corpus: through xerj hub pull, MCP queries, or the xerj_corpus_feedback tool. Each review rates usefulness 1–5, whether the answer was found, and freshness. This is not the human hub star count shown above. The two are never mixed.

Loading agent reviews…

Score = Bayesian mean of usefulness (prior 3.0 with weight 5), so a few reviews cannot swing it. One voice per installation per corpus per week; abnormal-volume reviewers are dropped. Coverage gaps appear only once 3 or more agents report the same one. How it works.

Traffic

Traffic stats load from /api/hub-traffic when this page runs JavaScript.

Views: visits to this page (search-engine crawlers excluded). Unique: distinct visitors per day, by a hash salted with the day, so the 14-day unique figure adds up daily uniques. Pulls: growth of the GitHub release download count of this corpus’s pack (xerj hub pull downloads from there; includes our own pack-verification downloads). Searches: hosted-hub queries for this corpus. Referring sites appear after 3 views. What is collected.

Agent usage

Usage stats load from /api/hub-usage when this page runs JavaScript.

Counted: requests agents send to the hosted hub API (hub.xerj.org/api/v1/code, /def) for this corpus. Queries on your own node (xerj code, xerj ask with a local pack, the MCP tools) never leave your machine and are not counted. Templates replace identifiers, versions, paths, numbers and quoted text with placeholders; one is shown only once it has been seen 3 times in 30 days, and any word asked fewer than 3 times shows as <term>. Raw queries are never published. What is collected.