# PII Detector — Find Emails, SSNs, Credit Cards in Text

PII Detector — Find Emails, SSNs, Credit Cards in Text is a Claude Code MCP server that scans text for personal data and returns a risk level and redaction-ready result before logging.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 3496 installs
- Author: axel-belfort
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/axel-belfort/pii-detector
- Updated: 2026-04-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/pii-detector-find-emails-ssns-credit-cards-in-text

## What it does

PII Detector checks text for email addresses, phone numbers, US SSNs, card numbers, IP addresses, physical addresses, and names. Its response includes the detected items, a risk level, and text that can be prepared for redaction. Card numbers go through Luhn validation.

The server exposes `compliance_detect_pii`. Run it before text is logged, stored, or transmitted when personal data may be present. Website GDPR checks use a separate tool, `compliance_scan_gdpr`.

No API key is required. Each call uses an x402 micropayment of $0.005 on Base L2. The server endpoint is `https://pii-detector--axel-belfort.run.tools`. Payment is part of the request flow.

## Requirements
- Remote server: `https://pii-detector--axel-belfort.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http pii-detector https://pii-detector--axel-belfort.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add pii-detector-find-emails-ssns-credit-cards-in-text --url https://pii-detector--axel-belfort.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "pii-detector-find-emails-ssns-credit-cards-in-text": {
            "url": "https://pii-detector--axel-belfort.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "pii-detector-find-emails-ssns-credit-cards-in-text": {
            "type": "http",
            "url": "https://pii-detector--axel-belfort.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http pii-detector-find-emails-ssns-credit-cards-in-text https://pii-detector--axel-belfort.run.tools
```

## When to use it
- scan text for personal data
- check content before it enters logs
- validate card numbers with Luhn checks
- assign a risk level to detected PII
- prepare sensitive text for redaction

## Example prompts
- Scan this text for personal data before it is written to the log.
- Find emails, phone numbers, SSNs, and card numbers in this message, then return the risk level.
- Check this text before transmission and provide a version ready for removing the detected data.

## Similar
- [pii-redaction-logging-policy-builder](https://affpapa.org/en/nevibecode/skills/pii-redaction-logging-policy-builder.md) — skill · 283 installs
- [pii-detect](https://affpapa.org/en/nevibecode/skills/pii-detect.md) — skill · 763 installs
- [privacy-parser-pii-extraction](https://affpapa.org/en/nevibecode/skills/privacy-parser-pii-extraction.md) — skill · 317 installs
- [privacy-engineering](https://affpapa.org/en/nevibecode/skills/privacy-engineering.md) — skill · 456 installs
- [data-privacy-compliance](https://affpapa.org/en/nevibecode/skills/data-privacy-compliance.md) — skill · 259 installs
- [privacy-compliance](https://affpapa.org/en/nevibecode/skills/privacy-compliance.md) — skill · 1 install

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
