pypi exiftool-mcpstdioMITupdated 11mo ago
mcp-name: io.github.joshmsimpson/exiftool
Was kannst du mit exiftool machen?
MCP ExifTool Server
mcp-name: io.github.joshmsimpson/exiftool
An MCP (Model Context Protocol) server that provides access to ExifTool for reading, writing, and removing metadata from a wide range of file types.
Features
- Read metadata from over 150 file formats
- Write metadata to files with automatic backup creation
- Remove metadata selectively or completely from files
- Extract specific tags or retrieve all available metadata
- Support for multiple metadata standards: EXIF, IPTC, XMP, GPS, and manufacturer-specific formats
Supported File Formats
Image Formats:
- RAW Camera Formats: ARW, CR2, CR3, CRW, DNG, ERF, FFF, GPR, IIQ, K25, KDC, MEF, MRW, NEF, NRW, ORF, PEF, RAF, RAW, RW2, RWL, SR2, SRF, SRW, X3F
- Raster Images: BMP, FLIF, GIF, HDR, HEIC, HEIF, JPEG, JPEG 2000, JXL, JXR, PCX, PGF, PNG, PPM, TIFF, WebP
- Specialized Images: AVIF, BPG, DPX, EXR, FITS, FLIR, FPX, ICO, LFP, MIFF, PSD, PSP, QTIF, SVG
Video Formats:
- Containers: 3GP, AVI, F4V, FLV, GLV, M2TS, MOV, MP4, MKV, MPEG, R3D, VOB, WebM, WTV
- Other Video: DV, DVR-MS, INSV, LRV, MQV
Audio Formats:
- Lossless: AIFF, FLAC, LA, OFR, PAC, WAV, WV
- Lossy: AAC, APE, DSF, M4A, MP3, MPC, OGG, OPUS, RA, WMA
Document Formats:
- Office: DOC, DOCX, XLSX, PPTX, XLS, KEY, NUMBERS, PAGES
- Other Documents: PDF, EPS, RTF, TXT, XML, JSON
- eBooks: EPUB, MOBI, AZW
Archive Formats:
- 7z, GZ, RAR, ZIP
Other Formats:
- Fonts: AFM, OTF, PFA, TTF
- And many more specialized formats
Prerequisites
ExifTool must be installed on your system. This MCP server is a wrapper that calls the ExifTool command-line tool.
Installing ExifTool
macOS:
brew install exiftool
Ubuntu/Debian:
sudo apt-get install libimage-exiftool-perl
Windows: Download from https://exiftool.org/
Verify installation:
exiftool -ver
Installation
pip install exiftool-mcp
Usage
With Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"exiftool": {
"command": "exiftool-mcp"
}
}
}
With Other MCP Clients
The server communicates via stdio and follows the Model Context Protocol specification.
Available Tools
read_metadata
Read metadata from a file using ExifTool.
Parameters:
file_path(required): Path to the file (absolute or relative)tags(optional): Array of specific metadata tags to extract (e.g.,["DateTimeOriginal", "Make", "Model"])
Example:
{
"file_path": "/path/to/image.jpg",
"tags": ["DateTimeOriginal", "Make", "Model", "GPSLatitude", "GPSLongitude"]
}
write_metadata
Write or update metadata tags in a file using ExifTool. Creates a backup by default.
Parameters:
file_path(required): Path to the file (absolute or relative)tags(required): Dictionary of metadata tags to write (e.g.,{"Artist": "John Doe", "Copyright": "2025"})overwrite_original(optional): If true, overwrites the original file without creating a backup. Default is false.
Example:
{
"file_path": "/path/to/image.jpg",
"tags": {
"Artist": "John Doe",
"Copyright": "2025",
"Comment": "Beautiful sunset"
},
"overwrite_original": false
}
remove_metadata
Remove metadata from a file using ExifTool. Can remove all metadata or specific tags.
Parameters:
file_path(required): Path to the file (absolute or relative)tags(optional): Array of specific metadata tags to remove (e.g.,["GPS*", "Comment"]). If not specified, all metadata is removed.overwrite_original(optional): If true, overwrites the original file without creating a backup. Default is false.
Example:
{
"file_path": "/path/to/image.jpg",
"tags": ["GPS*", "Location*"],
"overwrite_original": false
}
list_supported_formats
List all file formats supported by ExifTool.
Parameters: None
Examples
Reading all metadata from an image
Use the read_metadata tool with file_path: "photo.jpg"
Reading specific EXIF tags
Use the read_metadata tool with:
- file_path: "photo.jpg"
- tags: ["DateTimeOriginal", "Make", "Model", "LensModel"]
Writing metadata to a file
Use the write_metadata tool with:
- file_path: "photo.jpg"
- tags: {"Artist": "Jane Smith", "Copyright": "2025", "Rating": "5"}
Removing GPS data from a photo
Use the remove_metadata tool with:
- file_path: "photo.jpg"
- tags: ["GPS*"]
Removing all metadata from a file
Use the remove_metadata tool with:
- file_path: "photo.jpg"
(no tags specified removes all metadata)
Checking supported formats
Use the list_supported_formats tool
Development
Setup
git clone https://github.com/joshmsimpson/exiftool_mcp.git
cd exiftool_mcp
pip install -e .
Running locally
python -m exiftool_mcp.server
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Links
Installation
exiftool zu deinem Client hinzufügen. Wähl den, den du nutzt.
claude mcp add exiftool-mcp -- uvx exiftool-mcpcodex mcp add exiftool-mcp -- uvx exiftool-mcpamp mcp add exiftool-mcp -- uvx exiftool-mcp{
"mcpServers": {
"exiftool-mcp": {
"command": "uvx",
"args": [
"exiftool-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"exiftool-mcp": {
"command": "uvx",
"args": [
"exiftool-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"exiftool-mcp","command":"uvx","args":["exiftool-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"exiftool-mcp": {
"command": "uvx",
"args": [
"exiftool-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"exiftool-mcp": {
"command": "uvx",
"args": [
"exiftool-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"exiftool-mcp": {
"command": "uvx",
"args": [
"exiftool-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"exiftool-mcp": {
"type": "local",
"command": "uvx",
"args": [
"exiftool-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"exiftool-mcp": {
"command": {
"path": "uvx",
"args": [
"exiftool-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
uvx exiftool-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Unvollständig
- Dokumentation21/25
- Pflege9/25
- Vertrauen13/20
- Funktionsumfang0/15
- Installation12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 333 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Versionsverlauf
| Versionen | Veröffentlicht |
|---|---|
| 0.1.6Aktuell | 2. Okt. 2025 |
| 0.1.5 | 2. Okt. 2025 |