npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@blindfold/mcp-server

v1.0.2

Published

MCP server for Blindfold PII detection - protect sensitive data in AI conversations

Readme

Blindfold MCP Server

Detect, redact, tokenize, and mask PII directly from Claude, Cursor, or any MCP-compatible AI assistant. 80+ entity types, 30+ countries, works offline with zero dependencies.

npm version License

Why Blindfold MCP?

  • Works offline, zero dependencies — No API key needed. No network calls. No data leaves your machine.
  • 80+ PII entity types across 30+ countries with checksum validation (Luhn, IBAN mod-97, Verhoeff, etc.)
  • Run on your own infrastructure — All processing happens locally. Nothing is sent externally unless you opt in with an API key.
  • 9 tools: detect, redact, tokenize, detokenize, mask, hash, encrypt, synthesize, discover
  • Compliance-ready — Built-in GDPR, HIPAA, PCI-DSS policies
  • Optional NLP upgrade — Add API key to detect names, addresses, organizations (60+ additional entities)
  • Batch support — Process single text or arrays via text/texts parameters

Setup (no API key needed)

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "blindfold": {
      "command": "npx",
      "args": ["-y", "@blindfold/mcp-server"]
    }
  }
}

That's it. No API key, no configuration. The server runs in local mode automatically — 80+ entity types detected offline using regex with checksum validation.

Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "blindfold": {
      "command": "npx",
      "args": ["-y", "@blindfold/mcp-server"]
    }
  }
}

Cursor

Add via Settings > MCP Servers, or in .cursor/mcp.json:

{
  "mcpServers": {
    "blindfold": {
      "command": "npx",
      "args": ["-y", "@blindfold/mcp-server"]
    }
  }
}

Upgrade to Blindfold API (optional)

For names, addresses, organizations, and 60+ entity types, add your API key:

  1. Sign up at blindfold.dev
  2. Get your API key at app.blindfold.dev/api-keys
  3. Add it to your config:
{
  "mcpServers": {
    "blindfold": {
      "command": "npx",
      "args": ["-y", "@blindfold/mcp-server"],
      "env": {
        "BLINDFOLD_API_KEY": "sk-..."
      }
    }
  }
}

Force local mode (with API key)

If you have an API key but want to ensure no data leaves your machine:

{
  "mcpServers": {
    "blindfold": {
      "command": "npx",
      "args": ["-y", "@blindfold/mcp-server"],
      "env": {
        "BLINDFOLD_API_KEY": "sk-...",
        "BLINDFOLD_MODE": "local"
      }
    }
  }
}

Available Tools

| Tool | Description | |------|-------------| | blindfold_detect | Detect PII without modifying text | | blindfold_tokenize | Replace PII with reversible tokens | | blindfold_detokenize | Restore original values from tokens | | blindfold_mask | Partially hide sensitive data | | blindfold_redact | Permanently remove PII | | blindfold_synthesize | Replace with realistic fake data | | blindfold_hash | One-way hash PII | | blindfold_encrypt | Encrypt PII with a password | | blindfold_discover | Analyze samples for PII types (API mode only) |

All tools support batch processing via text (single) or texts (array) parameters.

Usage Examples

Once configured, ask Claude to use Blindfold tools naturally:

Tokenize before processing:

"Tokenize this patient record before summarizing: John Doe, SSN 123-45-6789, diagnosed with diabetes"

Redact logs:

"Redact all PII from these server logs before analyzing them"

Analyze data for PII:

"Discover what types of PII are in these customer feedback samples"

Synthesize test data:

"Replace real customer data in this CSV with synthetic data"

Recommended Instructions

For automatic PII protection, add to your project's CLAUDE.md or system prompt:

Always use blindfold_tokenize before processing any text that contains
personal information (names, emails, phone numbers, addresses, SSNs,
medical data). After generating a response, use blindfold_detokenize
to restore original values.

Detection Policies

All tools accept an optional policy parameter:

| Policy | Use Case | |--------|----------| | basic | Common PII (names, emails, phones) | | strict | Maximum detection, all entity types | | gdpr_eu | EU GDPR-relevant entities | | hipaa_us | US healthcare (PHI, SSN, insurance) | | pci_dss | Payment card data (credit cards, IBANs) |

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | BLINDFOLD_API_KEY | No | — | API key for NLP-powered detection. Omit for local mode. | | BLINDFOLD_MODE | No | auto | Set to local to force offline mode | | BLINDFOLD_REGION | No | — | Data residency: eu or us (API mode only) | | BLINDFOLD_BASE_URL | No | https://api.blindfold.dev | Custom API endpoint | | BLINDFOLD_LOCALES | No | us | Comma-separated locale codes (e.g., us,eu,uk,de) |

Security

  • Local mode: All processing happens on your machine. No data is sent anywhere.
  • API mode: API key is stored locally in your config file and never sent to the AI model. All API calls use HTTPS.
  • The AI model only sees tool names, parameters, and results.

License

MIT