Contact Us

Tell us about your stack and the privacy problems you're trying to solve. We typically respond within one business day.

Prefer email? support@philterd.ai

Please do not enter PII or PHI in this form. If you need to share an example, use a sanitized one.

Open source MCP server

Philter MCP

Philter MCP exposes Philter's PII and PHI redaction as Model Context Protocol tools that Claude Desktop, Claude Code, Cursor, and other MCP-aware clients can call from inside an agent's tool loop.

View on GitHub

How Philter MCP works with your agent and Philter

Philter MCP sits between an MCP client and your self-hosted Philter instance. The agent calls a redaction tool, Philter MCP forwards it to Philter, and only redacted text and a report come back.

Agent
MCP client

Claude Desktop, Claude Code, Cursor, and other MCP-aware clients call a redaction tool from inside the tool loop.

Philter MCP
MCP tool server

Exposes Philter's redaction as tools your MCP client can call, and forwards each call to your Philter instance.

Philter
Self-hosted redaction API

Detects and redacts PII and PHI inside your own environment, then returns the result.

Redacted text and a report (filter types, character positions, confidence, and replacement tokens) flow back to the agent. The original matched values never enter the model's context.

Redaction inside the agent loop

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, so nothing sensitive enters 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 3.x instance. Philter runs entirely within your environment, so your data never leaves your perimeter.

Policy-driven and consistent

Uses the same Phileas policies as the rest of the toolkit. Tool calls accept optional policy, context, and document_id arguments so consistent pseudonymization and format-preserving behavior hold across requests.

One line to install

Launch it with uvx philter-mcp (or pipx run philter-mcp); a Docker image is also published. Point PHILTER_BASE_URL at your Philter instance and the tools appear in your client.

The tools it exposes

Philter MCP registers six tools. The redaction tools return a report of filter types, character positions, confidence, and replacement tokens, never the original matched values.

ToolWhat it does
redact_textRedact PII and PHI in a string and return the redacted text plus a report, without the original values.
redact_fileRedact a UTF-8 text file (logs, CSV exports, tickets, transcripts) and return the redacted content and a report. The file on disk is not modified.
explain_redactionsDry run for debugging a policy: show what Philter would redact and why, without changing the text.
list_policiesList the redaction policies available on the connected Philter instance.
get_policyReturn the JSON definition of a single policy.
statusReturn the status and health of the connected Philter instance.

Frequently asked questions

If something here isn’t covered, get in touch and we’ll answer.

What is Philter MCP?
An open source MCP (Model Context Protocol) server that exposes Philter's PII and PHI redaction as tools any MCP-aware client can call, including Claude Desktop, Claude Code, Cursor, Continue, and Goose. It wraps a running Philter 3.x instance, so your data stays inside your own environment.
How does Philter MCP work with Philter?
Philter MCP is a thin client over your own Philter instance. Each tool call forwards the text to Philter's redaction API and returns the result, so Philter does the detection and redaction while the MCP server just exposes it as tools your client can call. Point PHILTER_BASE_URL at your instance and your data stays inside your environment.
How is this different from the Philter AI Proxy?
The Philter AI Proxy sits in front of production LLM traffic and redacts prompts at the network layer. Philter MCP is the client-side counterpart for development and agent workflows: it gives a developer or an agent redaction tools to call directly inside the tool loop. Many teams run both.
What do I need to run it?
A running Philter 3.x instance reachable from where the server runs, and an MCP-aware client. Install and launch it with uvx philter-mcp (or pipx run philter-mcp), then point PHILTER_BASE_URL at your Philter instance. A Docker image is also available.
Which clients are supported?
Any MCP-aware client. That includes Claude Desktop, Claude Code, Cursor, Continue, and Goose. Configuration is a short JSON block, or a single claude mcp add command for Claude Code.
Is Philter MCP open source?
Yes. Philter MCP is open source under the Apache License, Version 2.0. Check out the code, file issues, and contribute on GitHub.

Ready to use Philter MCP?

Three ways to get going: deploy the open source yourself, spin it up from a cloud marketplace, or work with our team directly. Pick the path that fits.

See your options