MCP directory
LT

Legal Text Mcp De

by github.com/klein-business · v2.1.3 · updated May 18, 2026

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

PyPIDocker

Run it locally

Install the package and point your AI client at it.

PyPI

uvx legal-text-mcp-de==2.1.3

Environment variables

  • DATASET_PATH

    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

    Set to 'true' to refuse to start if the dataset cannot be loaded (recommended for hosted deployments).

  • ANTHROPIC_API_KEYsecret

    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.

Docker

docker run -i --rm ghcr.io/klein-business/legal-text-mcp-de:2.1.3

Environment variables

  • DATASET_PATH

    Mount path inside the container for the legal-text corpus.

  • STRICT_DATASET

    Set to 'true' to refuse to start if the dataset cannot be loaded.

More MCP servers