Umbryn MCP logo

Umbryn MCP

Self-hosted MCP boundary for detecting, reversibly redacting, and restoring PHI/PII before text reaches an LLM.

Install Umbryn MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "umbryn-mcp": {
      "command": "uvx",
      "args": [
        "umbryn-mcp"
      ],
      "env": {
        "UMBRYN_ENGINE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

umbryn-mcp provides three MCP tools for detecting sensitive entities, replacing them with typed reversible placeholders, and restoring original values afterward. It runs locally over stdio, using a dependency-light regex and checksum engine by default, with optional Presidio and spaCy support for name and location detection. Fail-closed behavior blocks redaction when detection errors or falls below the configured confidence threshold. Use it when healthcare, financial, or user-generated text must be scrubbed before being sent to a third-party model.

Use cases

  • Scrub clinical text before sending it to a third-party LLM
  • Keep a reversible token map for post-model restoration
  • Inspect PHI/PII coverage before processing a pipeline
  • Block uncertain detections in regulated agent workflows

Key features

  • Fail-closed redaction on detection errors or low confidence
  • HIPAA-aware detection for NPI, DEA, MBI, MRN, and CLIA
  • Reversible typed placeholders with deterministic output
  • Local regex and checksum engine with zero network calls
  • Optional Presidio and spaCy named-entity detection
  • MCP tools for redact, restore, and detect

Tools3

What Umbryn MCP lets your agent do. Expand a tool for its parameters.

Verified live~212 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/29 checks healthy over the last 112d

What it can do

From the 3 tools this server returned when we ran it.

Handles credentials · 1Read-only tools · 3
Network at startup2 connections
Files written at startup10

Observed 2026-11-08 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · umbryn-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit8d agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Umbryn MCP works

What umbryn-mcp does

umbryn-mcp places a local PHI/PII handling boundary between an MCP client and an LLM. Its three tools are redact, restore, and detect:

  • redact finds supported sensitive values and replaces them with typed placeholders such as [NPI_1] or [EMAIL_ADDRESS_1]. The result includes scrubbed text, a token map, and entity details.
  • restore uses the token map to replace placeholders with their original values. Redaction and restoration are designed to preserve the input byte-for-byte.
  • detect reports entities, spans, confidence values, and a count without changing the input. Unlike redact, it exposes low-confidence matches for inspection.

Supported detection includes healthcare identifiers such as NPI, DEA, Medicare MBI, MRN, and CLIA, along with email addresses, phone numbers, US Social Security numbers, credit cards, IBANs, IP addresses, and URLs. The optional ML engine adds PERSON and LOCATION named-entity recognition.

How it works

The server receives tool calls over stdio and passes them to a redaction core. The default engine uses regular expressions and checksum validation, while an optional Presidio and spaCy installation can provide additional named-entity detection. Overlapping matches are resolved deterministically, and detected spans are converted into typed placeholders.

A typical pipeline is redact → send only the returned redacted text to the model → restore the model output locally. The token map contains the original sensitive values, so it must remain inside the controlled environment and must not be sent to the model. Raw input and detection processing stay within the infrastructure running the server; the intended downstream payload contains scrubbed text only.

If detection fails or a result falls below the confidence threshold, the redaction call returns a typed error instead of passing the unresolved value through. This fail-closed behavior is intended to prevent partial scrubbing from silently becoming an outbound request.

Setup and configuration

Install the default package with:

Terminal
pip install umbryn-mcp

Register the executable as an MCP server. For example, Claude Desktop and Claude Code can launch umbryn-mcp directly, while Cursor and VS Code use the same command-based MCP configuration pattern.

For optional name and address detection, install the Presidio extra and the spaCy English model:

Terminal
pip install "umbryn-mcp[presidio]"
python -m spacy download en_core_web_lg

The server automatically uses Presidio when available. Set UMBRYN_ENGINE=regex to force the dependency-free engine, or set it to presidio to require the ML engine.

Tools and capabilities

  • Detect healthcare-specific and general PII patterns locally.
  • Produce deterministic, typed placeholders and a reversible token map.
  • Restore original values after an LLM or downstream processing step.
  • Inspect detected entities without modifying text.
  • Reject uncertain redaction results instead of allowing unresolved data through.
  • Run without network calls or heavy dependencies by default.

Limitations and notes

The server handles text, not images, audio, PDFs, or database rows. Its redaction is reversible and therefore is not a substitute for irreversible anonymization, tokenization, or k-anonymity. Detection cannot guarantee perfect recall, and the project is a technical control rather than a certified compliance product. It exposes explicit tool calls rather than acting as a transparent proxy for every request; automatic proxy mode is identified as future work.

Treat the token map as sensitive as the original input. Keeping it local is necessary for the redact-model-restore pattern to avoid sending the original values to the model.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Umbryn MCP

umbryn-mcp is an MCP server that connects MCP clients to a local PHI/PII redaction boundary. Its main tools are `redact` for reversible typed placeholders, `restore` for recovering original values from a local token map, and `detect` for reporting entities without modifying text. It runs self-hosted over stdio.

Install it with `pip install umbryn-mcp`, then register the `umbryn-mcp` executable in your MCP client configuration. The default installation uses a dependency-light regex and checksum engine. For optional name and address detection, install `umbryn-mcp[presidio]` and the `en_core_web_lg` spaCy model.

umbryn-mcp is documented for Claude Desktop, Claude Code, Cursor, and VS Code. These clients launch or configure the standard stdio command `umbryn-mcp`; Cursor and VS Code use the same command-based configuration shape.

Set `UMBRYN_ENGINE=regex` before starting the server. This selects the dependency-free regex and checksum detector even when the optional Presidio installation is present. Setting `UMBRYN_ENGINE=presidio` instead requires the Presidio-based engine.

Yes. Keep the `token_map` returned by `redact` locally, send only `redacted_text` to the model, and pass the model output with that map to `restore`. The restore operation replaces typed placeholders with their original values, preserving the original text exactly when used as a round trip.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewUmbryn MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/umbryn-mcp?style=directory)](https://allmcps.com/mcp/umbryn-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/umbryn-mcp"><img src="https://allmcps.com/api/badge/umbryn-mcp?style=directory" alt="Umbryn MCP on AllMCPs" /></a>