Obscate PII redaction
Reversible PII redaction for AI agents, so personal data never reaches tools or models
Obscate PII redaction is a freemium MCP server for security. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.2.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp --env OBSCATE_API_KEY='<OBSCATE_API_KEY>' -- uvx obscate-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp": {
"command": "uvx",
"args": [
"obscate-mcp"
],
"env": {
"OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add mcp --env OBSCATE_API_KEY='<OBSCATE_API_KEY>' -- uvx obscate-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "uvx"
args = ["obscate-mcp"]
env = { OBSCATE_API_KEY = "<OBSCATE_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "uvx",
"args": [
"obscate-mcp"
],
"env": {
"OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
OBSCATE_API_KEYObscate API key (free tier: 1,000 requests/month at https://obscate.com)RequiredOBSCATE_BASE_URLAPI base URL; set only for a self-hosted Obscate instance
About Obscate PII redaction
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.
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
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_entitiesName suggests: reads
- List supported labels and strategies.
What it does
- 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
Pricing
Freemium
Free plan: 1,000 requests a month, all strategies.
Prices change. Check obscate.com before you buy.
Obscate PII redaction 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.
