Overview
What is exif-mcp?
exif-mcp is a Model Context Protocol (MCP) server designed to extract image metadata such as EXIF, XMP, and more, entirely offline. It utilizes the exifr library for fast and efficient metadata parsing without relying on external tools.
How to use exif-mcp?
To use exif-mcp, clone the repository, install dependencies, and start the server. You can then configure it with compatible clients like Claude to inspect images and extract metadata.
Key features of exif-mcp?
- Local operation without the need for internet access.
- Supports multiple metadata segments including EXIF, GPS, XMP, ICC, IPTC, and JFIF.
- Handles various image formats such as JPEG, PNG, TIFF, and HEIC.
- Flexible input options: read from file system, URLs, base64 data, or buffers.
- Provides specialized tools for extracting specific metadata like orientation and GPS coordinates.
Use cases of exif-mcp?
- Analyzing image metadata for insights on camera usage and location.
- Debugging image manipulation code by inspecting metadata.
- Integrating with reverse geolocation services for development and testing.
FAQ from exif-mcp?
-
Can exif-mcp read all image formats?
Yes, it supports JPEG, PNG, TIFF, and HEIC formats. -
Is exif-mcp suitable for offline use?
Absolutely! It operates entirely offline without requiring internet access. -
What types of metadata can it extract?
It can extract EXIF, GPS, XMP, ICC, IPTC, JFIF, and IHDR metadata.
Server Config
{
"mcpServers": {
"exif-mcp": {
"command": "node",
"args": [
"/path/to/exif-mcp/dist/server.js"
]
}
}
}