# BGB (Germany)

Ask about German Civil Code rules, including deadlines and periods, and get answers with grounds. Useful when examining a specific case against the BGB.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: arxohq
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/arxohq/arxo-bgb
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/mcp/bgb-germany

## What it does

The server answers questions using packages of BGB rules and provides grounds for its answers. The material covers periods, tenancy, inheritance, sales and other areas of civil law. Case packages include facts, questions and answers that can be used to examine particular scenarios.

You can send requests to the hosted server or run it locally with Docker Compose. Hosted requests are processed on Arxo infrastructure; the local option keeps them on the machine. That distinction matters when choosing where to evaluate a query. For Claude Code, connect through the HTTP command below; start the local option with `docker compose -f mcp/compose.yml up`.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.arxo.io/mcp/de-bgb`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http de-bgb https://mcp.arxo.io/mcp/de-bgb
```

2. **Platform CLI**
```bash
claude mcp add bgb-germany -- npx -y @arxo/mcp-de-bgb
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add bgb-germany --url https://mcp.arxo.io/mcp/de-bgb
```

2. **Platform CLI**
```bash
codex mcp add bgb-germany -- npx -y @arxo/mcp-de-bgb
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "bgb-germany": {
            "url": "https://mcp.arxo.io/mcp/de-bgb"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "bgb-germany": {
            "command": "npx",
            "args": [
                "-y",
                "@arxo/mcp-de-bgb"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "bgb-germany": {
            "type": "http",
            "url": "https://mcp.arxo.io/mcp/de-bgb"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "bgb-germany": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@arxo/mcp-de-bgb"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http bgb-germany https://mcp.arxo.io/mcp/de-bgb
```

2. **Platform CLI**
```bash
gemini mcp add bgb-germany npx -y @arxo/mcp-de-bgb
```

## When to use it
- work out a legal period from case dates
- review a tenancy question under the BGB
- identify grounds for an answer
- match case facts to a BGB rules package

## Example prompts
- Work out the period from these dates and give the legal grounds.
- Review this tenancy termination under the BGB.
- Check which inheritance rules apply to this case.

## Similar
- [Reactive Resume](https://affpapa.org/en/nevibecode/mcp/reactive-resume.md) — MCP server · ★ 44908
- [Sui Knowledge Base (kapa.ai)](https://affpapa.org/en/nevibecode/mcp/sui-knowledge-base-kapaai.md) — MCP server · ★ 7785
- [Claude Code Ultimate Guide](https://affpapa.org/en/nevibecode/mcp/claude-code-ultimate-guide.md) — MCP server · ★ 6258
- [Zotero MCP](https://affpapa.org/en/nevibecode/mcp/zotero-mcp.md) — MCP server · ★ 5585
- [RevoGrid DataGrid MCP Pro](https://affpapa.org/en/nevibecode/mcp/revogrid-datagrid-mcp-pro.md) — MCP server · ★ 3451
- [Claude Code Explorer MCP](https://affpapa.org/en/nevibecode/mcp/codeaashu-claude-code-explorer-mcp.md) — MCP server · ★ 3412

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
