Datenmaske
FOR AI AGENTS · MODEL CONTEXT PROTOCOL

Give your agent
a redaction tool.

The Datenmaske MCP server gives Claude Desktop, Cursor, Cline and any MCP-compatible agent access to a verifiable PDF redaction workflow as a tool, EU-hosted, fail-closed, with redaction protocol . The agent receives only metadata and detected PII hits, never the rest of the document content.

Status: v0.1 (stdio). Remote-HTTP variant in progress. See repo mcp-server/.

WHY

Agents process sensitive documents, without a secure redaction tool, leak risks arise.

Anyone using AI agents in legal, HR or compliance workflows needs controllable redaction that does not flow into a US cloud. The Datenmaske MCP server is the only entry in the MCP ecosystem that combines GDPR-first, EU-hosted and real PDF content-stream removal .

Related servers (Nutrient, Tonic Textual) are US-hosted or text-centric. Hobbyist PyMuPDF servers do not detect PII. Datenmaske closes this gap.

TOOLS

Three tools, one agent.

redact_pdf

PDF → automatically detected PII → fail-closed redaction

Uploads a PDF, accepts the detected PII hits and applies the irreversible MuPDF content-stream redaction. Saves the result as <name>-redacted.pdf next to the original. Returns count, verification status and a warning for OCR pages.

detect_pii

PDF → list of detected PII (without redacting)

Detects names, IBANs, addresses, social security numbers, etc. and returns type, text, page, confidence and bounding box, without applying the redaction. For the question: what is actually in this document?

get_report

Document ID → SHA-256 redaction protocol

Returns the complete redaction protocol (Art. 5 Abs. 2 DSGVO accountability): what was redacted on which page, verification status, hashes of original and result.

Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "datenmaske": {
      "command": "node",
      "args": ["/pfad/zum/mcp-server/dist/index.js"],
      "env": {
        "DATENMASKE_API_KEY": "dm_live_…",
        "DATENMASKE_BASE_URL": "https://datenmaske.de"
      }
    }
  }
}

Teach agents redaction, without sending data to the US cloud.