Exiftool

io.github.joshmsimpson由 GitHub 帳號 joshmsimpson 發布v0.1.6更新於 Oct 24, 2026

Read, write, and remove metadata from 150+ file formats using ExifTool

已驗證STDIO僅桌面檔案與儲存媒體與設計

概覽

AI 產生的概覽

包裝 ExifTool 命令列工具,讓助理讀取、寫入與清除 150 多種影像、視訊、音訊、文件及壓縮檔格式的中繼資料。

可以做什麼
  • 讀取檔案中繼資料,可取得全部標籤或指定標籤(如相機、日期、GPS 欄位)
  • 寫入或更新檔案中的中繼資料標籤,預設會自動建立備份
  • 刪除全部中繼資料或只刪除指定標籤,例如 GPS 與位置資訊
  • 列出 ExifTool 支援的檔案格式
適用情境
適合在本機檢查或清理檔案中繼資料的情境:查看相片的 EXIF 與 GPS 資訊、加入作者或版權標籤,或在分享檔案前移除位置資料。
執行需求
以本機 stdio 程序執行,透過 PyPI 套件 exiftool-mcp 安裝;系統還需另外安裝 ExifTool 本體(例如 Homebrew、apt 或 Windows 官方下載)。未宣告需要帳號、API 金鑰或環境變數。
安裝前請注意
寫入與刪除操作會修改磁碟上的檔案;overwrite_original 會略過預設備份,除非確定否則應保持為 false。未指定標籤的刪除會清空全部中繼資料。助理可操作被指定的任意檔案路徑,建議限定可存取的檔案範圍。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Exiftool,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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:

bash
brew install exiftool

Ubuntu/Debian:

bash
sudo apt-get install libimage-exiftool-perl

Windows: Download from https://exiftool.org/

Verify installation:

bash
exiftool -ver

Installation

bash
pip install exiftool-mcp

Usage

With Claude Desktop

Add this to your claude_desktop_config.json:

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:

json
{  "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:

json
{  "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:

json
{  "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

bash
git clone https://github.com/joshmsimpson/exiftool_mcp.gitcd exiftool_mcppip install -e .

Running locally

bash
python -m exiftool_mcp.server

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Links

來源:README.md,提交 b830315

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.6最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分