PII Detection MCP - Detect, Mask & Scan for Personal Data avatar

PII Detection MCP - Detect, Mask & Scan for Personal Data

Pricing

Pay per event + usage

Go to Apify Store
PII Detection MCP - Detect, Mask & Scan for Personal Data

PII Detection MCP - Detect, Mask & Scan for Personal Data

Real MCP server for Claude Desktop. Detect and mask personally identifiable information (PII) in text and images. GDPR/CCPA compliance tool. Local AI, zero data exposure. Connect via Standby URL.

Pricing

Pay per event + usage

Rating

0.0

(0)

Developer

daehwan kim

daehwan kim

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Share

PII Detection MCP Server

Detect, mask, and scan for personally identifiable information (PII) in text and images using local AI vision models. GDPR/CCPA compliance tool with zero data exposure.

Features

ToolDescriptionPrice
detect_piiScan text for PII entities (email, phone, SSN, names, addresses, etc.) with confidence scores$0.08/use
mask_piiMask all PII in text with [TYPE]**** format for safe sharing and logging$0.10/use
scan_image_piiScan document/image for PII using vision AI (invoices, IDs, contracts, etc.)$0.12/use

Connect via Claude Desktop

Add to your Claude Desktop MCP settings:

{
"mcpServers": {
"pii-detection": {
"url": "https://ntriqpro--pii-detection-mcp.apify.actor/mcp?token=YOUR_APIFY_TOKEN"
}
}
}

Supported PII Types

The PII detection engine identifies and categorizes:

  • EMAIL — Email addresses (pattern: user@domain.com)
  • PHONE — Phone numbers (US: +1-555-123-4567, International)
  • SSN — Social Security Numbers (US: XXX-XX-XXXX)
  • NAME — Personal names and titles
  • ADDRESS — Residential and postal addresses
  • CREDIT_CARD — Card numbers (Visa, MasterCard, American Express)
  • DATE_OF_BIRTH — Birth dates in various formats
  • PASSPORT — Passport numbers and IDs
  • DRIVER_LICENSE — Driver's license numbers
  • IP_ADDRESS — IPv4 and IPv6 addresses
  • BANK_ACCOUNT — Bank account and routing numbers

Input

Each tool accepts:

  • text (required for detect_pii, mask_pii): Text to scan or mask
  • imageUrl (required for scan_image_pii): URL of the document image
  • language (optional): Language code — "en" (default), "ko", "ja", "zh", "es"

Output

Each tool returns structured JSON with analysis results.

Example: detect_pii

Input:

{
"text": "Contact John Smith at john.smith@example.com or 555-123-4567. SSN: 123-45-6789"
}

Output:

{
"status": "success",
"entities": [
{
"type": "NAME",
"value": "John Smith",
"position": [8, 19],
"confidence": 0.98
},
{
"type": "EMAIL",
"value": "john.smith@example.com",
"position": [23, 45],
"confidence": 0.99
},
{
"type": "PHONE",
"value": "555-123-4567",
"position": [49, 61],
"confidence": 0.97
},
{
"type": "SSN",
"value": "123-45-6789",
"position": [68, 79],
"confidence": 0.96
}
],
"entity_count": 4,
"model": "qwen3.5",
"language": "en"
}

Example: mask_pii

Input:

{
"text": "Invoice from John Smith (john.smith@example.com) for $500. SSN: 123-45-6789"
}

Output:

{
"status": "success",
"masked_text": "Invoice from [NAME]**** ([EMAIL]****) for $500. SSN: [SSN]****",
"entities_masked": 3,
"model": "qwen3.5",
"language": "en"
}

Example: scan_image_pii

Input:

{
"imageUrl": "https://example.com/invoice.jpg"
}

Output:

{
"status": "success",
"entities": [
{
"type": "NAME",
"value": "Jane Doe",
"position": [45, 80],
"confidence": 0.95
},
{
"type": "ADDRESS",
"value": "123 Main St, Springfield, IL 62701",
"position": [90, 125],
"confidence": 0.94
},
{
"type": "PHONE",
"value": "217-555-0123",
"position": [130, 142],
"confidence": 0.98
}
],
"entity_count": 3,
"detected_regions": [
{
"type": "NAME",
"bbox": [0.1, 0.2, 0.4, 0.3],
"confidence": 0.95
},
{
"type": "ADDRESS",
"bbox": [0.1, 0.35, 0.6, 0.5],
"confidence": 0.94
}
],
"model": "qwen3.5",
"language": "en",
"imageUrl": "https://example.com/invoice.jpg"
}

Supported Document Types

  • Invoices and receipts
  • Contracts and agreements
  • ID documents (passport, driver's license, national ID)
  • Medical records and prescriptions
  • Forms and applications
  • Business letters and memos
  • Reports and presentations
  • Bank statements and financial documents

Supported Languages

Responses can be generated in: English, Korean, Japanese, Chinese, Spanish.

Technology

  • Vision Model: Qwen3.5 (Apache 2.0 License)
  • NLP Model: Qwen3.5 (Apache 2.0 License)
  • Processing: Local AI inference, zero external API calls
  • Privacy: Text and images are processed in real-time and not stored or retained

Open Source Licenses

This service uses the following open source models:

Platform usage is free. You only pay per event (see pricing above).

PII Detection Notice: This service provides AI-assisted PII detection and is not guaranteed to identify all instances of personally identifiable information. Results should be verified by qualified personnel before use in compliance workflows. This tool does not constitute legal advice or guarantee compliance with GDPR, CCPA, HIPAA, or any other privacy regulation. Users are responsible for ensuring their data handling practices meet applicable regulatory requirements. Text and images are processed in real-time and are not stored, retained, or used for model training.

Privacy & Compliance

  • Zero Data Retention: All text and images are processed in real-time and immediately discarded
  • No Model Training: Your data is never used to train or improve models
  • GDPR Compliant: No personal data storage or retention
  • CCPA Compliant: No data sharing with third parties
  • Local Processing: All analysis occurs on secure, isolated infrastructure

Use Cases

  • Data Loss Prevention (DLP): Mask PII before logging, debugging, or sharing
  • Compliance Auditing: Scan documents to ensure no sensitive data leakage
  • Customer Data Protection: Anonymize personal information in communications
  • Incident Response: Identify PII in breach notifications or incident reports
  • Document Processing: Safely extract and redact information from forms and invoices