Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
PRIMAMCP_API_KEY, Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"primamcp": {
"command": "npx",
"args": [
"-y",
"@planit-tech/primamcp"
],
"env": {
"PRIMAMCP_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http primamcp https://mcp.planitprima.com/mcp --header 'Authorization: your-value'claude mcp add primamcp --env PRIMAMCP_API_KEY=your-value -- npx -y @planit-tech/primamcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"primamcp": {
"url": "https://mcp.planitprima.com/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"primamcp": {
"command": "npx",
"args": [
"-y",
"@planit-tech/primamcp"
],
"env": {
"PRIMAMCP_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"primamcp": {
"type": "http",
"url": "https://mcp.planitprima.com/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"primamcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@planit-tech/primamcp"
],
"env": {
"PRIMAMCP_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 PLANIT-TECH 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:PRIMAMCP_API_KEY, Authorization
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.2.1)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Verifizierter, zitierfähiger Rechtskontext via [Model Context Protocol](https://modelcontextprotocol.io). Claude · ChatGPT · Cursor · Copilot · jeder MCP-fähige Client.
Quickstart · Tools · Skills & Rules · Coverage · English
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/22vom 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.
Endpunkt: https://mcp.planitprima.com/mcp (Streamable HTTP, Bearer-Auth oder OAuth 2.1)
# Variante 1 — npx-Setup (alle Clients, einfachster Weg)
npx -y @planit-tech/primamcp setup --client claude
API-Key holen: mcp.planitprima.com → 5 Tage kostenlos testen, keine Kreditkarte. Klartext erscheint genau einmal beim Erstellen — direkt in den Client kopieren.
Claude Desktop (macOS / Windows / Linux)
Config-Datei:
| Plattform | Pfad |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Eintrag:
{
"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:
python -m json.tool < claude_desktop_config.json. Häufiger Fehler: fehlendes Komma zwischen mehreren Servern.sk-legal- korrekt? Subscription aktiv?Cursor (Composer / Agent)
Ein-Klick-Install:
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:
{
"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:
→ 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:
PRIMAMCPhttps://mcp.planitprima.com/mcpClaude.ai:
PRIMAMCPhttps://mcp.planitprima.com/mcp💡 Claude.ai unterstützt auch MCP Resources —
legal://rechtsrahmenund 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):
https://mcp.planitprima.com/mcpsupport@planitprima.com, wir tragen die Redirect-URI deines Tenants nach.Pfad B — API-Key (Server-to-Server-Bots):
https://mcp.planitprima.com/mcpsk-legal-…Anwendungsfälle:
VS Code (Copilot Chat) / Windsurf / Zed / Cline / generischer HTTP-MCP-Client
Jeder Client mit Streamable-HTTP-MCP-Support funktioniert. Allgemeines Setup:
{
"mcpServers": { "primamcp": { "type": "http", "url": "https://mcp.planitprima.com/mcp", "headers": { "Authorization": "Bearer sk-legal-DEIN-API-KEY" } } } }
Konfig-Pfad pro Client:
| Client | Pfad |
|---|---|
| VS Code (Copilot Chat) | .vscode/mcp.json (workspace) oder Settings UI |
| Windsurf | Settings → MCP Servers |
| Zed | ~/.config/zed/settings.json → context_servers |
| Cline | VS Code Settings → Cline → MCP Servers |
Eigene App: MCP Python SDK oder TypeScript SDK. Endpunkt + Bearer-Token, mehr braucht es nicht.
Test ohne Client:
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"}'
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.
| Tool | Zweck | Kategorie |
|---|---|---|
legal_search | Hybrid-Suche mit AI-Reranking + Filter | Discovery |
legal_lookup | Volltext einer Norm per Zitat | Detail |
legal_lookup_batch | Bis zu 20 Lookups in einem Call | Detail |
legal_get_context | Umgebende Normen einer Fundstelle | Detail |
legal_find_citing_decisions | Bundesgerichtsentscheidungen zu einer Norm | Detail |
legal_get_materials | Amtliche Gesetzesbegründung (BT-Drucksache) zu einer Norm | Detail |
legal_list_laws | Verfügbare Gesetze auflisten | Discovery |
legal_get_toc | Inhaltsverzeichnis eines Gesetzes | Discovery |
legal_get_stats | Index- und Datenbankstatistiken | Discovery |
legal_search{
"tool": "legal_search", "arguments": { "query": "Schmerzensgeld bei Persönlichkeitsverletzung", "top_k": 5 } }
Liefert §§ 823, 253 BGB plus einschlägige BGH-Entscheidungen — gemischt, gerankt nach Relevanz, nicht nach Quelltyp.
legal_lookup{
"tool": "legal_lookup", "arguments": { "citation": "Art. 6 Abs. 1 lit. a DSGVO" } }
Liefert den exakten Buchstaben mit Hierarchie-Pfad und Stand.
Akzeptierte Zitierformen: § 823 BGB, § 1 Abs. 1 GG, § 280 Abs. 1 Satz 1 BGB, Art. 6 Abs. 1 lit. a DSGVO, Art. 5 Abs. 1 EU 2024/1689, C-311/18, BGH VI ZR 175/22, BVerfG 1 BvR 16/13.
→ [Vollständige Tool-Referenz mit allen Parametern, Beispielen und Response-Schemas](docs/tools-reference.md)
Neben Tools liefert PRIMAMCP sechs Resources und drei Prompts.
| URI | Zweck | Quota |
|---|---|---|
legal://rechtsrahmen | Domain → einschlägige Gesetze (Datenschutz → DSGVO+BDSG+TTDSG; Versicherung → VVG, *nicht* BGB) | Frei |
legal://filter_values | Gültige Filter-Werte für legal_search | Frei |
legal://eu_celex_registry | Kuratierte CELEX-IDs für EU-Rechtsakte | Frei |
legal://norm/{norm_id} | Volltext einer Einzelnorm als Resource | Pro-Seat |
legal://law/{source_type}/{abbreviation} | Inhaltsverzeichnis eines Gesetzes | Pro-Seat |
legal://eu/celex/{celex} |
只显示了开头部分;其余内容请在仓库中阅读