# Obscate PII redaction

> Obscate PII redaction is a freemium MCP server for security. Reversible PII redaction for AI agents, so personal data never reaches tools or models. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API, Self-hosted
- **Website:** https://obscate.com/docs/mcp
- **Repository:** https://github.com/astracoreai/obscate-integrations/tree/HEAD/obscate-mcp
- **MCP Registry name:** com.obscate/mcp
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-20

## About

The README describes obscate-mcp as an MCP server that redacts personal data from text or JSON before an agent sends it to another model, tool or third-party API, then restores the original values in the reply. Detection runs in the hosted Obscate API; the package itself only forwards calls, so it needs an API key for everything except listing supported entity types.

The server exposes separate tools for redacting and restoring text, detecting which PII a text contains without altering it, and redacting or restoring values inside JSON while keeping keys and structure intact. Redaction can use format-preserving encryption, which needs no map to restore, or a tokenize strategy that returns a token map.

The docs are candid about a limitation: if a model quotes only part of a redacted value, restore cannot recover it, and with format-preserving output the wrong fragment can look plausible. The project recommends tokenize for anything a person will read. It suits developers wiring agents into CRMs, helpdesks or other systems that should not see raw customer data.

## Features

- **Reversible text redaction:** Redacts personal data in text and restores the original values in the model's reply.
- **JSON-aware redaction:** Redacts values inside JSON objects and arrays while keeping keys and shape unchanged.
- **PII detection only:** Classifies which personal data a text contains, with labels, offsets and counts, without changing it.
- **Choice of strategies:** Supports format-preserving encryption without a map, or tokenize with a returned token map.
- **Key versioning on restore:** Redact output includes a key_version so restore keeps working across key rotation.
- **Stdio and HTTP transports:** Runs over stdio by default or serves streamable HTTP on request.

## Good for

- Strip customer names and contact details before sending a support ticket to a third-party helpdesk
- Redact card or ID numbers before passing records to another model
- Restore real values in an agent's reply so the user sees their own data
- Detect which personal data fields appear in a text before deciding how to handle it

## Install

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

```sh
claude mcp add mcp --env OBSCATE_API_KEY='<OBSCATE_API_KEY>' -- uvx obscate-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": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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 mcp --env OBSCATE_API_KEY='<OBSCATE_API_KEY>' -- uvx obscate-mcp
```

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

```toml
[mcp_servers.mcp]
command = "uvx"
args = ["obscate-mcp"]
env = { OBSCATE_API_KEY = "<OBSCATE_API_KEY>" }
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e OBSCATE_API_KEY='<OBSCATE_API_KEY>' mcp uvx -- obscate-mcp

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

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": {
    "mcp": {
      "command": "uvx",
      "args": [
        "obscate-mcp"
      ],
      "env": {
        "OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
      }
    }
  }
}
```

## Tools

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

- `redact`: Redact a text; default fpe keeps formats and needs no map to restore.
- `restore`: Put the original values back.
- `detect`: Classify what PII a text contains without changing it.
- `redact_json`: Redact values inside a JSON object or array; keys and shape are unchanged.
- `restore_json`: Restore any JSON reply.
- `list_entities` (name suggests: reads): List supported labels and strategies.

## FAQ

### Is there a free tier?

Yes. The docs list a free plan with 1,000 requests a month at 60 requests a minute and no card required.

### Can I run Obscate PII redaction against a self-hosted Obscate instance?

The README says a self-hosted edition is in pilot and can be reached by setting OBSCATE_BASE_URL. Access is by request to the vendor.

### Why does the docs recommend tokenize over the default?

The docs report that with format-preserving encryption, models often restate partial values incorrectly after restore, while tokenize produced none of those errors in their measured runs.

### Does the server store the text Obscate PII redaction processes?

The README says the server never logs, prints or stores the text, detected values or token map. The Obscate API is described as not logging or storing payloads.

### How do I add Obscate PII redaction to Claude Code?

Run this command in your terminal: claude mcp add mcp --env OBSCATE_API_KEY='<OBSCATE_API_KEY>' -- uvx obscate-mcp

### What are the best alternatives to Obscate PII redaction?

The closest alternatives to Obscate PII redaction are Redactic, PrivacyScrubber PII Masking MCP, EU PII Redaction, Redaction and LLM Data Guard: PII & Secrets Redaction.

## Where this comes from

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

## Alternatives

- [Redactic](https://ai-powered.com/mcp/redactic): Redactic is an MCP server for security.
- [PrivacyScrubber PII Masking MCP](https://ai-powered.com/mcp/privacyscrubber-pii-masking-mcp): PrivacyScrubber PII Masking MCP is a freemium MCP server for security.
- [EU PII Redaction](https://ai-powered.com/mcp/eu-pii-redaction): EU PII Redaction is a freemium MCP server for security.
- [Redaction](https://ai-powered.com/mcp/redaction): Redaction is a freemium MCP server for security.
- [LLM Data Guard: PII & Secrets Redaction](https://ai-powered.com/mcp/llm-data-guard-pii-and-secrets-redaction): LLM Data Guard: PII & Secrets Redaction is a paid MCP server for security.
- [GenPark PII Redactor & Data Masker](https://ai-powered.com/mcp/genpark-pii-redactor-and-data-masker): GenPark PII Redactor & Data Masker is an MCP server for security.
- [Waqi — AI Privacy Layer](https://ai-powered.com/mcp/waqi-ai-privacy-layer): Waqi — AI Privacy Layer is a paid MCP server for security.
- [Deliverd Screen](https://ai-powered.com/mcp/deliverd-screen): Deliverd Screen is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/obscate-pii-redaction
