Exif MCP logo

Exif MCP

by stass

Read EXIF, XMP, GPS, color, orientation, and other image metadata locally through MCP.

Install Exif MCP

Run the project’s own setup commands, in order.

Setup steps from the project

stass/exif-mcp installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/stass/exif-mcp.git
    
  2. 2. Install
    npm install
    
  3. 3. Run
    npm run build
    
  4. 4. Start the server
    npm start
    
  5. 5. Start the server
    npm run dev
    

Overview

The stass/exif-mcp MCP server lets MCP clients inspect image metadata offline through focused tools for EXIF, XMP, GPS, JFIF, IPTC, ICC, and PNG IHDR data. It uses the TypeScript exifr library and accepts local paths, URLs, base64 data, or buffers as image inputs. Specialized tools report orientation, rotation and flip details, GPS coordinates, and embedded thumbnails. Reach for it when an agent needs to analyze image collections, inspect files during development, or extract metadata without relying on external command-line tools.

Use cases

  • Inspect camera and lens metadata across a photo library
  • Extract GPS coordinates from geotagged images
  • Check orientation and rotation data during image processing
  • Read color, IPTC, XMP, and EXIF segments for analysis
  • Debug image manipulation code without external metadata tools

Key features

  • Reads EXIF, XMP, ICC, IPTC, JFIF, and IHDR metadata
  • Extracts GPS coordinates and embedded thumbnails
  • Reports orientation, rotation, and flip information
  • Accepts paths, URLs, base64 data, and buffers
  • Supports JPEG, PNG, TIFF, HEIC, and AVIF
  • Runs locally over MCP stdio transport

Tools11

What Exif MCP lets your agent do. Expand a tool for its parameters.

Self-reported~100 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/19 checks healthy over the last 99d

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 8/21/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars40Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Tools exposed11Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Exif MCP works

What the stass/exif-mcp MCP server does

The stass/exif-mcp MCP server exposes image metadata parsing through the Model Context Protocol. It is intended for LLMs or people who need to inspect image information on demand without sending the image to a remote metadata service. The implementation is written in TypeScript and uses the exifr library for parsing.

Supported metadata areas include EXIF, XMP, ICC color profiles, IPTC, JFIF, and PNG IHDR data. The server also provides dedicated operations for image orientation, rotation and flip information, GPS coordinates, and embedded thumbnails. Supported image formats listed by the project include JPEG, PNG, TIFF, HEIC, and AVIF.

Typical uses include examining a photo library for camera, lens, date, or location patterns; checking metadata while debugging image manipulation code; and supplying image metadata to an agent that is helping organize or analyze files.

How it works

The server communicates over MCP's standard input/output transport. A client calls a tool and supplies an image source object. Sources can identify a local filesystem path, an HTTP or HTTPS URL, a file URL, raw base64 data, a data URI, or base64 buffer data.

The general metadata operation can read every available segment or selected segments. The segment-specific tools narrow the result to one metadata family, while the orientation, rotation-info, gps-coordinates, and thumbnail tools provide more targeted results. Parsing occurs locally through exifr, so normal operation does not require a remote network connection or an installed external metadata utility.

Setup and configuration

Install the project from its repository, install its npm dependencies, and build it before starting the compiled server:

bash
git clone https://github.com/stass/exif-mcp.git
cd exif-mcp
npm install
npm run build

The resulting server can be started with npm start; npm run dev is available for development with automatic reloading. For Claude Desktop, configure a server entry that runs Node against the built dist/server.js file, then restart the client.

Because stass/exif-mcp uses stdio transport, it can be used by MCP clients that support stdio. The MCP Inspector can also launch the built server for interactive or command-line tool testing.

Tools and capabilities

Available tools are:

  • read-metadata: reads all metadata or selected segments.
  • read-exif: reads EXIF information.
  • read-xmp: reads XMP information.
  • read-icc: reads ICC color profile data.
  • read-iptc: reads IPTC metadata.
  • read-jfif: reads JFIF segment data.
  • read-ihdr: reads PNG IHDR data.
  • orientation: returns an image orientation value from 1 through 8.
  • rotation-info: returns rotation and flip details.
  • gps-coordinates: extracts GPS coordinates.
  • thumbnail: extracts an embedded thumbnail.

The server documents handling for unsupported formats or missing metadata, failed network fetches, oversized payloads, and internal exifr errors. It can therefore be used with both local collections and remotely addressed image inputs, subject to the input being reachable and parseable.

Limitations and notes

The project is an image metadata reader, not an image editing or catalog-management service. Its documented outputs depend on metadata being present in the source image; an image without a particular segment cannot provide that segment's values. URL inputs can require network access, even though local parsing itself does not depend on external tools or services.

Remote access is not built into the documented transport setup. No environment variables are documented as required for running the server. The project is released under the BSD 2-Clause license.

The stass/exif-mcp MCP server is a good fit when metadata extraction is the main requirement and the calling client can provide image paths or other supported source objects over stdio.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Exif MCP

stass/exif-mcp is an MCP server that connects MCP clients to image files and image data for offline metadata inspection. Its main tools read EXIF, XMP, ICC, IPTC, JFIF, and IHDR segments, while specialized tools extract GPS coordinates, orientation, rotation details, and embedded thumbnails.

Clone the repository, run npm install, and build it with npm run build. Start the compiled server with npm start, or use npm run dev during development. Claude Desktop can launch dist/server.js through an MCP server configuration.

stass/exif-mcp supports JPEG, PNG, TIFF, HEIC, and AVIF images according to its README. It can receive those images through local paths, URLs, file URLs, base64 data, data URIs, or base64 buffer inputs.

Yes, if Cursor is configured to support MCP servers over stdio. The README explicitly documents Claude Desktop and states that the server is compatible with any MCP client supporting STDIO transport; it does not provide Cursor-specific configuration steps.

Yes, the gps-coordinates tool extracts GPS coordinates when they are available in the image metadata. Images without GPS data cannot produce coordinates, and the server also includes separate tools for EXIF and other metadata segments.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewExif MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/stass-exif-mcp?style=directory)](https://allmcps.com/mcp/stass-exif-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/stass-exif-mcp"><img src="https://allmcps.com/api/badge/stass-exif-mcp?style=directory" alt="Exif MCP on AllMCPs" /></a>