Phi-guard-mcp Server

A local-first MCP server that catches PHI (protected health information) flowing into LLM prompts, log statements, and analytics calls — in your source code, before it ships.

Local serverstdioMIT

What is the Phi-guard-mcp Server?

phi-guard-mcp is an MCP project maintained in the abidit/phi-guard-mcp repository. The maintainer describes its purpose as “A local-first MCP server that catches PHI (protected health information) flowing into LLM prompts, log statements, and analytics calls — in your source code, before…”. Read the project documentation for the complete scope.

Installation

The documented npm package is phi-guard-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
CategoryMatches
Consoleconsole.log, console.error, console.warn
Loggerslogger., winston, pino
Analytics.track(
ExtensionLanguage
redact_suggest
scan_code

How to install the Phi-guard-mcp Server

{
  "mcpServers": {
    "phi-guard": {
      "command": "npx",
      "args": [
        "-y",
        "phi-guard-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.