SuperAPIAI Directory

redact-pdf-mcp

github.com · AI developer platforms

Permanently redact PII (names, emails, phone numbers, addresses, IBANs, card numbers) from PDFs, scans and screenshots, with multilingual OCR.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Purpose: provide AI agents with permanent PDF redaction capability. Give a PDF, and it returns a PDF with sensitive text truly removed, rather than a black overlay that can be selected, copied, or deleted. Most redaction MCPs only scrub prompt text, while this project handles real documents and returns real redacted documents.

Main capabilities: permanent and irreversible redaction; the underlying text is deleted and cannot be recovered by copy-paste, text extraction, or a PDF editor's "remove object"; supports PDF, JPEG, PNG, with output unified as PDF, so photos and screenshots require no conversion; OCR supports 100+ languages and can handle image-only PDFs and photos of documents; recognizes eight entity categories: Person, Email, PhoneNumber, Address, Organization, Date, IBAN, CreditCard, and also supports custom always-redact and never-redact word lists; mode: "pseudonymize" can be used to replace entities with consistent labels (such as [Person 1]), and redact_pdf_and_wait also returns a CSV table mapping labels to original text; retention: "studio" preserves detected masks for manual review before export.

How to use: provides configuration methods for claude_desktop_config.json and .cursor/mcp.json. After installation, you can directly ask the agent, for example, "Redact the personal data in ~/Documents/contract.pdf". No API key is required to use the try_demo tool to perform real redaction on the first page (no key, no account); calling it without a file runs the built-in synthetic sample for connectivity checks. API keys are obtained at redact-pdf.ai/sign-up; a free account can fully process the first document (up to 5 pages), with no credit card required. There is also a streamable-HTTP server for hosted use; the key is transmitted with each request, it is stateless, with no sessions and no key storage, and there is no leakage between requests. stdio mode runs locally and is not affected by the default restriction on URL input.

Data and limitations: document contents are never used to train AI models; under the default temporary retention policy, original files are deleted as soon as processing is complete, and redacted output is retained according to the account retention window (default 14 days), and can be removed at any time with DELETE /v1/jobs/{job_id}. Processing is located in Microsoft Azure in the EU and Switzerland; transmission uses TLS 1.2+ and at-rest encryption uses AES-256. The remote server disables fetching documents by URL by default; enabling it requires setting REDACT_PDF_ENABLE_URL_INPUT=1, and it is recommended to combine this with outbound controls; REDACT_PDF_ALLOW_PRIVATE_URLS=1 can additionally allow private addresses. Limits: a single PDF is 50 MB, a single image is 10 MB, and 100 files per job; only PDF, JPEG, and PNG are accepted, and other formats (DOCX, TIFF, HEIC) must first be converted to PDF; an empty pii_categories list is rejected; billing is per page, and quota must be topped up when exhausted. The server has no local telemetry, no database cache, does not modify original files, is idempotent by default, and refuses to overwrite existing files.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools