exif-mcp
by stass
exif-mcp is an MCP server that allows LLMs (or humans) to read image metadata on-demand, entirely offline. Based on the exifr library, it's extremely fast and does not rely on any external tools.
Last updated: N/A
What is exif-mcp?
exif-mcp is a Model Context Protocol (MCP) server that provides tools for extracting various metadata segments from images. It leverages the exifr library to parse metadata from images in common formats like JPEG, PNG, TIFF, and HEIC without relying on external tools.
How to use exif-mcp?
To use exif-mcp, you need to clone the repository, install dependencies, and build the project. Then, configure your MCP client (e.g., Claude) to use the server. You can start the server using npm start
or npm run dev
for development. The server provides various tools accessible via the MCP protocol, such as read-metadata
, read-exif
, and gps-coordinates
.
Key features of exif-mcp
Local operation (completely offline)
Extracts EXIF, GPS, XMP, ICC, IPTC, JFIF, and IHDR metadata
Supports JPEG, TIFF, HEIC/AVIF, and PNG
Flexible image sources (file system, URLs, base64 data, or buffers)
Use cases of exif-mcp
Analyze image metadata and visualize it
Perform analysis of your image library (camera usage, lens distribution, date/time patterns, location analysis)
Debugging image manipulation code
Reverse geolocation service development and testing (as used by PlaceSpotter)
FAQ from exif-mcp
What image formats are supported?
What image formats are supported?
JPEG, TIFF, HEIC/AVIF, and PNG are supported.
Can I use this server offline?
Can I use this server offline?
Yes, it works completely offline.
What kind of metadata can I extract?
What kind of metadata can I extract?
EXIF, GPS, XMP, ICC, IPTC, JFIF, and IHDR metadata can be extracted.
How do I provide the image to the server?
How do I provide the image to the server?
You can provide the image via file path, URL, base64 data, or buffer.
Is remote access supported?
Is remote access supported?
Yes, remote access can be enabled using mcp-proxy.