Unredactor
БесплатноНе проверенDetects and replaces black redaction boxes in PDF documents, enabling AI assistants to modify redacted PDFs by writing over the boxes with custom text.
Описание
Detects and replaces black redaction boxes in PDF documents, enabling AI assistants to modify redacted PDFs by writing over the boxes with custom text.
README
A Model Context Protocol (MCP) server that lets AI assistants detect and replace black redaction boxes in PDF documents.
What it does
This tool helps you write over redaction boxes in PDFs - like white-out for digital documents.
- Detect black redaction boxes on any PDF page
- Replace boxes of specific dimensions with custom text
- Process entire documents or specific pages
Note: This tool does NOT "recover" redacted data. It simply replaces black boxes with white boxes containing your text.
Installation
Option 1: Install via pip (Recommended)
pip install unredactor-mcp
Then add to your config:
{
"mcpServers": {
"unredactor": {
"command": "unredactor-mcp"
}
}
}
Option 2: Docker
docker pull justinandjohnson/unredactor-mcp
{
"mcpServers": {
"unredactor": {
"command": "docker",
"args": ["run", "-i", "--rm", "justinandjohnson/unredactor-mcp"]
}
}
}
Option 3: HTTP (Remote)
Use the publicly hosted version via HTTP transport:
{
"mcpServers": {
"unredactor": {
"url": "https://unredactor-mcp-production.up.railway.app/mcp"
}
}
}
Option 4: From Source
git clone https://github.com/Justinandjohnson/unredactor-mcp
cd unredactor-mcp
pip install -e .
Available Tools
| Tool | Description |
|---|---|
upload_pdf |
Upload a PDF (base64-encoded) for processing |
get_pdf_info |
Get page count and dimensions |
detect_black_boxes |
Find redaction boxes on a specific page |
detect_all_pages |
Scan entire PDF for boxes |
replace_redaction_boxes |
Replace boxes of a specific size with text |
download_pdf |
Get the modified PDF (base64-encoded) |
cleanup_file |
Delete temporary files |
Usage Example
Once configured, you can ask Claude:
- "Upload this PDF and scan it for redaction boxes"
- "Replace all the 100x20 boxes on page 1 with 'CLASSIFIED'"
- "Download the modified PDF"
GUI Application
A standalone GUI application is also available for manual editing:
pip install PyMuPDF pillow opencv-python
python unredact.py
Legal Disclaimer
- This tool is for forensics and legitimate document editing purposes only
- It does NOT recover truly destroyed/redacted data
- Republishing altered documents may be illegal
- By using this tool, you assume all legal liability
Known Limitations
- Converts PDF pages to PNG and back, which can increase file size
- Font size remains constant, so text may appear smaller after multiple edits
- Best results with clear, rectangular black boxes
License
MIT License - see LICENSE for details.
Установка Unredactor
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Justinandjohnson/unredactor-mcpFAQ
Unredactor MCP бесплатный?
Да, Unredactor MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Unredactor?
Нет, Unredactor работает без API-ключей и переменных окружения.
Unredactor — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Unredactor в Claude Desktop, Claude Code или Cursor?
Открой Unredactor на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Unredactor with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
