Server data from the Official MCP Registry
Pseudonymise and restore patient identifiers & PII in text — local, HIPAA Safe Harbor mode.
Pseudonymise and restore patient identifiers & PII in text — local, HIPAA Safe Harbor mode.
Redacta is a well-designed, security-conscious redaction engine with clean architecture and appropriate authentication handling. The code demonstrates strong input validation, proper use of checksums and keyword anchoring to prevent false positives, and maintains safe patterns for handling sensitive token maps. No network access, no credential storage, no dangerous operations detected. Minor code quality observations noted but do not substantiate security concerns. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
6 files analyzed · 7 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-nickjlamb-redacta-mcp": {
"args": [
"-y",
"redacta-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
Pseudonymise medical and clinical documents before they're processed by AI or
shared. Redacta replaces patient identifiers with labelled tokens —
[PATIENT_NAME_1], [NHS_NUMBER_1], [DATE_OF_BIRTH_1], … — while leaving the
clinical meaning intact, and returns a redaction report alongside the cleaned
text.
It's an Agent Skill (the open standard used by Claude and other agents), so it drops into Claude Code, the Claude apps, or the API.
Two layers:
scripts/redact_structured.py,
Python standard library only, no network) matches fixed-format identifiers:
NHS numbers (Modulus-11 validated), UK National Insurance numbers, dates of
birth, UK postcodes, phone numbers, emails, and hospital/MRN numbers. US SSN
and ZIP codes are also handled.It also works in reverse. Re-identification (scripts/reinstate.py) takes the
token map from an earlier redaction and restores the original values — so you can
redact a document, run it through another AI tool, and put the real details back
locally. Redact → process → re-identify is a complete round trip, and identifiers
only ever exist on your machine.
Safe Harbor mode. Ask for HIPAA Safe Harbor (or "US de-identification") and Redacta applies a stricter pass: all dates (not just the date of birth), all specific ages, and the remaining HIPAA identifiers — fax, certificate/licence, device serial, VIN, and health-plan beneficiary numbers.
Claude Code
git clone https://github.com/nickjlamb/redacta ~/.claude/skills/redacta
Then invoke it with /redacta, or let it trigger automatically when you ask to
redact or de-identify clinical text.
Claude apps / API
Zip the repository folder and upload it as a skill.
| Path | What it is |
|---|---|
SKILL.md | The skill — instructions plus metadata |
reference.md | Pattern specs, the Modulus-11 algorithm, NI prefix rules, the date-of-birth vs clinical-date rule, token vocabulary, limitations |
scripts/redact_structured.py | The deterministic pattern layer |
scripts/reinstate.py | The re-identification layer (restore originals from a token map) |
scripts/test_redact_structured.py | Tests for the pattern layer |
scripts/test_reinstate.py | Tests for the re-identification layer |
evaluations.json | Example evaluation scenarios |
Run the tests:
python3 scripts/test_redact_structured.py
python3 scripts/test_reinstate.py
Redacta is a strong first line of defence, not a guarantee. It won't catch every possible identifier and isn't a substitute for formal data-protection processes. Always review the redaction report before sharing text.
MIT-0 (MIT No Attribution). Built by PharmaTools.AI.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.