Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ⚖️ Legal
  3. Legal Text MCP De
Legal Text MCP De logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 9:03:23 PM

Legal Text MCP De

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time — check back soon.
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).Visit Website

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON ▾

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "legal-text-mcp-de": {
      "command": "uvx",
      "args": [
        "legal-text-mcp-de"
      ]
    }
  }
}

💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives⚖️ More in Legal

Documentation Overview

legal-text-mcp-de: German legal text MCP server banner

PyPI version Python 3.12 / 3.13 License: Apache 2.0 GitHub release Container image Docs

CI CodeQL OpenSSF Scorecard OpenSSF Best Practices SLSA Level 3 Signed by cosign MCP Registry

legal-text-mcp-de

Cite-grade German legal-text infrastructure for LLM agents. ~8 500 federal + Länder + EU laws via MCP, HTTP API, and a typer shell CLI — all over the same runtime, with cryptographic provenance from gesetze-im-internet.de and EUR-Lex / Cellar.

It is local or server-side infrastructure: no SaaS, no billing, no accounts, no tenant model, and no legal advice. The runtime loads either the committed fixture packages used by fast CI or a generated production corpus package built outside Git. Official text comes from gesetze-im-internet.de for German federal laws and from EUR-Lex / Cellar for EU acts such as the GDPR.

No legal advice. This software returns text and structured metadata. It does not interpret the law, advise on it, or produce any legal conclusion. The maintainer assumes no liability for use in legal decision-making contexts.

Older internal documentation has been archived under docs-legacy/summary.md.

Status

LifecycleStable v2.1.3 (current patch on v2.1.0 typer-CLI minor) — MCP-native domain server with typer CLI
VersioningSemVer 2.0.0 (stability contract starts at v1.0.0)
LicenceApache License 2.0 — see LICENSE and NOTICE
UpstreamDerived from floleuerer/deutsche-gesetze-mcp (MIT, preserved)

Features

  • MCP tools for listing laws, fetching norms, resolving citations, full-text search, and source provenance.
  • HTTP API (FastAPI) over the same runtime, with structured /health, /ready, /laws, /search, and OpenAPI endpoints.
  • Provenance-first design: every law and norm carries source URL, fetch timestamp, content hash, and the parser path it traversed.
  • Two corpus modes: committed fixture packages for deterministic tests and CI, or a generated production package built from official sources at runtime.
  • No editorial bundling: this repository ships tooling, not legal text. Texts are loaded from official sources at runtime.

Installation

Mode 1 — pip install from PyPI (smallest dependency)

Terminal
pip install legal-text-mcp-de==2.1.3
DATASET_PATH=/path/to/corpus.tar.zst legal-text-mcp-de serve

The package ships the runtime only; provide a corpus bundle via DATASET_PATH (build with prepare_data.build_corpus, see Mode 4) or point at an existing .tar.zst you trust.

Mode 2 — uvx + auto-download (recommended, easiest)

bash
uvx legal-text-mcp-de serve

Server fetches the latest signed corpus bundle from GHCR on first run.

Mode 3 — Docker with pre-bundled corpus

Terminal
docker run -p 8001:8001 ghcr.io/klein-business/legal-text-mcp-de-full:2.1.3 serve

Mode 4 — Self-built corpus (compliance-sensitive)

bash
git clone https://github.com/klein-business/legal-text-mcp-de
cd legal-text-mcp-de
uv run python -m prepare_data.build_corpus --output ./my-corpus.tar.zst --sources land:by,land:nrw
DATASET_PATH=./my-corpus.tar.zst uvx legal-text-mcp-de serve

Mode 5 — Public-hosted service

json
// claude_desktop_config.json
{
  "mcpServers": {
    "legal-de": {
      "url": "https://mcp.klein.business/legal/de",
      "transport": "streamable-http"
    }
  }
}

CLI

legal-text-mcp-de ships a full subcommand CLI. Bare invocation prints --help. Common commands:

bash
legal-text-mcp-de serve              # start the MCP server (replaces the v2.0 bare invocation)
legal-text-mcp-de http               # start the FastAPI HTTP API
legal-text-mcp-de laws --query DSGVO # list laws
legal-text-mcp-de norm BGB "§ 433"   # fetch a single norm
legal-text-mcp-de search Werbung     # full-text search
legal-text-mcp-de corpus pull        # download the signed corpus bundle
legal-text-mcp-de corpus verify      # cosign-verify the local bundle
legal-text-mcp-de version            # version + Python + platform

Add --json to any subcommand for machine-readable output (matches the HTTP API's response schema). See CLI reference for the full subcommand list.

BREAKING in v2.1.0: bare legal-text-mcp-de now prints --help. Append serve to keep the v2.0 behaviour (started the MCP server).

Quickstart

Run the MCP server with the committed fixture corpus

bash
uv sync --all-groups

DATASET_PATH=tests/fixtures/normalized \
STRICT_STARTUP=true \
uv run legal-text-mcp-de serve

The default transport is streamable HTTP at http://localhost:8001/mcp. For desktop / offline clients use the stdio transport instead — see Quickstart → stdio.

Dev shortcut. A Justfile wraps the common uv invocations (just install, just test, just lint, just run, just api, just docs). Install via brew install just. The Justfile is optional — CI only uses uv directly.

Run the HTTP API

Since v2.1 the easiest way is the new CLI:

bash
DATASET_PATH=tests/fixtures/normalized \
STRICT_STARTUP=true \
uv run legal-text-mcp-de http

The default port is 8001 (from settings.port / PORT env var); use --port <N> to override.

Or directly via uvicorn (equivalent — same FastAPI app):

bash
DATASET_PATH=tests/fixtures/normalized \
STRICT_STARTUP=true \
uv run uvicorn legal_text_mcp_de.http_api:app --host 127.0.0.1 --port 8001

The HTTP layer enforces MAX_REQUEST_BODY_BYTES (default 1048576 = 1 MiB) as a defence-in-depth body-size cap; over-limit requests return 413 Payload Too Large. The operator's reverse proxy is still expected to enforce a proxy-level limit on top of this.

Docker

The Docker image does not bundle legal text data. Mount a validated package at /data/legal-texts:

Terminal
docker run --rm -p 8001:8001 \
  -v /path/to/legal-text-package:/data/legal-texts:ro \
  ghcr.io/klein-business/legal-text-mcp-de:2.1.3 serve
  • See examples/docker-compose/http/ for a minimal HTTP-mode Compose example.
  • See examples/docker-compose/production/ for a committed, CI-tested production stack (MCP + HTTP behind Caddy, switchable via Compose profiles).

MCP Resources

Since v2.0, the corpus is exposed as read-only legal:// URIs that any MCP client can load directly into its LLM context. Examples:

  • legal://laws — paginated index
  • legal://laws/bgb — BGB header + norm index
  • legal://laws/bgb/norms/par:433 — § 433 BGB as Markdown
  • legal://corpus/coverage — what's in the corpus

See docs/concepts/mcp-native.md for the full URI catalogue.

MCP Prompts (slash-commands)

Five curated workflows appear as slash-commands in MCP clients:

Read the full README →View source on GitHub →

Related MCP Servers

View all in Legal View all alternatives
  • LibreJustice logoLibreJustice

    Search French and European case law and French legal texts (codes, statutes, treaties).

    ⚖️ Legal1 views
    Compare vs LibreJustice →
  • Ris Austria MCP Server logoRis Austria MCP Server

    Search Austrian federal and state law, court decisions, and the authentic Bundesgesetzblatt (RIS).

    ⚖️ Legal0 views
    Compare vs Ris Austria MCP Server →
  • PRIMAMCP logoPRIMAMCP

    Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.

    ⚖️ Legal0 views
    Compare vs PRIMAMCP →
  • Lawbster logoLawbster

    Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.

    ⚖️ Legal0 views
    Compare vs Lawbster →

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Legal Text MCP De

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "legal-text-mcp-de": { "command": "uvx", "args": ["legal-text-mcp-de"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLegal Text MCP De AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/legal-text-mcp-de?style=directory)](https://allmcps.com/mcp/legal-text-mcp-de)
HTML Embed
<a href="https://allmcps.com/mcp/legal-text-mcp-de"><img src="https://allmcps.com/api/badge/legal-text-mcp-de?style=directory" alt="Legal Text MCP De on AllMCPs" /></a>

Technical Specs & Signals

Category⚖️Legal
More technical detailsExpand ▾
TransportSTDIO
RuntimePython
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
37Quality signal: Fair · 37/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server →

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ⚖️ Legal →Best MCP servers for Legal →Alternatives to Legal Text MCP De →Install in Claude DesktopInstall in CursorInstall in VS Code