PII Shield banner
gregmos gregmos

PII Shield

Development community

Description

PII anonymization (MCP + Skill for Claude and CLI for the rest)

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

🛡️ PII Shield

Anonymize documents before Claude sees them. Restore real data after analysis.

GitHub Stars GitHub Forks License: MIT Node.js 22+


PII Shield reads your documents locally, replaces all personal data with placeholders (``, ``, etc.), and — when you want analysis — sends only the anonymized text to an LLM. After analysis, PII Shield restores the original data into the final document — entirely on your machine. **PII never enters the API.**

Document ──> [PII Shield on your machine] ──> anonymized text ──> [LLM analyzes] ──> [PII Shield restores] ──> Result
              John Smith  →                                                  → John Smith
              Acme Corp.  →                                                        → Acme Corp.

Two ways to use it, sharing the same engine:

Form Who it's for Install
Standalone CLI (pii-shield) Anyone — anonymize files locally for any LLM (or just for compliance / GDPR). Pure offline. npm install -g pii-shield
Claude Desktop / Code extension (.mcpb + .skill) Claude Desktop and Claude Code users — get tools + skill + in-chat HITL panel. Drag the .mcpb from a release into Settings → Extens