PRIMAMCP logo

PRIMAMCP

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

Install PRIMAMCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "primamcp": {
      "command": "npx",
      "args": [
        "-y",
        "@planit-tech/primamcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

11/11 checks healthy over the last 57d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @planit-tech/primamcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars11Stargazers on the source repository.
npm downloads106Package downloads in the last 30 days.
Last commit28d agoMost recent push to the default branch.

From the project README

PRIMAMCP — Verifizierter, zitierfähiger Rechtskontext für jeden KI-Assistenten

PRIMAMCP — Deutsches & EU-Recht für jeden KI-Assistenten

Verifizierter, zitierfähiger Rechtskontext via Model Context Protocol. Claude · ChatGPT · Cursor · Copilot · jeder MCP-fähige Client.

Website NPM MCP GDPR Made in Germany License: MIT Listed on mcpservers.org

Quickstart · Tools · Skills & Rules · Coverage · English


KI halluziniert bei Rechtsfragen. PRIMAMCP liefert die Fakten.

Ohne PRIMAMCP:

❌ "§ 823a BGB regelt die Haftung bei Schmerzensgeld …" (diesen Paragrafen gibt es nicht) ❌ "Art. 9 DSGVO erlaubt die Verarbeitung mit Einwilligung — Stand 2023" (Trainings-Cutoff, ggf. veraltet) ❌ "Der BGH entschied in VI ZR 999/22 …" (ausgedachtes Aktenzeichen)

Mit PRIMAMCP:

✅ § 253 Abs. 2 BGB — Volltext, Stand 2024-10-01, Direkt-URL zur amtlichen Quelle ✅ Art. 9 Abs. 2 lit. a DSGVO — Volltext mit Hierarchie-Pfad ✅ BGH VI ZR 175/22 vom 2023-05-15 — Tenor + zitierte Normen

PRIMAMCP ist ein produktionsreifer MCP-Server, der KI-Assistenten verifizierten Zugriff auf das deutsche und europäische Recht gibt — täglich aktualisiert aus amtlichen Quellen, durchsuchbar mit dreistufiger Hybrid-Suche, jeder Treffer mit exakter Fundstelle. Stand: MRR@10 = 0,676 auf dem öffentlichen GerLeRB-Benchmark.


⚡ Quickstart in 60 Sekunden

Endpunkt: https://mcp.planitprima.com/mcp (Streamable HTTP, Bearer-Auth oder OAuth 2.1)

bash
# Variante 1 — npx-Setup (alle Clients, einfachster Weg)
npx -y @planit-tech/primamcp setup --client claude
# unterstützt: claude | cursor | vscode | windsurf

# Variante 2 — manueller Eintrag (siehe Client-Sektionen unten)

API-Key holen: mcp.planitprima.com → 5 Tage kostenlos testen, keine Kreditkarte. Klartext erscheint genau einmal beim Erstellen — direkt in den Client kopieren.


🔧 Setup pro Client

Claude Desktop (macOS / Windows / Linux)

Config-Datei:

PlattformPfad
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json

Eintrag:

config.json
{
  "mcpServers": {
    "primamcp": {
      "type": "http",
      "url": "https://mcp.planitprima.com/mcp",
      "headers": {
        "Authorization": "Bearer sk-legal-DEIN-API-KEY"
      }
    }
  }
}

Claude Desktop vollständig beenden (Quit, nicht nur Fenster schließen) und neu öffnen. Das MCP-Icon zeigt jetzt PRIMAMCP mit neun Tools.

Test-Prompt: „Was sind die Voraussetzungen für eine Schmerzensgeldforderung nach § 253 BGB? Bitte mit Quellenangabe."

Troubleshooting:

  • PRIMAMCP erscheint nicht → JSON-Syntax prüfen mit python -m json.tool < claude_desktop_config.json. Häufiger Fehler: fehlendes Komma zwischen mehreren Servern.
  • 401 Unauthorized → Token-Prefix sk-legal- korrekt? Subscription aktiv?
  • 429 Rate-Limit → 15–300 Anfragen/Minute pro Seat, je nach Tarif. Lange Recherche-Sessions können das treffen — kurz pausieren, größeren Tarif oder zweiten Seat zubuchen.
Cursor (Composer / Agent)

Ein-Klick-Install:

🖱️ Add PRIMAMCP to Cursor

Nach Klick: API-Key (sk-legal-…) im Cursor-Config-Editor anstelle von YOUR_PRIMAMCP_API_KEY eintragen.

Manuell: .cursor/mcp.json im Projekt-Root oder ~/.cursor/mcp.json global:

config.json
{
  "mcpServers": {
    "primamcp": {
      "type": "http",
      "url": "https://mcp.planitprima.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:PRIMAMCP_TOKEN}"
      }
    }
  }
}

Wichtig: Token nie ins Repo committen — .cursor/mcp.json in .gitignore, oder Token via Umgebungsvariable beziehen (siehe Snippet oben).

Anwendungsfälle:

  • AGB-Generierung mit echten BGB-Klauseln (§§ 305–310, § 309 Nr. 7)
  • DSGVO-Compliance-Check beim Schreiben von Datenverarbeitungs-Code (Art. 6, Art. 9 DSGVO)
  • KI-VO-Risikoklassifikation beim Bau von ML-Pipelines

→ Empfohlen: Cursor-Rule kopieren, damit Cursor PRIMAMCP automatisch bei rechtlichen Fragen nutzt.

ChatGPT (Pro / Team / Enterprise) und Claude.ai (Web)

Browser-Clients sprechen MCP nativ über OAuth 2.1 — kein Code, kein Klartext-Token im Browser-Storage.

ChatGPT:

  1. Settings → Connectors → Add custom connector
  2. Name: PRIMAMCP
  3. MCP Server URL: https://mcp.planitprima.com/mcp
  4. Authentication: OAuth
  5. Save → Browser-Tab → PRIMAMCP-Login → Allow
  6. Im Chat: Tools-Dropdown → PRIMAMCP aktivieren

Claude.ai:

  1. Settings → Connectors → Add custom
  2. Name: PRIMAMCP
  3. Remote MCP server URL: https://mcp.planitprima.com/mcp
  4. Sign in → PRIMAMCP-Login → Allow
  5. Im Chat: Tools-Icon → PRIMAMCP aktivieren

💡 Claude.ai unterstützt auch MCP Resources — legal://rechtsrahmen und Co. erscheinen als attachable references im Chat.

Seats und OAuth: Jedes OAuth-Subject = ein Seat (selbe subject_id, auch wenn du es in beiden Clients nutzt).

Custom-GPT-System-Prompt: Wenn du einen Custom-GPT mit PRIMAMCP baust, kopiere den vorgefertigten System-Prompt — er erzwingt Tool-Nutzung und Citation-Pflicht.

Copilot Studio (Microsoft 365 / Power Platform / Teams)

Copilot Studio unterstützt MCP-Server als „Custom Connectors" und zieht — anders als viele andere Clients — auch Resources, was für PRIMAMCP (legal://rechtsrahmen, legal://eu_celex_registry) besonders wertvoll ist.

Pfad A — OAuth (empfohlen):

  1. Tools → Add a tool → New tool → Model Context Protocol
  2. Server URL: https://mcp.planitprima.com/mcp
  3. Authentication: OAuth 2.0. Endpoints (Authorization-URL, Token-URL, Scopes) bekommst du von uns — Mail an support@planitprima.com, wir tragen die Redirect-URI deines Tenants nach.
  4. Save & Test → PRIMAMCP-Login → Allow

Pfad B — API-Key (Server-to-Server-Bots):

  1. Tools → New tool → Model Context Protocol
  2. Server URL: https://mcp.planitprima.com/mcp
  3. Authentication: Bearer
  4. Token: sk-legal-…

Anwendungsfälle:

  • Compliance-Bot in Teams — DSGVO-Anfragen mit zitierten Artikeln
  • Vertragsprüfung in Word — markierte Klausel → einschlägige BGB-Paragrafen
  • Power Apps für Inhouse-Counsel — Low-Code-App mit Rechtskorpus
VS Code (Copilot Chat) / Windsurf / Zed / Cline / generischer HTTP-MCP-Client

Jeder Client mit Streamable-HTTP-MCP-Support funktioniert. Allgemeines Setup:

JSON Config
{
  "mcpServers": {
    "primamcp": {
      "type": "http",
      "url": "https://mcp.planitprima.com/mcp",
      "headers": {
        "Authorization": "Bearer sk-legal-DEIN-API-KEY"
      }
    }
  }
}

Konfig-Pfad pro Client:

ClientPfad
VS Code (Copilot Chat).vscode/mcp.json (workspace) oder Settings UI
WindsurfSettings → MCP Servers
Zed~/.config/zed/settings.json → context_servers
ClineVS Code Settings → Cline → MCP Servers

Eigene App: MCP Python SDK oder TypeScript SDK. Endpunkt + Bearer-Token, mehr braucht es nicht.

Test ohne Client:

Terminal
curl -X POST https://mcp.planitprima.com/mcp \
  -H "Authorization: Bearer sk-legal-..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

🛠️ Tools

Neun Tools, alle batch-fähig, alle async, alle zitierfähig. Discovery-Tools liefern kompakte Antworten (~4 k Token), Detail-Tools volle Texte. Standard-Pagination via count / total / offset / has_more / next_offset / hint.

Reviews

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

Frequently Asked Questions about PRIMAMCP

PRIMAMCP is an MCP server that provides AI assistants with verified, citable access to German and European Union law. It retrieves legal information from official sources with daily updates, supports search through the Model Context Protocol, and returns results with exact references and direct source URLs. It is hosted in Germany.

Connect PRIMAMCP using the Streamable HTTP endpoint https://mcp.planitprima.com/mcp with Bearer authentication or OAuth 2.1. You can also run `npx -y @planit-tech/primamcp setup --client claude`, with setup support for Claude, Cursor, VS Code, and Windsurf.

Yes, PRIMAMCP provides German and EU legal information updated daily from official sources, with exact references and direct URLs to the cited source. Its results can include statutory provisions, full text, hierarchy paths, and case-law details such as decisions and cited norms.

Get a PRIMAMCP API key at mcp.planitprima.com. The service offers a five-day free trial without requiring a credit card, and the key is displayed in plaintext exactly once when it is created.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

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 PreviewPRIMAMCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/primamcp?style=directory)](https://allmcps.com/mcp/primamcp)
HTML Embed
<a href="https://allmcps.com/mcp/primamcp"><img src="https://allmcps.com/api/badge/primamcp?style=directory" alt="PRIMAMCP on AllMCPs" /></a>