Skip to main content
Glama

EXIF Extractor MCP Server

A simple MCP server for extracting EXIF information from JPG and PNG images.

Features

  • Extract EXIF data from image URLs or Base64 data

  • Support for JPG and PNG formats

  • Extract camera information, technical parameters, and image details

Installation

Installing via Smithery

To install personal-mcp-exif automatically via Smithery:

npx -y @smithery/cli install @yjqian19/personal-mcp-exif

Manual Installation

uv sync

Running

# Development mode uv run dev # Production mode uv run start # Interactive testing uv run playground

Usage

Tool: extract_exif

Extract EXIF information from image URL or Base64 data.

Parameters:

  • image_input (string): Image URL or Base64 encoded image data

Important Notes:

  • URL Input: Must be a publicly accessible image URL (no authentication required)

  • Base64 Input: Use data:image/jpeg;base64,<base64_string> format

  • Sample Images: Test images available in sample_imgs directory

Resource: exif://supported-formats

Information about supported image formats and extracted EXIF data.

Testing

Using Public URLs

The server requires publicly accessible image URLs without authentication. You can:

  1. Use sample images from the sample_imgs directory

  2. Upload your own images to services like:

Using Base64

For local images, convert to Base64:

import base64 with open("your_image.jpg", "rb") as f: base64_string = base64.b64encode(f.read()).decode('utf-8') data_url = f"data:image/jpeg;base64,{base64_string}"

Configuration

  • timeout (int): Request timeout in seconds (default: 30)

  • max_file_size (int): Maximum file size in bytes (default: 50MB)

  • include_technical (bool): Include technical parameters (default: true)

  • include_location (bool): Include location information (default: false)

Project Structure

exif-extractor/ ├── pyproject.toml # Project config ├── smithery.yaml # Runtime specification ├── src/ │ └── exif_extractor/ # Server module │ ├── __init__.py │ └── server.py # Main server implementation └── README.md

Resources

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yjqian19/personal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server