Skip to main content
Glama

EXIF Extractor MCP Server

by yjqian19

EXIF Extractor MCP Server

smithery badge

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables extraction of EXIF metadata from JPG and PNG images using publicly accessible URLs or Base64 encoded data. Provides camera information, technical parameters, and image details for photo analysis.

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Manual Installation
    2. Running
      1. Usage
        1. Tool: extract_exif
        2. Resource: exif://supported-formats
      2. Testing
        1. Using Public URLs
        2. Using Base64
      3. Configuration
        1. Project Structure
          1. Resources

            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