MCP servers · abidit

phi-guard-mcp: local MCP server for detecting PHI in code and prompts

A local MCP server that flags protected health information in source code, LLM prompts, logs and analytics calls.

This text was machine-translated from the publisher's own information and has not been checked by a human editor. The publisher's original text is the reference.

This resource was imported automatically from the sources listed below and has not been reviewed by the AI Gate team yet. The description is the publisher's own, as published. Check the repository before installing.

What it does

The server runs as a local stdio process and makes no network calls of its own. It offers two tools. redact_suggest takes a text snippet such as a log line or prompt, detects PHI-shaped values (SSNs, MRNs, dates of birth, patient names, phone numbers and email addresses), and returns a redacted version with a confidence score for each match. scan_code walks a directory and flags lines where a sensitive identifier, such as patient, diagnosis, dob or mrn, appears on the same line as a risky sink: an LLM provider call, a console or logger call, an analytics .track( call, or an error-reporting call. It reads .ts, .tsx, .js, .jsx, .py and .go files. Matched PHI values are masked in results by default.

It is intended for healthcare codebases, where patient data is most likely to leak at the point it is interpolated into a prompt, a console.log or an analytics event, places that infrastructure scanning does not usually catch. It is a linter for that one class of mistake, not a compliance check.

Setup requires Node.js 22 or newer. The server is added to an MCP client such as Claude Code, Claude Desktop or Cursor, either from the npm release or from a local clone. Findings are returned to the client that launched the server, so if that client is a hosted assistant, the findings enter that model's context. After a rebuild, the client must be restarted or the server reconnected.

Limitations and requirements

Requires Node.js 22 or newer. It is not a HIPAA certification, compliance attestation or dataflow analyzer. Detection is purely lexical, with no parser or type information, and the pattern and identifier lists are fixed and limited to those documented. Findings go back to the launching MCP client, so hosted assistants receive them. Raw matched values are returned only when includeMatchedValues is set. A rebuild does not reach an already-running stdio process.

Safety

Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.

  • Runs code or changes an assistant's behaviour

Sources

  • Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
    io.github.Abidit/phi-guard-mcp

    Local-first PHI detection for source code, LLM prompts, logs, and analytics

    v0.2.0
    As shown on registry.modelcontextprotocol.io when we last read it
MCP servers
hashicorp

Terraform MCP Server (HashiCorp)

HashiCorp's MCP server that gives an assistant current Terraform Registry information on providers, modules and policies, and can manage HCP Terraform workspaces.

1.6K GitHub starsCloud & DevOpsSoftware development
Updated 17 Nov 2026
MCP servers
neondatabase

Neon MCP Server (Postgres)

Neon's MCP server for managing Neon Postgres in plain language: create projects and branches, run queries and prepare schema migrations from your editor.

663 GitHub starsData & databasesSoftware development
Updated 17 Nov 2026
MCP servers
redis

Redis MCP Server

Redis's official MCP server that lets an AI assistant store, read and search data in a Redis database, including streams, JSON documents and vector indexes.

642 GitHub starsData & databasesSoftware development
Updated 17 Nov 2026
MCP servers
supabase-community

Supabase MCP Server

Supabase's MCP server that connects an AI assistant to your Supabase project to design tables, run queries, read configuration and look up documentation.

Data & databasesSoftware development
Updated 17 Nov 2026