Image Parse MCP

Image Parse MCP

Enables image analysis using any OpenAI-compatible vision API, supporting URLs, local files, or base64 input with custom prompts.

Category
Visit Server

README

Image Parse MCP

中文文档

A multimodal image analysis MCP server that connects to any OpenAI-compatible vision API. Provide an image (URL, local path, or base64) and a prompt — get back a detailed analysis from the multimodal LLM of your choice.

Supported Providers

Any provider with an OpenAI-compatible chat completions endpoint:

  • OpenAI — GPT-4o, GPT-4-vision, GPT-4.1-mini
  • Anthropic (via compatible proxy / gateway)
  • Google Gemini (via OpenAI-compatible endpoint)
  • Azure OpenAI
  • Local models (Ollama, vLLM, LM Studio with OpenAI-compatible servers)
  • Alibaba Bailian — Qwen-VL (via OpenAI-compatible endpoint)
  • Third-party (DeepSeek, Groq, Together.ai, OpenRouter, etc.)

Configuration

Set these environment variables before launching the server:

Variable Required Default Description
IMAGE_PARSE_API_KEY Yes — API key for your provider
IMAGE_PARSE_BASE_URL No https://api.openai.com/v1 API base URL
IMAGE_PARSE_MODEL No gpt-4o Multimodal model name

Example: OpenAI

export IMAGE_PARSE_API_KEY=sk-...
export IMAGE_PARSE_BASE_URL=https://api.openai.com/v1
export IMAGE_PARSE_MODEL=gpt-4o

Example: Google Gemini (via AI Studio)

export IMAGE_PARSE_API_KEY=your-gemini-api-key
export IMAGE_PARSE_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai
export IMAGE_PARSE_MODEL=gemini-2.5-flash

Example: Ollama (local)

export IMAGE_PARSE_API_KEY=ollama
export IMAGE_PARSE_BASE_URL=http://localhost:11434/v1
export IMAGE_PARSE_MODEL=llava

Example: Azure OpenAI

export IMAGE_PARSE_API_KEY=your-azure-api-key
export IMAGE_PARSE_BASE_URL=https://your-resource.openai.azure.com/openai/deployments/your-deployment
export IMAGE_PARSE_MODEL=gpt-4o

Example: Alibaba Bailian (Qwen-VL)

export IMAGE_PARSE_API_KEY=your-dashscope-api-key
export IMAGE_PARSE_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
export IMAGE_PARSE_MODEL=qwen-vl-max

Example: DeepSeek

export IMAGE_PARSE_API_KEY=your-deepseek-api-key
export IMAGE_PARSE_BASE_URL=https://api.deepseek.com/v1
export IMAGE_PARSE_MODEL=deepseek-chat

Install & Run

# Clone or enter the project directory
cd image-parse

# Run directly (uv handles venv + deps automatically)
uv run image-parse-mcp

Claude Code Configuration

Add to your Claude Code MCP config (~/.claude/claude.json or project .mcp.json):

{
  "mcpServers": {
    "image-parse": {
      "type": "stdio",
      "command": "uv",
      "args": ["run", "--directory", "path/to/image-parse", "image-parse-mcp"],
      "env": {
        "IMAGE_PARSE_API_KEY": "sk-...",
        "IMAGE_PARSE_BASE_URL": "https://api.openai.com/v1",
        "IMAGE_PARSE_MODEL": "gpt-4o"
      }
    }
  }
}

Tool: analyze_image

Parameter Required Description
image_source Yes URL, local file path, base64 string, or data URI
prompt Yes What to analyze / extract from the image
mime_type No Override auto-detected MIME type (e.g. image/webp)

What agents use it for

  • Describe the contents of an image
  • Extract text from a screenshot (OCR)
  • Read and interpret charts, graphs, data visualizations
  • Analyze UI screenshots (layout, elements, issues)
  • Identify objects, colours, people, or scenes in photos
  • Compare visual information across multiple images
  • Diagnose errors from error screenshots

Input forms for image_source

# URL
https://example.com/screenshot.png

# Local file path (on the host machine)
/Users/me/Downloads/chart.png

# Base64 data URI
data:image/png;base64,iVBORw0KGgo...

# Raw base64
iVBORw0KGgo...

Development

# Create venv and install deps
uv venv
uv pip install -e .

# Run tests
uv run python -m pytest

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured