# ScrubGuard

> ScrubGuard is an open-source MCP server. Local-first PII and secret scrubber with checksum checks and reversible LLM tokens. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://scrubguard-api.scrubguard.workers.dev
- **Repository:** https://github.com/scrubguard-dev/scrubguard
- **MCP Registry name:** io.github.scrubguard-dev/scrubguard
- **Listing updated:** 2026-11-13

## About

Local-first PII and secret scrubber with checksum checks and reversible LLM tokens.

## Install

### Claude Code (Terminal)

```sh
claude mcp add scrubguard --env SCRUBGUARD_API_KEY='<SCRUBGUARD_API_KEY>' -- npx -y scrubguard-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "scrubguard": {
      "command": "npx",
      "args": [
        "-y",
        "scrubguard-mcp"
      ],
      "env": {
        "SCRUBGUARD_API_KEY": "<SCRUBGUARD_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "scrubguard": {
      "command": "npx",
      "args": [
        "-y",
        "scrubguard-mcp"
      ],
      "env": {
        "SCRUBGUARD_API_KEY": "<SCRUBGUARD_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "scrubguard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "scrubguard-mcp"
      ],
      "env": {
        "SCRUBGUARD_API_KEY": "<SCRUBGUARD_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "scrubguard": {
      "command": "npx",
      "args": [
        "-y",
        "scrubguard-mcp"
      ],
      "env": {
        "SCRUBGUARD_API_KEY": "<SCRUBGUARD_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "scrubguard": {
      "command": "npx",
      "args": [
        "-y",
        "scrubguard-mcp"
      ],
      "env": {
        "SCRUBGUARD_API_KEY": "<SCRUBGUARD_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is ScrubGuard free?

Yes. ScrubGuard is open source, so you can use and self-host it for free.

### How do I add ScrubGuard to Claude Code?

Run this command in your terminal: claude mcp add scrubguard --env SCRUBGUARD_API_KEY='<SCRUBGUARD_API_KEY>' -- npx -y scrubguard-mcp

---
Source: https://ai-powered.com/mcp/scrubguard
