Six redaction tools over MCP
redact_text and redact_file redact PII and PHI and return a report. explain_redactions is a dry run for policy debugging. list_policies, get_policy, and status let an agent inspect the connected Philter instance.
Privacy by design
The redaction tools never return the original matched values. The report contains filter types, character positions, confidence, and the replacement token, but not the matched text. Only explain_redactions, for policy debugging, returns matched values, and only when called with include_text. Text passed to redact_text has already been seen by the model, so use redact_file to keep a file's raw contents out of the model's context.
Works with the clients you already use
Any MCP-aware client can call it: Claude Desktop, Claude Code, Cursor, Continue, Goose, and others. Configuration is a short JSON block, or a single claude mcp add command for Claude Code.
Self-hosted, like the rest of Philter
Philter MCP is a thin client in front of your own Philter instance (written against Philter 3.4.2; Philter 4.0 support is in progress). Philter runs within your environment, so detection and redaction happen there.
Policy-driven and consistent
Uses the same Phileas policies as the rest of the toolkit. Tool calls accept optional policy and context arguments so consistent pseudonymization and format-preserving behavior hold across requests.
One command to run
Run the published philterd/philter-mcp Docker image, or install from source with pip install git+https://github.com/philterd/philter-mcp. Point PHILTER_BASE_URL at your Philter instance and the tools appear in your client.