PRIMAMCP — Claude Code MCP server: German and EU law
Feeds your coding assistant verified German and EU legal text with a link to the official source. Useful when the model invents paragraphs and case numbers.
claude mcp add primamcp -e PRIMAMCP_API_KEY=<PRIMAMCP_API_KEY> -- npx -y @planit-tech/primamcpWhat PRIMAMCP does
PRIMAMCP plugs into an assistant as an MCP server and returns German and European legal provisions: the full text, the revision date, and a direct link to the official source. Updates come daily from official sources, with hosting in Germany. Search works in three tiers and is hybrid, and every hit carries an exact citation.
You can connect it two ways. The remote endpoint https://mcp.planitprima.com/mcp speaks Streamable HTTP and takes either a Bearer token or OAuth 2.1. Or run it locally with npx -y @planit-tech/primamcp. The key is issued on the service site, and the plaintext shows up once at creation, so copy it into the client config right away. Ready-made rules and prompts exist for Cursor and Copilot Studio so the assistant reaches for the server on legal questions by itself.
Keep the token out of the repository: put it in an environment variable, or add the config file to .gitignore. Rate limits cap out between 15 and 300 requests per minute per seat depending on the plan, and a long research session can hit that ceiling. One OAuth subject counts as one seat, even when you sign in from two clients.
What it helps with
- check whether a paragraph the assistant named actually exists
- drop the current revision of a provision into a contract draft
- pull up a court ruling by case number and read its holding
- match data-processing code against GDPR requirements
- classify an AI system's risk under the EU regulation
Example prompts for the agent
- What are the requirements for a damages claim under § 253 BGB? Cite the provisions.
- Check in PRIMAMCP whether this revision of Art. 9 DSGVO is still current and show the date.
- Find the ruling BGH VI ZR 175/22 and list the provisions it cites.
How to install PRIMAMCP
1Platform CLI
claude mcp add primamcp -e PRIMAMCP_API_KEY=<PRIMAMCP_API_KEY> -- npx -y @planit-tech/primamcpReplace <…> with your own values
2Platform CLI: remote server
claude mcp add --transport http primamcp https://mcp.planitprima.com/mcp1Platform CLI: remote server
codex mcp add primamcp --url https://mcp.planitprima.com/mcp2Platform CLI
codex mcp add primamcp --env PRIMAMCP_API_KEY=<PRIMAMCP_API_KEY> -- npx -y @planit-tech/primamcpReplace <…> with your own values
Config file
{
"mcpServers": {
"primamcp": {
"url": "https://mcp.planitprima.com/mcp"
}
}
}{
"mcpServers": {
"primamcp": {
"command": "npx",
"args": [
"-y",
"@planit-tech/primamcp"
],
"env": {
"PRIMAMCP_API_KEY": "<PRIMAMCP_API_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"primamcp": {
"type": "http",
"url": "https://mcp.planitprima.com/mcp"
}
}
}{
"servers": {
"primamcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@planit-tech/primamcp"
],
"env": {
"PRIMAMCP_API_KEY": "<PRIMAMCP_API_KEY>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http primamcp https://mcp.planitprima.com/mcp2Platform CLI
gemini mcp add -e PRIMAMCP_API_KEY=<PRIMAMCP_API_KEY> primamcp npx -y @planit-tech/primamcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about PRIMAMCP
How do I install PRIMAMCP in Claude Code?
Run claude mcp add --transport http primamcp https://mcp.planitprima.com/mcp, then set your key in the authorization header.
What does PRIMAMCP do?
It hands the assistant verified German and EU legal text with a revision date and a link to the official source, so the model stops inventing paragraphs and case numbers.
How is PRIMAMCP different from a normal web search?
Sources are official and refreshed daily, and each hit comes with an exact citation. The search is hybrid and three-tier.