Skip to main content
MCP server CX Codex

Redactic — Claude Code MCP server: features and setup

The Redactic MCP server for Claude Code masks and restores personal data in text and files. It can process content before it is passed to an AI model.

MIT updated 2026-11-15

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http mcp https://redactic.eu/mcp
Open on GitHub

What Redactic does

Redactic replaces personal details with labels and can later restore the original values in text. File tools read from and write to folders that have been allowed in the server settings.

Text and files go to Redactic servers in the EU for personal-data detection. The label-to-value map stays in the local server's memory. Set REDACTIC_RESTORE_INLINE=1 to return restored text to the conversation, where the model can read the original values.

What it helps with

  • mask personal data in text
  • hide personal details in a file before passing it to a model
  • restore original values from labels

Example prompts for the agent

  • Mask personal data in this text.
  • Hide the personal details in this file before sending it to the model.
  • Restore the original values in this labelled text.

How to install Redactic

1Platform CLI: remote server

claude mcp add --transport http mcp https://redactic.eu/mcp

2Platform CLI

claude mcp add --env REDACTIC_API_KEY=<REDACTIC_API_KEY> --env REDACTIC_ALLOWED_DIRS=<REDACTIC_ALLOWED_DIRS> --transport stdio redactic -- npx -y @redactic/mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Redactic

How do I install Redactic in Claude Code?

Add the server with the HTTP command claude mcp add --transport http redactic https://redactic.eu/mcp.

What does Redactic do?

It masks personal data in text and files, then restores the original values from labels. Detection runs on Redactic servers in the EU.

What does Redactic need to run?

A Redactic workspace and API key are required. File tools also need allowed folders; local setup through Node.js requires Node.js 18 or later.

Similar MCP servers

MCP servers catalog →

Project sponsors

Companies that keep this analytics open