# MCP

> MCP is a freemium MCP server for security. Screen documents for edits, failed redactions and prompt injection before agents read them. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $29 a month
- **Platforms:** CLI, API, Web
- **Website:** https://tamperlens.com
- **Repository:** https://github.com/haruodev/tamperlens-mcp
- **MCP Registry name:** com.tamperlens/mcp
- **Categories:** security, files and documents
- **Listing updated:** 2026-11-15

## About

Tamperlens looks at what a file's structure records rather than what it shows on screen. For PDFs that includes revisions appended after the original save, metadata fields that contradict each other, editor fingerprints in the Producer field and signatures that no longer cover the whole file. It also checks whether a redaction removed anything, since a black box drawn over text hides it from a reader but not from the file, and whether a document carries text addressed to a language model. The site frames results as risk signals with raw evidence, not verdicts.

The npm package runs locally over stdio. Five tools cover a full inspection, a cheaper triage pre-flight, redaction checks, comparison against an original, and a multi-document case check for inconsistencies between files from one case. It accepts PDF, Word, Excel, PowerPoint and common image formats. Local paths or http(s) URLs can be passed, with URLs fetched on your machine and blocked from reaching private or metadata addresses.

The README warns that the path argument reads any local file and sends its bytes to the API; an optional environment variable confines reads to allowed directories. Without a key, 10 documents an hour are allowed; a free key gives 50 a month, and compare_documents and inspect_case need a key.

## Features

- **Edit detection:** inspect_document flags appended revisions, conflicting metadata, editor traces and signature coverage.
- **Redaction check:** check_redaction tests whether a redaction actually removed the covered content.
- **Prompt-injection screen:** Reports whether a file carries text meant for a model rather than a reader.
- **Cheap triage:** triage_document is a lightweight pre-flight that names the checks it skipped.
- **Case consistency:** inspect_case compares 2 to 10 documents for shared traces they should not have.
- **Directory confinement:** TAMPERLENS_ALLOWED_DIRS limits which local folders the server may read.

## Good for

- Screen a bank statement or payslip before an onboarding agent reads it
- Confirm a redacted file really removed the hidden text
- Check whether a file matches the original you hold
- Route incoming documents with a quick triage before full inspection
- Compare three months of statements for suspicious overlap

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp --env TAMPERLENS_API_KEY='<TAMPERLENS_API_KEY>' -- npx -y tamperlens-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

## Tools

- `inspect_document`: Checks whether a document was edited, including hidden text, macros, image AI traces and text addressed to a language model.
- `triage_document`: Cheap pre-flight returning risk band, cost measures and the checks it skipped.
- `check_redaction`: Checks whether a redaction actually removed content.
- `compare_documents`: Checks whether a file is unchanged from the original you hold.
- `inspect_case`: Checks whether the documents of one case disagree with each other.

## FAQ

### Does it need an API key?

No for basic use, which allows 10 documents an hour. A free key raises that to 50 a month, and two tools require one.

### Which files are supported?

PDF, Word, Excel and PowerPoint, including macro-enabled types, plus JPEG, PNG, WebP, HEIC/HEIF and AVIF.

### Can it fetch a URL safely?

Yes, fetching happens on your machine, only http/https, with private and metadata addresses refused.

### Does it prove a document is genuine?

No. It reports signals and evidence, and the site says a document generated cleanly from scratch carries no editing traces.

### How do I restrict local file access?

Set TAMPERLENS_ALLOWED_DIRS to the directories reads may use.

### Is MCP free?

MCP has a free plan, with paid plans for more usage or features. Paid plans start at $29 a month.

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

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

### What are the best alternatives to MCP?

The closest alternatives to MCP are REA, Agent Roast, Midplane, Leash and ASTra.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.

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