Skip to content
MCP server

LLM Data Guard: PII & Secrets Redaction

Detect and redact PII and API secrets in text, HTML or PDF before it reaches an LLM

Install
Pricing
Paid
Platforms
API
Runs
Remotely
Version
1.0.1
Listing updated
2 days ago

About LLM Data Guard: PII & Secrets Redaction

LLM Data Guard: PII & Secrets Redaction is a paid MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.

Redaction here is a round trip: each hit is swapped for a numbered placeholder such as [EMAIL_1], the redacted text goes to the model, and a restore mode puts the real values back into the answer afterwards. The Apify Actor behind this server handles batches, URLs and PDFs with a text layer up to 10 MB each, with no OCR.

Detection covers emails, phones, card numbers checked by Luhn, IBANs, SSNs, UK national insurance numbers and IP addresses, plus secrets such as private keys, AWS, GitHub, Slack, Stripe, OpenAI and Anthropic keys, JWTs and a generic entropy-based rule. Names, locations and street addresses are optional. Overlaps are resolved by priority so a card number is never also reported as a phone.

The Fairquery article also points to free local tools, pii_scan_text and pii_redact_text, in a separate agent-trust MCP package.

Install

Run in a terminal

claude mcp add --transport http llm-data-guard-pii-secrets 'https://mcp.apify.com/?tools=fetch-actor-details,fairquery/llm-data-guard-pii-secrets'

Add to Settings → Connectors → Add custom connector

https://mcp.apify.com/?tools=fetch-actor-details,fairquery/llm-data-guard-pii-secrets
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "llm-data-guard-pii-secrets": {
      "url": "https://mcp.apify.com/?tools=fetch-actor-details,fairquery/llm-data-guard-pii-secrets"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "llm-data-guard-pii-secrets": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=fetch-actor-details,fairquery/llm-data-guard-pii-secrets"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "llm-data-guard-pii-secrets": {
      "serverUrl": "https://mcp.apify.com/?tools=fetch-actor-details,fairquery/llm-data-guard-pii-secrets"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "llm-data-guard-pii-secrets": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=fetch-actor-details,fairquery/llm-data-guard-pii-secrets"
    }
  }
}

What it does

Placeholder redaction
Replaces findings with numbered tokens and a placeholder map.
Secret detection
Gitleaks-style rules for common cloud and API keys.
Validated PII rules
Luhn, IBAN mod-97 and libphonenumber checks cut false hits.
URL and PDF input
Fetches public pages and PDFs with a text layer.
Consistent placeholders
Reuses tokens across a whole dataset for RAG or fine-tuning.
Restore mode
Swaps original values back server-side.

Good for

  • Clean support tickets before summarising them
  • Scrub logs of leaked keys
  • Prepare a dataset for fine-tuning
  • Block prompts that contain secrets

Pricing

Paid

$1.50 per 1,000 documents plus $0.20 per 1,000 findings on Apify

Prices change. Check getfairquery.com before you buy.

LLM Data Guard: PII & Secrets Redaction FAQ

What does it cost?

$1.50 per 1,000 documents plus $0.20 per 1,000 findings and a $0.05 per 1,000 runs start fee.

Does it detect names?

Yes, optionally, as low-confidence PERSON findings.

Does it read scanned PDFs?

No. It uses the text layer only, without OCR.

Is there a free option?

The article describes free local tools in @fairquery/agent-trust-mcp.

Is LLM Data Guard: PII & Secrets Redaction free?

No. LLM Data Guard: PII & Secrets Redaction is a paid product.

How do I add LLM Data Guard: PII & Secrets Redaction to Claude Code?

Run this command in your terminal: claude mcp add --transport http llm-data-guard-pii-secrets 'https://mcp.apify.com/?tools=fetch-actor-details,fairquery/llm-data-guard-pii-secrets'

What are the best alternatives to LLM Data Guard: PII & Secrets Redaction?

The closest alternatives to LLM Data Guard: PII & Secrets Redaction are REA, Claude Code Ultimate Guide, Agent Roast, Midplane and Leash.

Alternatives to LLM Data Guard: PII & Secrets Redaction

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  3. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  4. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  5. Leash

    MCP server

    Review what your AI touched, approve risky actions and undo supported changes

    • 1 tool
    • Remote
    • Free
    • 1 GitHub star
    • Security
  6. SecureCloud

    MCP server

    SentinelOne and IT security catalog, prices, quotes and checkout links for Israel

    • 7 tools
    • Remote
    • Free
    • Security