Redacta MCP server

Redact patient identifiers from clinical text, restore them later, and run self-checks, all by asking in plain English.

Tools
3
Transport
Local (npx)
Sign-in
See setup
Made by
Nick Lamb
RevampKey connects Redacta in one click and adds its 1 skills. No config file. Free for Mac, Windows and Linux. Already installed? Open Redacta in RevampKey

Get RevampKey to connect Redacta

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Redacta is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

curl -fsSL --create-dirs -o .claude/skills/redacta-essentials/SKILL.md https://revampkey.com/marketplace/redacta/skills/essentials/SKILL.md
All Redacta skills

What the Redacta MCP server does

Redacta is a privacy boundary for AI and agent work with clinical text. Nick Lamb made it. It replaces patient identifiers, such as names, NHS numbers and dates, with labelled tokens like [NHS_NUMBER_1] and [PATIENT_NAME_1]. It is built for people who handle patient letters and notes and want an agent to work on them without seeing the real identifiers. It is also available as a free iPhone app and can run on a self-hosted Kubernetes cluster.

Connect Redacta from the Connectors tab in RevampKey and your agent gets three tools: redact, reinstate and self_check. Ask it to redact a clinical letter, and you get back the text with names, NHS numbers, dates of birth, emails and phone numbers swapped for tokens. Later, ask it to reinstate the originals into tokenised text. Ask it to self-check redacted text. The server runs locally, with no network calls and no persistent storage.

This connector gives you the older v1 tools. Redact returns the token map to the caller, so the reversal key can reach the model's context. Redacta's newer protect and release_to_file tools keep that map inside the server, but they are not part of this connector. Keep this in mind before you use it with real records.

What you can do with Redacta and an AI agent

Summarise a referral letter without the identifiers

A clinic admin has a referral letter with the patient's name, NHS number and date of birth. They ask the agent to redact the letter first. The agent runs redact and returns the text with labelled tokens such as [PATIENT_NAME_1] and [NHS_NUMBER_1]. The admin then asks for a short summary, which the agent writes from the tokenised text.

Put the real details back into a draft

A clinician has a draft summary that still uses tokens. They ask the agent to reinstate the original details. The agent calls reinstate on the tokenised text and returns the draft with names and numbers in place. The agent asks before it changes anything, so you see the step before it runs.

Check a redacted note before you share it

A team lead has a note that someone redacted earlier. They want to know whether identifiers are still there. They ask the agent to run a self-check on the note. The agent calls self_check and reports what it finds, so the lead can decide what to fix before the note moves on.

How to set up the Redacta MCP server

Pick your app. RevampKey needs no config file; the others need one command or a config line.

About 1 minute · See setup

  1. Install RevampKey for Mac, Windows or Linux and sign in.

  2. Open Connectors, search for Redacta and click Connect. RevampKey installs and runs the server for you, with nothing to set up in a terminal.

  3. Ask in plain language. The 1 Redacta skills come with the connector. The agent asks before it changes anything.

  4. Download RevampKeyConnect Redacta · 1 click

    Get RevampKey to connect Redacta

    RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Redacta is one click away with its skills already attached.

    Download RevampKey

    Not now? Use the skills in your current tool

    curl -fsSL --create-dirs -o .claude/skills/redacta-essentials/SKILL.md https://revampkey.com/marketplace/redacta/skills/essentials/SKILL.md
    All Redacta skills

Using a different MCP client?

Add a local (stdio) MCP server in its settings that runs this command.

Runs locallynpx -y redacta-mcp@2.1.1

Skip the config file

In RevampKey, Redacta is one click: sign-in and the server and the 1 skills are set up for you.

Download RevampKey

Redacta agent skills

Playbooks that teach the agent how to do real Redacta work, step by step. RevampKey adds them when you connect; any Agent Skills tool can use them.

See all 1 skills in detail →

What to ask once Redacta is connected

Plain words work. Copy one to try it.

  • “Redact the patient name, NHS number and date of birth from this clinic letter.”
  • “Redact the email addresses and phone numbers in this referral note.”
  • “Put the original names and numbers back into the summary I drafted from the tokens.”
  • “Reinstate the patient details in the letter we redacted earlier.”
  • “Run a self-check on this redacted note and tell me what it found.”

What the agent can do in Redacta

3 tools in 3 groups. Reading needs no approval; RevampKey asks before every change.

Redacting clinical text
Ask the agent to replace patient identifiers in a letter, note or other clinical text with labelled tokens. Redaction covers identifiers such as NHS numbers, National Insurance numbers, dates of birth, emails and phone numbers.redact
Restoring identifiers
Ask the agent to put the original details back into tokenised text. Restoration works from the tokens that a redaction produced, so keep the redacted text and its tokens together.reinstate
Self-checks
Ask the agent to run a self-check on text you have redacted. The agent calls self_check and reports what it finds.self_check

All 3 Redacta MCP tools

Show all 3 tools3 read

Read (3) Run without asking

  • redact
  • reinstate
  • self_check

Redacta MCP in RevampKey vs other tools

RevampKeyClaude CodeCursorVS Code
SetupOne clickOne terminal commandEdit mcp.jsonEdit mcp.json
Sign-inIn the app/mcp → AuthenticateBrowser promptBrowser prompt
Redacta skillsAdded on connectCopy into .claude/skillsCopy into the projectCopy into the project
Needs a terminalNoYesNoNo

Redacta MCP server FAQ

What do I need to connect Redacta to RevampKey?

Connect Redacta from the Connectors tab in RevampKey. It is available now. Once it is connected, your agent can call its three tools: redact, reinstate and self_check. You then ask for what you need in plain English, and the agent picks the right tool.

What can the agent do with Redacta, and what can't it do?

It can redact patient identifiers from text, reinstate them into tokenised text, and run a self-check. None of its three tools sends text anywhere, and the server makes no network calls. Redacta does not catch names in free prose, so check the agent's answers and read redacted output yourself before you rely on it.

Does my data stay on my computer, and does the agent ask before it acts?

The agent asks before it changes anything. Redacta's server runs locally in its own process, with no network calls and no persistent storage. The legacy redact tool returns the token map to the agent, so the reversal key can reach the model's context.

Why does the redact tool return the token map?

This connector gives the agent the older v1 tools. Redact returns the token map to the caller, which can place the reversal key in the model's context. Redacta's newer protect and release_to_file tools keep the map inside the server, but this connector does not include them.

Is the Redacta MCP server local or remote?

It runs on your own computer with npx (package redacta-mcp@2.1.1). Your client starts it as a local process; nothing is hosted.

What can an AI agent do with the Redacta MCP server?

It exposes 3 tools: 3 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

Are there agent skills for Redacta?

Yes. 1 SKILL.md playbooks teach an agent how to do real Redacta work step by step. RevampKey installs them when you connect Redacta; for Claude Code, Cursor or Codex you can copy them into your project.

Connect Redacta in under a minute

Download RevampKey for Mac, Windows or Linux, sign in, and Redacta is one click away, with its skills already attached, along with every other connector in the marketplace.

Download RevampKeyConnect Redacta · 1 click

Get RevampKey to connect Redacta

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Redacta is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

curl -fsSL --create-dirs -o .claude/skills/redacta-essentials/SKILL.md https://revampkey.com/marketplace/redacta/skills/essentials/SKILL.md
All Redacta skills