Phi Guard MCP
Local stdio MCP server that detects PHI patterns in text and flags sensitive identifiers near risky code sinks.
Install Phi Guard MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"phi-guard-mcp": {
"command": "npx",
"args": [
"-y",
"phi-guard-mcp"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Automated check passed— started and listed 2 tools correctly (3d ago).
Overview
Use cases
- Redact PHI-shaped values from prompts and log snippets
- Scan JavaScript and TypeScript code for risky patient-data usage
- Review Python and Go files for sensitive identifiers near sinks
- Find patient-related values passed to LLM, logging, or analytics calls
Key features
- Detects SSNs, MRNs, dates of birth, names, phones, and emails
- Masks matched values in results by default
- Scans TypeScript, JavaScript, Python, and Go files
- Flags sensitive identifiers near LLM, logger, analytics, and error-reporting sinks
- Runs locally as an MCP stdio process
- Returns file, line, severity, and snippet details
Tools2
What Phi Guard MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 2 tools this server returned when we ran it.
Observed 2026-11-05 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 7d ago via OSV.dev · phi-guard-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Phi Guard MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Phi Guard MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/phi-guard-mcp)<a href="https://allmcps.com/mcp/phi-guard-mcp"><img src="https://allmcps.com/api/badge/phi-guard-mcp?style=directory" alt="Phi Guard MCP on AllMCPs" /></a>