# Strip AI Metadata

> Strip AI Metadata is an open-source MCP server for security. Strip GPS, EXIF, C2PA and AI prompts from photos, video, PDFs and RAW files locally. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux
- **Website:** https://www.stripaimetadata.com/mcp
- **MCP Registry name:** com.stripaimetadata/strip-ai-metadata
- **Categories:** security, files and documents
- **Listing updated:** 2026-11-14

## About

The server runs on your own computer through npx and Node.js 20 or newer, so files are never uploaded, and the assistant sees only file names and a report of what was removed. Originals are left alone and a clean copy is saved beside each as name-clean.ext, unless you ask to overwrite.

It covers photos in JPG, PNG, WebP, AVIF and HEIC, videos in MP4, MOV, M4V and 3GP, PDFs, and RAW formats such as CR2, CR3, NEF, ARW and DNG. Photos lose EXIF, GPS, XMP, IPTC, C2PA, AI prompts and ComfyUI workflows without recompressing. Videos lose GPS tracks, device details, dates and GoPro or DJI telemetry without re-encoding. PDFs lose author, title, software, dates, XMP and old revisions, and RAW files lose GPS, serial numbers, owner and dates while sensor data stays untouched.

The ai mode removes only AI data and keeps camera details, which the site recommends for real photos mislabelled as AI content on Instagram. The project is MIT-licensed, has no API key, account or usage limit, and the same engine is also offered as a command-line tool and Node.js library.

## Features

- **Local processing:** Files stay on your machine and only names and a report reach the assistant.
- **Multiple file types:** Handles photos, videos, PDFs and camera RAW files.
- **Cleaning modes:** Choose all, ai, gps or c2pa removal.
- **Lossless output:** Photos and videos are not recompressed or re-encoded.
- **Safe copies:** Writes name-clean copies and leaves originals unchanged.
- **Inspect only:** inspect_files shows what files reveal without changing them.

## Good for

- Remove location from photos before sharing
- Strip author and dates from a PDF before sending it
- Clean a folder of RAW files but keep capture dates
- Remove AI labels from real photos

## Install

### Claude Code (Terminal)

```sh
claude mcp add strip-ai-metadata -- npx -y strip-ai-metadata-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "strip-ai-metadata": {
      "command": "npx",
      "args": [
        "-y",
        "strip-ai-metadata-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "strip-ai-metadata": {
      "command": "npx",
      "args": [
        "-y",
        "strip-ai-metadata-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "strip-ai-metadata": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "strip-ai-metadata-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "strip-ai-metadata": {
      "command": "npx",
      "args": [
        "-y",
        "strip-ai-metadata-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "strip-ai-metadata": {
      "command": "npx",
      "args": [
        "-y",
        "strip-ai-metadata-mcp"
      ]
    }
  }
}
```

## Tools

- `clean_files`: Cleans files or folders and saves clean copies, with options for mode, output folder, overwrite, RAW dates and sub-folders.
- `inspect_files`: Shows what files reveal without changing them.

## FAQ

### Are my files uploaded?

No. The server runs locally and the assistant sees only file names and the report.

### Does it need an API key?

No. It is MIT-licensed with no key, account or monthly limit.

### What does it need to run?

Node.js 20 or newer, started with npx -y strip-ai-metadata-mcp.

### What is the ai mode?

It removes only AI data such as C2PA and prompts and keeps camera details.

### Is Strip AI Metadata free?

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

### How do I add Strip AI Metadata to Claude Code?

Run this command in your terminal: claude mcp add strip-ai-metadata -- npx -y strip-ai-metadata-mcp

### What are the best alternatives to Strip AI Metadata?

The closest alternatives to Strip AI Metadata 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/strip-ai-metadata
