# PDF Redaction MCP

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/StabRise/pdf-redaction-api  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pdf-redaction-mcp

## Description
MCP server for detecting and redacting PII (Personally Identifiable Information) in PDF documents.

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

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

## Documentation & README

<p align="center">
  <br/>
    <a href="https://pdf-redaction.com/" target="_blank"><img alt="PDF Redaction"
    src="https://pdf-redaction.com/images/pdf-redaction-logo.svg" width="450" style="max-width: 100%;"></a>
  <br/>
</p>

<p align="center">
    <i>Secure Your PDFs with AI-powered Redaction</i>
</p>

<p align="center">
    <a target="_blank" href="https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API.ipynb">
      <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
    </a>
    <a href="https://github.com/stabrise/spark-pdf/blob/main/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/stabrise/spark-pdf.svg?color=blue"></a>
    <a href="https://stabrise.com"><img alt="StabRise" src="https://img.shields.io/badge/powered%20by-StabRise-orange.svg?style=flat&colorA=E1523D&colorB=blue"/></a>
  <a href="https://smithery.ai/servers/stabrise/pdf-redaction">
  <img src="https://smithery.ai/badge/stabrise/pdf-redaction" alt="smithery badge">
</a>
</p>

# PDF Redaction API

It is example of using API for [https://pdf-redaction.com](https://pdf-redaction.com)

Free API for redacting PDFs available at [https://api.pdf-redaction.com/api/docs](https://api.pdf-redaction.com/api/docs)

# Key Features

* Redact PDF using custom prompt
* Filter detected entities by type
* Support for multiple languages
* Support Digital and Scanned(image based) PDFs

# API Key

For generate API Key please go to the: [https://pdf-redaction.com/apikeys/](https://pdf-redaction.com/apikeys/)

For check usage: [https://pdf-redaction.com/apikeys/usage/](https://pdf-redaction.com/apikeys/usage/)

![usage](./images/usage.png)

Put API Key to the env variable `PDF_REDACTION_API_KEY` or to `.env` file.

# Limitations

Limitations for free version:
* 10 page per request
* 100 Free requests per month
* 5 requests per minute

# 🚀 Instant Install self-hosted PDF Redaction API

 - Option A (curl): 
    ```bash
   /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/StabRise/pdf-redaction-api/main/install.sh)"
    ```

 - Option B (wget): 
    ```bash
    /bin/bash -c "$(wget -qO- https://raw.githubusercontent.com/StabRise/pdf-redaction-api/main/install.sh)"
    ```
# Jupyter Notebooks with examples

| Chapter                                | Notebook                                                                                                                                                                                                          |
|----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1: PDF Redaction API                   | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API.ipynb)                       |
| 2: PDF Redaction API base64            | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API-base64.ipynb)                |
| 3: PDF Redaction API using prompt      | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API-base64-prompt.ipynb)         |
| 4: Redact QR Codes from PDF            | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API-base64-qrcode.ipynb)         |
| 5: Redact Rotated/Vertical text in PDF | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API-base64-rotated.ipynb)        |
| 6: Redact Signatures from PDF          | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API-base64-signature.ipynb)      |
| 7: Redact Faces from PDF               | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API-base64-face-redaction.ipynb) | 
| 8: Redact custom PII data              | [![Open In Cilab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/StabRise/pdf-redaction-api/blob/main/jupyter/PDF-Redaction-API-custom-tags.ipynb)                                                                                                                                                                                            |


# Redaction PDF using custom prompt

This provides the flexibility to redact PDF using custom prompt.

# Demo with web UI

You can try it out for free at [https://pdf-redaction.com](https://pdf-redaction.com)

[![PDF Redaction](https://raw.githubusercontent.com/StabRise/pdf-redaction-api/refs/heads/main/images/ScreenshotPdfRedaction.png)](https://pdf-redaction.com)


