Exiftool
FreeNot checkedAn MCP-compatible AI agent for retrieving EXIF metadata from photos and videos on the local file system.
About
An MCP-compatible AI agent for retrieving EXIF metadata from photos and videos on the local file system.
README
This is an MCP Server (an MCP protocol compatible AI agent) for retrieving EXIF data from images (photos) and videos, using ExifTool. This agent was tested with MCP Inspector and Claude Desktop.
Note: the
exiftoolcopyright belongs to its author, and not to the creators of this AI agent.
Table of Contents
- Description
- Dependencies
- Supported MCP Tools
- Usage
- Contribution Guidelines
- Security Considerations
- License
- Author
Description
This project provides a command-line/stdio transport MCP (Model Context Protocol) server that allows clients to retrieve EXIF metadata from image and video files by safely executing the exiftool command with specified arguments. It listens for JSON requests on standard input and returns the EXIF data as JSON responses on standard output.
Dependencies
- Ensure you have Node.js installed (version 14 or higher recommended).
- Install ExifTool on your system. This tool is required for extracting metadata.
Supported MCP Tools:
EXIF_all_or_some: Return all or some EXIF properties. If
optionalExifTagsare not supplied, return all. TheoptionalExifTagsparameter is an optional array of strings representing EXIF property names to return.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.
The server listens for JSON-RPC 2.0 requests on stdin.
Usage
Testing with Claude Desktop
When Using Npmjs.org Package
Use the following entry in the ~/Library/Application Support/Claude/claude_desktop_config.json
"Exiftool-agent": {
"command": "npx",
"args": [
"-y",
"exiftool-mcp-ai-agent"
]
}
When Code Cloned from GitHub Locally
Use the following development-time entry, in case you have cloned the source code, in Claude's ~/Library/Application Support/Claude/claude_desktop_config.json (with appropriate repo path change):
"Exiftool-agent": {
"command": "sh",
"args": [
"-c",
"cd ~/Projects/AI/exiftool-mcp-server && npx node --loader ts-node/esm --no-warnings src/index.ts"
]
}
Claude Desktop Integration View

Testing Locally With MCP Inspector
Prerequisites
Before testing with the MCP Inspector, ensure the following are installed:
Testing With MCP Inspector
Clone the github repo at https://github.com/vgribok/exiftool-mcp-server.git.
In the repo root, run
npm install.Start debugging the MCP Inspector in VSCode using the "MCP Inspector with TypeScript Server" launch configuration.
In the integrated terminal, watch for output lines containing:
Open inspector with token pre-filled: http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=...
If the launch.json has auth disabled, then simple point the browser to the http://localhost:6274/, and not to the 127.0.0.1, to work around what seems to be a bug in MCP Inspector (or MCP Proxy).
Click the Connect button in the MCP Inspector UI to connect to your MCP server.
Once connected, click the List Tools button to discover all available tools provided by the server.

Select a tool from the list to view its input parameters and metadata.
Use the UI to send test requests to the selected tool and observe the responses.

- Experiment with different parameters to explore the capabilities of the MCP server.
Contribution Guidelines
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit with clear messages.
- Submit a pull request describing your changes.
Please ensure your code follows existing style and includes appropriate error handling.
Security Considerations
- The server disallows shell metacharacters such as
;,&,|,`,$,>,<, and\to prevent command injection attacks. - Always ensure that the input to the server is from trusted sources.
License
This project is licensed under the ISC License. See the LICENSE file for details.
Author
Vlad Hrybok
Installing Exiftool
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/vgribok/exiftool-mcp-serverFAQ
Is Exiftool MCP free?
Yes, Exiftool MCP is free — one-click install via Unyly at no cost.
Does Exiftool need an API key?
No, Exiftool runs without API keys or environment variables.
Is Exiftool hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Exiftool in Claude Desktop, Claude Code or Cursor?
Open Exiftool on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Exiftool with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
