DPOLens MCP server
Commit 14. Nov. 2026Provides AI assistants with exact, versioned citations from privacy laws and organizational policies.
Auch bekannt als alkhatibdev/dpolens
- Stars
- 2
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- 0.2.0
- Letzter Commit
- 14. Nov. 2026
- Lizenz
- Apache-2.0
Was ist DPOLens MCP?
DPOLens ist ein MCP server. Provides AI assistants with exact, versioned citations from privacy laws and organizational policies.
Zusammenfassung generiert aus dem README des Projekts
Über DPOLens MCP server
Providing AI coding assistants with exact, versioned citations from privacy laws and organizational policies is the primary function of DPOLens. Developers can connect this server to tools like Claude Code, Codex, Cursor, and GitHub Copilot in VS Code to ensure their code adheres to legal requirements. The system allows users to upload organizational policies from Word or Markdown files, which are processed into immutable clauses without using an AI model.
Users can deploy the server on their own infrastructure using Docker Compose to keep sensitive policies local. The community version offers access to public privacy laws like GDPR and UAE PDPL without requiring a sign-in or API key. The server includes four specific tools for searching and reading legal text, supporting both English and Arabic searches. It also features a governance log that is append-only and hash-chained to maintain an audit trail of questions asked.
Was du damit machen kannst
- 1Verify code against privacy lawsAsk your AI assistant to check if a specific piece of code complies with GDPR requirements.
- 2Audit privacy-related queriesReview a hash-chained log to see what privacy questions were asked of the AI assistant.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du DPOLens MCP
Formate geprüft am 10. Nov. 2026Zu Cursor hinzufügenZu Goose hinzufügenDPOLens MCP in Claude Code installieren
$ claude mcp add --transport http dpolens https://mcp.dpolens.com/DPOLens MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"dpolens": {
"url": "https://mcp.dpolens.com/"
}
}
}DPOLens MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"dpolens": {
"type": "http",
"url": "https://mcp.dpolens.com/"
}
}
}DPOLens MCP in VS Code CLI installieren
$ code --add-mcp '{"name":"dpolens","type":"http","url":"https://mcp.dpolens.com/"}'DPOLens MCP in Codex installieren
$ codex mcp add dpolens --url https://mcp.dpolens.com/DPOLens MCP in Codex config.toml installieren
~/.codex/config.toml
[mcp_servers.dpolens] url = "https://mcp.dpolens.com/"
DPOLens MCP in Gemini CLI installieren
$ gemini mcp add -s user --transport http dpolens https://mcp.dpolens.com/DPOLens MCP in Gemini settings.json installieren
~/.gemini/settings.json
{
"mcpServers": {
"dpolens": {
"url": "https://mcp.dpolens.com/",
"type": "http"
}
}
}Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Noch nicht verifiziert. Ein Server benötigt einen Score von 80, keine kritischen Befunde und genug Daten für unsere Prüfung. Wie die Checks funktionieren · Was du für mehr Punkte verbessern kannst
- Source Repository verknüpft und erreichbaralkhatibdev/dpolens is public and reachablegithub.com/alkhatibdev/dpolens ↗Bestanden
- Paket nennt dieses Repository als QuelleNicht geprüft
- Build-Provenienz (Sigstore-Attestierung)Nicht geprüft
- Open Source Lizenz (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-11-10github.com/alkhatibdev/dpolens ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNicht geprüft
- Keine kritischen Advisories im Paket oder seinen AbhängigkeitenNicht geprüft
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-Handshakeinitialize answered with protocol 2025-06-18 in 418 msBestanden
README
Auf GitHub ansehenGet started
DPOLens runs on your own servers with Docker Compose, so your policies stay there. Get started takes you from the first command to your first question, and Connect your AI assistant sets up Claude Code, Codex, Cursor and GitHub Copilot in VS Code.
To try it first, add the community version to your AI assistant: public privacy law only, with no sign-in and no token.
For Claude Code, Codex, ChatGPT and the others, the community version's page has the line to add.
What's inside
- An MCP server with four tools to search and read the law and your policies, quoting each clause word for word with its key, its version and the days it applies, including a duty that starts later. The MCP server
- Laws as packs, each from its official source: GDPR and the UAE PDPL today, and more as their packs are released. Supported laws
- Your own policies, from Word or Markdown files, read into clauses without an AI model and published as versions that never change. Your own policies
- Search by words and by meaning, in English and Arabic, on the CPU, with no LLM and no API key. Questions written beside each clause help it order what it found, and are never shown. Search questions
- A dashboard and two logs: a governance log that is append-only and hash-chained, and every question asked, with personal data taken out. The governance log
- An HTTP API, the same one the dashboard and the MCP server use. The HTTP API
Measured
- Search: on held-out questions, the clause the guidance points at is among the top five answers 73% of the time for GDPR, and 53% for the UAE's law. How it was measured
- Use: Claude Code with the plugin searched before writing code in 36 of 36 runs of tasks that touch personal data, and in 3 of 45 runs of tasks that do not. How it was measured
Contributing
Law packs are the contribution that matters most, and CONTRIBUTING.md says what one needs. A security problem is reported privately, as SECURITY.md says.
Licence
The code is Apache-2.0, with DCO sign-off and no CLA. packs/ carries its own licence: the law
text keeps its source's, and the structure around it is CC-BY-4.0.
DPOLens MCP Fragen
Wie füge ich DPOLens MCP zu Claude Code hinzu?
Führe claude mcp add --transport http dpolens https://mcp.dpolens.com/ in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich DPOLens MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
How can I try DPOLens for free?
You can add the community version to your AI assistant to access public privacy laws with no sign-in or token required.
Where is my data stored?
DPOLens runs on your own servers using Docker Compose, ensuring your policies remain under your control.
Which privacy laws are currently supported?
The server currently supports GDPR and the UAE PDPL, with more law packs planned for future release.