NestDaddy

Legal Text Mcp De

io.github.klein-business/legal-text-mcp-de · v2.1.3

German federal & state legal texts (BGB, DSGVO, …) with canonical IDs and cite-grade provenance.

Connect Runs on your machine

Terminal
claude mcp add legal-text-mcp-de -e DATASET_PATH=<DATASET_PATH> -e STRICT_DATASET=<STRICT_DATASET> -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -- uvx legal-text-mcp-de==2.1.3
claude_desktop_config.json
{
  "mcpServers": {
    "legal-text-mcp-de": {
      "command": "uvx",
      "args": [
        "legal-text-mcp-de==2.1.3"
      ],
      "env": {
        "DATASET_PATH": "<DATASET_PATH>",
        "STRICT_DATASET": "<STRICT_DATASET>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "legal-text-mcp-de": {
      "command": "uvx",
      "args": [
        "legal-text-mcp-de==2.1.3"
      ],
      "env": {
        "DATASET_PATH": "<DATASET_PATH>",
        "STRICT_DATASET": "<STRICT_DATASET>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "legal-text-mcp-de": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "legal-text-mcp-de==2.1.3"
      ],
      "env": {
        "DATASET_PATH": "<DATASET_PATH>",
        "STRICT_DATASET": "<STRICT_DATASET>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
DATASET_PATH
Optional
Path to a normalised corpus directory or a corpus archive (legal-texts-de-*.tar.zst). Defaults to the bundled fixture; production deployments should mount /data/corpus/latest.tar.zst.
STRICT_DATASET
Optional
Set to 'true' to refuse to start if the dataset cannot be loaded (recommended for hosted deployments).
ANTHROPIC_API_KEY
Optional, secret
Optional. Required only for the smart `research_topic` tool which uses LLM-assisted synthesis. Without it, the tool degrades gracefully to a ranked-search fallback.

Details

Package[email protected] (PYPI, stdio)
Packageghcr.io/klein-business/legal-text-mcp-de:2.1.3 (OCI, stdio)
First published18 May 2026
Last updated18 May 2026
Registry nameio.github.klein-business/legal-text-mcp-de

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.