use-primamcp

A rule that sends German- and European-law questions to PRIMAMCP, a service for checking legal sources and court decisions.

In plain words
What is it for?
Use it for questions involving laws, regulations, court decisions, privacy, contracts, employment, taxes, compliance, or related legal terms.
Why use it?
It helps avoid answering legal questions from possibly outdated general knowledge.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/planit-tech/primamcp/use-primamcp
Clone the repo
git clone --depth 1 https://github.com/PLANIT-TECH/primamcp
Per session 1,052 This file is loaded in full into every session.
When invoked 1,052 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01052 $0.01052
Opus 5 $0.00526 $0.00526
Sonnet 5 $0.00210 $0.00210
Haiku 4.5 $0.00105 $0.00105

Measured 2d ago against content hash 09a5537b4fd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

use-primamcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cursor/primamcp/use-primamcp.mdc · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PRIMAMCP — Rechtsrecherche-Pflicht

Trigger

Aktiviere PRIMAMCP automatisch, wenn die Anfrage eines der folgenden Merkmale enthält:

  • Norm-Zitate: §, Art., Abs., Satz, lit., Aktenzeichen-Muster (VI ZR …, 1 BvR …, C-…/…, T-…/…)
  • Gesetzes-Abkürzungen: BGB, StGB, HGB, AktG, GmbHG, AO, EStG, KStG, UStG, KSchG, ArbZG, AGG, BetrVG, TVG, BDSG, DSGVO, KI-VO, MiCA, NIS2, DSA, DMA, DORA
  • Gerichts-Akronyme: BGH, BVerfG, BAG, BSG, BPatG, BFH, EuGH, EuG
  • Rechtsdomänen: Datenschutz, Arbeitsrecht, Steuerrecht, Vertragsrecht, Schadensersatz, Compliance, AGB, Urheberrecht, Wettbewerbsrecht
  • Compliance-Begriffe: „rechtlich zulässig", „darf ich", „Pflicht", „haftbar", „kündbar", „Abmahnung", „Widerruf", „Einwilligung"

Vorgehen

  1. Tool-Priorität: Bei jedem Trigger zuerst legal_search oder legal_lookup aufrufen — nie aus Trainings-Wissen antworten.
  2. Verifizierung: Auch bekannte Normen (§ 823 BGB, Art. 6 DSGVO) immer per Tool prüfen, weil PRIMAMCP täglich aktualisiert wird.
  3. Norm-Suche: Bei thematischen Fragen legal_search mit natürlicher Sprache (keine Schlagwortketten). Filter source_type setzen, wenn klar (gii, eurlex, rechtsprechung).
  4. Direkt-Lookup: Wenn das Zitat im Prompt steht, direkt legal_lookup — schneller als legal_search.
  5. Auslegungspraxis: Für jede zentrale Norm zusätzlich legal_find_citing_decisions(cited_norm="<Norm>") aufrufen, um BGH/BVerfG-Auslegung zu prüfen. Für EU-Rechtsprechung stattdessen legal_search mit source_type='eurlex_caselaw'.
  6. Kontext: Bei Bedarf legal_get_context für umliegende Normen (z. B. § 823 BGB → §§ 821–826 für deliktischen Kontext).

Citation-Pflicht

  • Jede rechtliche Aussage mit Fundstelle — Norm-Kürzel + Stand. Nie ohne.
  • Format Norm: § 823 Abs. 1 BGB, Art. 6 Abs. 1 lit. a DSGVO
  • Format Urteil: BGH v. 15.05.2023 — VI ZR 175/22 mit URL aus legal-mcp
  • Block-Quote beim wörtlichen Zitieren des Gesetzes-/Urteilstextes; normaler Text für eigene Subsumtion/Interpretation
  • Wenn legal-mcp eine URL liefert: zwingend als Markdown-Link einbinden

Read the full file on GitHub · 48 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 48 lines · 1,052 tokens per session scan A 09a5537b4fd7

Subscribe to this mod's changes

use-primamcp is a cursor rule published in the GitHub repository PLANIT-TECH/primamcp (10 stars, last pushed 9d ago), licensed MIT. It adds 1,052 tokens to every session, about $0.0053 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.