image-analysis-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@image-analysis-mcp extract text from ~/screenshots/page.png"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
image-analysis-mcp
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.
Related MCP server: mcp-ocrspace
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 text from an image — returns text blocks with confidence scores and bounding boxes |
| Full metadata: file info, image dimensions, EXIF tags, GPS coordinates |
| 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
Available Tools
3 toolsextract_textA
Extract all text and metadata from an image.
Convenience wrapper that combines OCR text extraction with full image metadata in a single JSON response.
Args: image_path: Absolute path to the image file (must be under home directory)
Inputs: image_path (required). Returns: result
image_metadataA
Extract full metadata from an image.
Returns file info (size, timestamps, SHA-256), image properties (format, dimensions, DPI, colour space), and EXIF data including camera make/model, datetime, and GPS coordinates.
Args: path: Absolute path to the image file (must be under home directory)
Inputs: path (required). Returns: result
ocr_imageA
OCR text from an image.
Extracts text using the best available OCR backend. Returns text blocks with confidence scores and bounding boxes.
Args: image_path: Absolute path to the image file (must be under home directory)
Inputs: image_path (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
ocr_image and extract_text both handle text extraction, causing slight overlap, but extract_text explicitly combines OCR with metadata, making its broader purpose clear. image_metadata is distinct.
Names mix conventions: ocr_image (verb_noun), image_metadata (noun_noun), and extract_text (verb_noun). The inconsistency is noticeable but still readable.
Three tools is well-scoped for a focused image analysis server, though extract_text is somewhat redundant as a convenience wrapper.
The server covers OCR and metadata extraction, including a combined wrapper, but lacks broader image analysis features such as classification or object detection, which the server name might imply.
Maintenance
Related MCP Connectors
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
OCR.space MCP — wraps the OCR.space API (ocr.space) for image/PDF → text OCR.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
MCP server for web extraction and rendering via AceDataCloud WebExtrator
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides OCR capabilities using the EasyOCR library, supporting over 80 languages and GPU acceleration. It enables processing images from base64 strings, local files, or URLs with options for text-only or detailed coordinate and confidence output.2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceOCR.space MCP server that enables image and PDF text extraction via the OCR.space API.72 npmMIT
- AlicenseAqualityDmaintenanceHigh-performance OCR MCP server supporting multiple input modes (path, base64, URL, upload), batch processing, and output formats like plain, JSON, and Markdown.42MIT
- AlicenseAqualityDmaintenanceMCP server providing image analysis tools for AI agents, including metadata extraction, favicon discovery, and placeholder generation.541 npmMIT