BGB (Germany)

Registre officiel Outils de développement

German Civil Code (BGB) as executable rules: periods, deadlines and more, answered with grounds

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http bgb-germany 'https://mcp.arxo.io/mcp/de-bgb'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "bgb-germany": {
            "type": "http",
            "url": "https://mcp.arxo.io/mcp/de-bgb"
        }
    }
}
NPM package @arxo/mcp-de-bgb
Claude Code
claude mcp add bgb-germany -- npx -y @arxo/mcp-de-bgb@0.1.9
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "bgb-germany": {
            "command": "npx",
            "args": [
                "-y",
                "@arxo/mcp-de-bgb@0.1.9"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. arxo-bgb.git
  2. Contents
  3. How it is verified
  4. Dependencies
  5. Asking these packages
  6. Worked cases
  7. Rights

arxo-bgb.git

Pinned canon, executable as it stands: source text with provenance, the model built over it and the scenarios that check its answers. The norms here are data — they are executed by law; this repository carries no rule code of its own.

Contents

PackageVersionScenariosDependencies
calc.kinship0.1.0390
de.bgb.core0.1.010
doctrine.ius_privatum0.1.0370
de.bgb.fristen0.1.0861
de.bgb_18960.1.051
de.bgb.allgemeiner_teil0.1.0213
de.bgb.besitz_eigentum0.1.01432
de.bgb.betreuung0.1.01102
de.bgb.dienst_werk0.1.02102
de.bgb.ehe0.1.0573
de.bgb.ius_privatum0.1.013
de.bgb.miete0.1.0312
de.bgb.sonstige_vertraege0.1.04982
de.bgb.uebergang0.1.0152
de.bgb.dingliche_rechte0.1.01233
de.bgb.erbfolge0.1.0404
de.bgb.schuldrecht_at0.1.0514
de.bgb.verwandtschaft0.1.0824
de.bgb.bereicherung_delikt0.1.0715
de.bgb.kauf0.1.0905
de.bgb.verfuegungen0.1.0825

How it is verified

Every package is built by package.py with the pinned toolchain: compilation, §267 scenarios on both evaluators, replay of saved evaluations and a rebuild from the release itself. A failure of any step stops the build.

python3 tools/toolchain.py download --lock toolchain.lock.json --out /tmp/law-tools
python3 /tmp/law-tools/package.py packages/<name> \
    --lawc /tmp/law-tools/law-cli --offline --out /tmp/<name>-release

Dependencies

Dependency bytes are pinned under packages/<name>/deps/ and verified against the contentHash recorded in law.lock: the build and the CI are offline.

Asking these packages

Two ways, the same slice of the canon and the same engine; the difference is whose machine evaluates.

  • Hosted: https://mcp.arxo.io/mcp/de-bgb — requests are evaluated on Arxo infrastructure.
  • Local: docker compose -f mcp/compose.yml up — nothing leaves the machine.

mcp/pin.json records what either one must answer from: the content hash of the canon profile, the pinned packages, the ABI version of the engine and the availability of the hosted endpoint. An answer that cannot be traced to that pin is not this repository's answer.

Worked cases

Each collection is a case package of its own: the facts, the questions and the answers, with the pinned canon as its dependency. Ask one from its directory with law ask . — nothing is downloaded.

Rights

Code and model: see LICENSE. The pinned texts of the publishers keep their own terms of reproduction, listed per package in NOTICE; those terms are not covered by the code licence.

Maintainer: Rifat Dzhumagulov (hi@arxo.io). Address: git@github.com:arxohq/arxo-bgb.git.

Questions fréquentes

Qu'est-ce que BGB (Germany) ?

German Civil Code (BGB) as executable rules: periods, deadlines and more, answered with grounds

Comment installer BGB (Germany) ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http bgb-germany 'https://mcp.arxo.io/mcp/de-bgb'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour BGB (Germany) ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

BGB (Germany) est-il open source ?

Oui. Son code est sur GitHub sous licence Apache-2.0.

Qui maintient BGB (Germany) ?

Il est publié par arxohq. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.