AI Image Metadata Cleaner
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI Image Metadata CleanerClean this image and make it look like it was taken on an iPhone"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🛡️ AI Image Metadata Cleaner (MCP Server)
High-performance Model Context Protocol (MCP 2.x) server designed to strip AI provenance tags (C2PA, EXIF, XMP, IPTC), disrupt invisible frequency watermarks, and simulate authentic camera sensor physics.
💡 Purpose
Modern generative AI tools (Midjourney, DALL-E, Adobe Firefly, Canva, Stable Diffusion) embed cryptographic provenance manifests (C2PA / JUMBF), invisible spatial watermarks, and prompt parameters into every generated image.
Major platforms like LinkedIn, Twitter/X, and algorithmic newsfeeds automatically read these tags to label, flag, or suppress organic reach of content.
The purpose of AI Image Metadata Cleaner is to give creators and developers complete sovereign control over their media by:
Scrubbing 100% of embedded tracking provenance and generator signatures.
Disrupting invisible frequency-domain watermarks without visual quality loss.
Restoring physical camera realism (CMOS sensor grain, optical PSF) so images blend seamlessly with authentic photography.
Related MCP server: Gemini Watermark Remover
🎯 Real-World Use Cases
Use Case | Description |
LinkedIn Posts & Profile Media | Prevent LinkedIn from automatically attaching "AI-generated" labels, reducing reach penalties or triggering account restriction reviews. |
Social Media & Content Marketing | Publish AI-assisted blog banners, promotional graphics, and tech memes without algorithmic downranking across platforms. |
Privacy & Anti-Fingerprinting | Strip embedded generation prompts, seed parameters, workflow graphs (ComfyUI), and system timestamps before sharing publicly. |
Portfolio & Headshot Naturalization | Transform synthetic, plastic-looking portraits into authentic-looking shots by adding realistic CMOS photon grain and lens falloff. |
Batch Asset Pipeline Automation | Automatically sanitize entire folders of marketing assets or user uploads via the |
⚡ How Platforms Detect AI Images
C2PA / Content Credentials Metadata: Embedded in JPEG
APP11(JUMBF) segments, PNGc2pa/caPtchunks, and XMP packets declaring synthetic origin.Invisible / Frequency-Domain Watermarks: Encoded in latent frequency space (e.g. Google SynthID, latent diffusion watermarks).
Statistical AI Footprints: Unnaturally smooth surfaces with 0 variance (absence of camera sensor photon noise) and transposed-convolution grid harmonics.
Suspicious Zero Metadata: Heuristic checkers often flag files with 0 EXIF. Injected authentic camera EXIF (iPhone 15 Pro, Sony A7 IV) passes authenticity audits.
🛠️ MCP Tools
Tool | Type | Description |
| Flagship | Full pipeline: strips C2PA/EXIF, executes 0.3% micro-resample, injects luminance-adaptive CMOS grain, and embeds realistic camera EXIF. |
| Utility | Fast, lossless metadata stripping (EXIF, XMP, IPTC, C2PA) without altering pixel values. |
| Audit | Deep diagnostic inspection scanning for C2PA byte manifests, AI keywords, and risk assessment. |
| Stealth | Injects authentic camera EXIF into clean JPEG images. |
| Info | Returns list of supported camera profiles and optical specifications. |
| Automation | Batch-sanitizes an entire directory of images with parallel processing. |
📷 Supported Realistic Camera Profiles
iphone_15_pro: Apple iPhone 15 Pro (iOS 17.5.1, 24mm f/1.78, ISO 80, 1/120s)sony_a7iv: Sony Alpha A7 IV (FE 24-70mm F2.8 GM II, f/2.8, 50mm, ISO 160)samsung_s24_ultra: Samsung Galaxy S24 Ultra (6.3mm f/1.7, ISO 100)canon_r6: Canon EOS R6 Mark II (RF24-105mm F4 L IS USM, ISO 200)
🚀 Installation & Setup
Requirements
Python 3.10+
uv(recommended) orpip
# Clone the repository
git clone https://github.com/satyamkumar420/ai-image-meta-cleaner.git
cd ai-image-meta-cleaner
# Create and activate virtual environment
uv venv .venv
source .venv/bin/activate
# Install dependencies
uv pip install -r requirements.txtRunning Tests
pytest -v⚙️ MCP Configuration
Add this server to your mcp_config.json (Antigravity, Claude Desktop, Cursor):
{
"mcpServers": {
"meta-cleaner": {
"command": "/path/to/ai-image-meta-cleaner/.venv/bin/python",
"args": [
"-u",
"/path/to/ai-image-meta-cleaner/server.py"
],
"env": {
"PYTHONPATH": "/path/to/ai-image-meta-cleaner"
}
}
}
}☕ Support & Sponsor
If you find AI Image Metadata Cleaner helpful and want to support its maintenance:
Scan the QR code or click the button above to buy me a coffee! Thank you for your support! ☕✨
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Inspect and remove C2PA content credentials from AI-generated images, video and audio. Free, no key.
Verify photos are real camera captures, not AI: C2PA and RAW+JPEG forensics. OAuth or API key.
Remove watermarks and overlays from images the user owns or has permission to edit.
Agent Content Watermark MCP — dedicated EU AI Act Article 50(2) GenAI watermarking. Visible +
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables reading and verifying C2PA Content Credentials from images and videos through both embedded manifests and invisible watermarks. Supports direct filesystem access, URL checking, and provides structured provenance data including creator identity, AI generation info, and content authenticity.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables the removal of Gemini AI watermarks from generated images in PNG, JPG, and WEBP formats. The server provides tools to process local files with configurable output quality and compression settings.5 npm1MIT
- AlicenseNot gradedqualityAmaintenanceSigned AI content provenance with PII scrubbing — timestamps and signs AI-generated outputs for EU AI Act and FTC compliance.MIT
- AlicenseNot gradedqualityBmaintenanceProvides AI content watermarking and C2PA compliance for EU AI Act Article 50, enabling detection, verification, and batch processing of authenticated content.4 npmMIT