# Redact Pdf MCP

> Redact Pdf MCP is a freemium MCP server for files and documents. Permanently redact or pseudonymize personal data in PDFs and images, EU-processed. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API, macOS, Windows, Linux
- **Repository:** https://github.com/dambuchs/redact-pdf-mcp
- **MCP Registry name:** io.github.dambuchs/redact-pdf-mcp
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-23

## About

Redact PDF MCP is built around the point that a black box drawn over text is not a redaction, because the text layer underneath can still be copied. This server rasterizes each page and drops the text layer and metadata, so nothing recoverable remains. Scans and photos are handled by OCR first, in more than 100 languages.

A second mode, pseudonymize, swaps each person, company and address for a consistent tag such as [Person 1], so a contract stays readable before it is pasted into an AI chat, and a tag-to-original table lets you restore names. It detects eight entity types: person, email, phone number, address, organization, date, IBAN and credit card, with always-redact and never-redact lists.

The documents go to a hosted service, not stay local. The README says processing happens in the EU and Switzerland on Microsoft Azure with content logging disabled, never for training, and the original is deleted after processing by default. The local package sends no telemetry.

## Features

- **Irreversible redaction:** Removes the underlying text and metadata rather than masking it.
- **Pseudonymize mode:** Replaces entities with consistent tags and returns a restore table.
- **OCR for scans:** Reads image-only PDFs and photos in 100+ languages.
- **Eight entity types:** Detects names, contact details, addresses, organizations, dates, IBANs and card numbers.
- **Custom term lists:** Always-redact and never-redact lists refine detection.
- **Keyless demo:** try_demo redacts the first page with no key.

## Good for

- Redact a lease before sending it to an agency
- Anonymize a contract before pasting it into an AI chat
- Remove phone numbers from a ticket screenshot
- Batch redact statements in a folder

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add redact-pdf-mcp -- npx -y redact-pdf-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add redact-pdf-mcp -- npx -y redact-pdf-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.redact-pdf-mcp]
command = "npx"
args = ["-y", "redact-pdf-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user redact-pdf-mcp npx -- -y redact-pdf-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "redact-pdf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 4 tools changes data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `try_demo`: Keyless tool that redacts the first page of a file, or a built-in sample.
- `redact_pdf`: Redacts personal data in a PDF or image.
- `redact_pdf_and_wait`: Redacts and waits, returning the tag-to-original table in pseudonymize mode.
- `set_api_key` (name suggests: changes): Saves an API key after checking it against the API and asking you to approve.

## FAQ

### Can I try Redact Pdf MCP without an API key?

Yes. The try_demo tool redacts the first page of a file with no account.

### What does a free account give?

The first document, up to 5 pages, redacted in full with no card.

### Where is data processed and kept?

In the EU and Switzerland on Azure; the original is deleted after processing and the output is kept for 14 days by default.

### Is the data used to train models?

The README says no.

### How do I add Redact Pdf MCP to Claude Code?

Run this command in your terminal: claude mcp add redact-pdf-mcp -- npx -y redact-pdf-mcp

### What are the best alternatives to Redact Pdf MCP?

The closest alternatives to Redact Pdf MCP are REA, AiSOC, x64dbg-mcp-server, redamon and Treasure Map.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [Treasure Map](https://ai-powered.com/mcp/treasure-map): Treasure Map is an open-source MCP server for security.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Runeward](https://ai-powered.com/mcp/runeward): Runeward is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/redact-pdf-mcp
