# Phi Guard MCP

> Phi Guard MCP is an open-source MCP server for ai models and llm tooling. Local-first PHI detection for source code, LLM prompts, logs, and analytics. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/abidit/phi-guard-mcp
- **MCP Registry name:** io.github.Abidit/phi-guard-mcp
- **Categories:** AI models and LLM tooling
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add phi-guard-mcp -- npx -y phi-guard-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "phi-guard-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "phi-guard-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Is Phi Guard MCP free?

Yes. Phi Guard MCP is open source, so you can use and self-host it for free.

### How do I add Phi Guard MCP to Claude Code?

Run this command in your terminal: claude mcp add phi-guard-mcp -- npx -y phi-guard-mcp

### What are the best alternatives to Phi Guard MCP?

The closest alternatives to Phi Guard MCP are Claude Code Ultimate Guide, signafAIde, Toolkien, Lugh and HypePaper.

## Alternatives

- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [signafAIde](https://ai-powered.com/mcp/signafaide): signafAIde is a freemium MCP server for security.
- [Toolkien](https://ai-powered.com/mcp/toolkien): Toolkien is an open-source MCP server for ai models and llm tooling.
- [Lugh](https://ai-powered.com/mcp/lugh): Lugh is an open-source MCP server for ai models and llm tooling.
- [HypePaper](https://ai-powered.com/mcp/hypepaper): HypePaper is a freemium MCP server for ai models and llm tooling.
- [Agent Data Tools: Compact (find, describe, run)](https://ai-powered.com/mcp/agent-data-tools-compact-find-describe-run): Agent Data Tools: Compact (find, describe, run) is a freemium MCP server for developer tools.
- [Angel Agent Guard: pre-purchase check + prompt-injection scan](https://ai-powered.com/mcp/angel-agent-guard-pre-purchase-check-prompt-injection-scan): Angel Agent Guard: pre-purchase check + prompt-injection scan is a freemium MCP server for ai models and llm tooling.
- [Mizan Calibration](https://ai-powered.com/mcp/mizan-calibration): Mizan Calibration is a free MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/phi-guard-mcp
