Skip to main content
MCP server CX Codex

PII Detector — Claude Code MCP server

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.

no license 3,496 installs updated 2026-04-12

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http pii-detector https://pii-detector--axel-belfort.run.tools
Open on GitHub

What PII Detector — Find Emails, SSNs, Credit Cards in Text 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.

What it helps with

  • 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 for the agent

  • 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.

How to install PII Detector — Find Emails, SSNs, Credit Cards in Text

Platform CLI: remote server

claude mcp add --transport http pii-detector https://pii-detector--axel-belfort.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about PII Detector — Find Emails, SSNs, Credit Cards in Text

How do I install PII Detector in Claude Code?

Run claude mcp add --transport http pii-detector https://pii-detector--axel-belfort.run.tools, then run claude mcp add --transport http pii-detector-find-emails-ssns-credit-cards-in-text https://pii-detector--axel-belfort.run.tools.

What does PII Detector do?

It scans text for emails, phone numbers, SSNs, card numbers, IP addresses, physical addresses, and names. The result includes detected items, a risk level, and a redaction-ready version.

Does this MCP server need an API key?

No API key is required. Calls use an x402 micropayment of $0.005 on Base L2.

Similar MCP servers

All MCP servers for Security →

Project sponsors

Companies that keep this analytics open