Image Analysis
FreeNot checkedFastMCP server for image analysis providing OCR, metadata, and EXIF extraction.
About
FastMCP server for image analysis providing OCR, metadata, and EXIF extraction.
README
FastMCP server for image analysis — OCR, metadata, and EXIF extraction. Part of the Palimpsest intelligence toolkit.
Why
LLMs can't see images natively. This server fills the gap — extract text from screenshots, photos, and diagrams via OCR, pull EXIF camera data and GPS coordinates, and get full image metadata (format, dimensions, DPI, color space). All results are returned as structured JSON for easy downstream processing.
Architecture
Pluggable OCR backends with graceful degradation:
- base install (
pip install image-analysis-mcp) — metadata / EXIF only (Pillow + exifread, ~5 MB) - with OCR (
pip install image-analysis-mcp[ocr]) — adds rapidocr-onnxruntime (~250 MB) - with Tesseract (
pip install image-analysis-mcp[tesseract]) — adds pytesseract (needs systemtesseract-ocr)
The server tries backends in priority order: rapidocr → tesseract → none.
Tools
| Tool | Description |
|---|---|
ocr_image(image_path) |
OCR text from an image — returns text blocks with confidence scores and bounding boxes |
image_metadata(path) |
Full metadata: file info, image dimensions, EXIF tags, GPS coordinates |
extract_text(image_path) |
Convenience wrapper — OCR + metadata combined in one response |
Installation
git clone https://github.com/palimpsest-labs/image-analysis-mcp
cd image-analysis-mcp
python3 -m venv .venv
source .venv/bin/activate
# Minimal (metadata only)
pip install -e .
# With OCR support
pip install -e ".[ocr]"
# With Tesseract support (requires system tesseract-ocr)
pip install -e ".[tesseract]"
Usage
from image_analysis_mcp.server import extract_text, image_metadata, ocr_image
# Get everything at once
result = extract_text("~/screenshots/page.png")
# Or separate calls
meta = image_metadata("~/screenshots/page.png")
text = ocr_image("~/screenshots/page.png")
Security
Paths must be absolute and resolve to a location under the user's home directory. Path traversal (..) and paths starting with / are rejected. Symlinks are resolved before checking home-directory containment.
License
MIT
Install Image Analysis in Claude Desktop, Claude Code & Cursor
unyly install image-analysis-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add image-analysis-mcp -- uvx --from git+https://github.com/jmars/image-analysis-mcp image-analysis-mcpStep-by-step: how to install Image Analysis
FAQ
Is Image Analysis MCP free?
Yes, Image Analysis MCP is free — one-click install via Unyly at no cost.
Does Image Analysis need an API key?
No, Image Analysis runs without API keys or environment variables.
Is Image Analysis hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Image Analysis in Claude Desktop, Claude Code or Cursor?
Open Image Analysis 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
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolCompare Image Analysis with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
