vgribok/exiftool-mcp-server
If you are the rightful owner of exiftool-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is an MCP Server for retrieving EXIF data from images and videos using ExifTool.
The exiftool-mcp-server is a Model Context Protocol (MCP) server designed to facilitate the extraction of EXIF metadata from image and video files. By leveraging the powerful capabilities of ExifTool, this server provides a robust solution for accessing detailed metadata information, such as timestamps, GPS data, and other EXIF properties. The server operates by listening for JSON-RPC 2.0 requests on standard input and returning the requested EXIF data as JSON responses on standard output. This setup ensures a seamless and efficient communication channel between clients and the server, making it an ideal choice for applications that require precise metadata extraction. The server is compatible with various MCP tools, allowing for flexible and targeted data retrieval based on specific needs.
Features
- Command-line/stdio transport for efficient data retrieval.
- Supports JSON-RPC 2.0 requests for structured communication.
- Utilizes ExifTool for comprehensive metadata extraction.
- Compatible with multiple MCP tools for flexible data access.
- Ensures secure operation by preventing command injection attacks.
Usages
usage with claude desktop npmjs
"Exiftool-agent": { "command": "npx", "args": [ "-y", "exiftool-mcp-ai-agent" ] }
usage with claude desktop github
"Exiftool-agent": { "command": "sh", "args": [ "-c", "cd ~/Projects/AI/exiftool-mcp-server && npx node --loader ts-node/esm --no-warnings src/index.ts" ] }
Tools
EXIF_all_or_some
Return all or some EXIF properties.
EXIF_location
Return GPS-related EXIF metadata.
EXIF_timestamp
Return timestamp-related EXIF metadata.
EXIF_location_and_timestamp
Return both GPS and timestamp EXIF metadata.