{"repo":"postralai/masquerade","free":true,"listed":false,"github":"https://github.com/postralai/masquerade","clone":"git clone https://github.com/postralai/masquerade.git","description":"The Privacy Firewall for LLMs","language":"Python","stars":78,"topics":["claude","mcp","pdf-processing","pdf-redaction","privacy","pseudonymization","pdf-pseudonymization","mcp-server","model-context-protocol","private-llm"],"license":"MIT","category":"mcp-servers","readme_excerpt":"Masquerade MCP: Redact. Replace. Retain Control. 🤐 Problem: Tools like Claude or GPT are incredibly powerful, but they require raw input. If you're dealing with contracts, medical records, or internal documents, that's risky. 🛡️ Solution: Masquerade acts as a privacy firewall for your files. Just paste in the file path to a PDF, and Masquerade will: - Automatically detect sensitive data (names, emails, dates, entities) - Redact the sensitive data - Let you preview before sending to an LLM Architecture 1. User Input : The user asks Claude to redact a PDF by providing its file path. 1. PDF Processing : MCP reads the PDF and converts it to text. 1. Sensitive Data Detection : The text is sent to Tinfoil (an isolated AI platform using Llama 3.3 70B) to identify sensitive data. 1. Redaction : MCP removes the sensitive data and creates a redacted PDF. 1. Summary Return : MCP sends Claude a summary with: - Masked versions of the sensitive data - Redaction counts per page - The path to the redacted file 1. Quering PDF with Claude : The user can upload the redacted PDF to Claude if satisfied with the redactions. Installation 1. Install Claude desktop 1. Get Tinfoil API key (create account and API key) 1. Configure environment Option 1: Automated 4. Restart Claude desktop app (if successfully configured) Option 2: Manual (click to expand) 4. Create a virtual environment with Python \" =3.10, How to use? 1. Prompt Claude: \"Redact sensitive information from this PDF: /path/to/filename.pd","default_branch":null,"files":null,"tree":[],"storefront":"/r/postralai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/postralai/masquerade/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}