
Exiftool
io.github.joshmsimpson由 GitHub 账号 joshmsimpson 发布v0.1.6更新于 Oct 24, 2026
Read, write, and remove metadata from 150+ file formats using ExifTool
概览
封装 ExifTool 命令行工具,让助手读取、写入和清除 150 多种图像、视频、音频、文档及压缩包格式的元数据。
- 可以做什么
- 读取文件元数据,可获取全部标签或指定标签(如相机、日期、GPS 字段)
- 写入或更新文件中的元数据标签,默认自动创建备份
- 删除全部元数据或仅删除指定标签,例如 GPS 与位置信息
- 列出 ExifTool 支持的文件格式
- 适用场景
- 适合在本地检查或清理文件元数据的场景:查看照片的 EXIF 与 GPS 信息、添加作者或版权标签,或在分享文件前去除位置数据。
- 运行要求
- 以本地 stdio 进程运行,通过 PyPI 包 exiftool-mcp 安装;系统还需单独安装 ExifTool 本体(如 Homebrew、apt 或 Windows 官方下载)。未声明需要账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Exiftool,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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:
Ubuntu/Debian:
Windows: Download from https://exiftool.org/
Verify installation:
Installation
Usage
With Claude Desktop
Add this to your claude_desktop_config.json:
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:
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:
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:
list_supported_formats
List all file formats supported by ExifTool.
Parameters: None
Examples
Reading all metadata from an image
Reading specific EXIF tags
Writing metadata to a file
Removing GPS data from a photo
Removing all metadata from a file
Checking supported formats
Development
Setup
Running locally
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Links
来源:README.md,提交 b830315
工具
0版本历史
1- v0.1.6最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分