# stass/exif-mcp [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/stass/exif-mcp  
**GitHub Stars:** 40  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/stass-exif-mcp

## Description
A MCP server that allows one to examine image metadata like EXIF, XMP, JFIF and GPS.  This provides foundation for LLM-powered search and analysis of photo librares and image collections.

## Tools
Capabilities this server exposes over MCP:

- **read-metadata** — Reads all or specified metadata segments
- **read-exif** — Reads EXIF data specifically
- **read-xmp** — Reads XMP data
- **read-icc** — Reads ICC color profile data
- **read-iptc** — Reads IPTC metadata
- **read-jfif** — Reads JFIF segment data
- **read-ihdr** — Reads IHDR segment data
- **orientation** — Gets image orientation (1-8)
- **rotation-info** — Gets rotation and flip information
- **gps-coordinates** — Extracts GPS coordinates
- **thumbnail** — Extracts embedded thumbnail

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/stass/exif-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/stass/exif-mcp.git
```

2. Install:

```sh
npm install
```

3. Run:

```sh
npm run build
```

4. Start the server:

```sh
npm start
```

5. Start the server:

```sh
npm run dev
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/stass-exif-mcp/readme_

