mcp-vision-analyze
Provides AI vision analysis using Google Gemini models, enabling image understanding, OCR, error diagnosis, chart analysis, and UI design evaluation.
Click on "Install 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., "@mcp-vision-analyzeWhat's shown in this screenshot?"
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.
π MCP Vision Analyze
A lightweight Model Context Protocol (MCP) server that provides AI vision analysis capabilities. Analyze images using Google's Gemini models via OpenRouter.
Works with: Claude Desktop, Claude Code CLI, Antigravity, Cursor, Pi Agent, Windsurf, Cline, VS Code, and any MCP-compatible client.
β¨ Features
πΌοΈ Analyze images from local file paths or HTTP(S) URLs
π§ Powered by Google Gemini models (2.5 Flash Lite, 3 Flash Preview, etc.)
π° Ultra cheap β ~$0.001 per image with Gemini 2.5 Flash Lite
π Extract text from screenshots (OCR)
π Diagnose error messages in screenshots
π Analyze charts, diagrams, and UI designs
π Secure β API key stays local, never sent anywhere except OpenRouter
Related MCP server: OpenRouter Image MCP Server
π¦ Pricing (OpenRouter)
Model | Input | Output | Best For |
| $0.10/M tokens | $0.40/M tokens | Default β cheapest |
| $0.25/M tokens | $1.50/M tokens | Better quality |
| $0.50/M tokens | $3.00/M tokens | Best reasoning |
| $0.38/M tokens | $1.88/M tokens | Latest model |
π‘ 1 image analysis β 1,300 input tokens + 150 output tokens β $0.001
π Quick Start
1. Get an API Key
Sign up at OpenRouter and get your API key from openrouter.ai/keys.
2. Install
# Option A: Use directly with npx (recommended β no install needed)
npx mcp-vision-analyze
# Option B: Clone and install manually
git clone https://github.com/rezkycodes/mcp-vision-analyze.git
cd mcp-vision-analyze
npm install3. Configure Your MCP Client
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"vision-analyze": {
"command": "npx",
"args": ["-y", "mcp-vision-analyze"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-your-key-here"
}
}
}
}Pi Agent (~/.pi/agent/mcp.json)
{
"vision-analyze": {
"transport": "stdio",
"command": "node",
"args": ["/absolute/path/to/mcp-vision-analyze/index.js"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-your-key-here"
},
"directTools": true
}
}Claude Code CLI
# Option 1: Using the CLI command
claude mcp add vision-analyze \
-e OPENROUTER_API_KEY=sk-or-v1-your-key-here \
-- npx -y mcp-vision-analyze
# Option 2: Using JSON config
claude mcp add-json vision-analyze '{
"command": "npx",
"args": ["-y", "mcp-vision-analyze"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-your-key-here"
}
}'Or add to .mcp.json in your project root:
{
"mcpServers": {
"vision-analyze": {
"command": "npx",
"args": ["-y", "mcp-vision-analyze"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-your-key-here"
}
}
}
}Antigravity
Add to Antigravity Settings β MCP, or edit ~/.config/Antigravity/User/globalStorage/*/mcp.json:
{
"mcpServers": {
"vision-analyze": {
"command": "npx",
"args": ["-y", "mcp-vision-analyze"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-your-key-here"
}
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"vision-analyze": {
"command": "npx",
"args": ["-y", "mcp-vision-analyze"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-your-key-here"
}
}
}
}VS Code (~/.config/Code/User/mcp.json)
{
"servers": {
"vision-analyze": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-vision-analyze"],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-your-key-here"
}
}
}
}Cline / Windsurf / Other MCP Clients
Add the server config with:
command:
npxargs:
["-y", "mcp-vision-analyze"]env:
{ "OPENROUTER_API_KEY": "your-key" }
π οΈ Usage
Once configured, the vision_analyze tool becomes available in your MCP client:
Analyze a Screenshot
{
"image_url": "/path/to/screenshot.png",
"prompt": "What is shown in this screenshot?"
}Analyze an Image from URL
{
"image_url": "https://example.com/image.jpg",
"prompt": "Describe the architectural style of this building"
}Extract Text (OCR)
{
"image_url": "/path/to/photo.png",
"prompt": "Extract all text from this image"
}Diagnose an Error
{
"image_url": "/path/to/error-screenshot.png",
"prompt": "What error is shown and how to fix it?"
}Use a Different Model
{
"image_url": "/path/to/image.png",
"prompt": "Analyze this chart",
"model": "google/gemini-3-flash-preview"
}π Project Structure
mcp-vision-analyze/
βββ index.js # MCP server main file
βββ package.json # Node.js dependencies
βββ .env.example # Environment variables template
βββ .env # Your API key (git-ignored)
βββ .gitignore # Git ignore rules
βββ README.md # This fileπ§ Environment Variables
Variable | Required | Default | Description |
| β Yes | β | Your OpenRouter API key |
| No |
| Gemini model to use |
π€ Supported Image Formats
JPEG / JPG
PNG
GIF
WebP
BMP (auto-converted to PNG)
SVG (auto-rasterized to PNG)
β FAQ
Is this free?
The MCP server itself is free and open-source. The Gemini models on OpenRouter are paid but very cheap (~$0.001 per image).
Can I use other models besides Gemini?
Currently supports OpenRouter models. You can change VISION_MODEL to any model available on OpenRouter that supports vision (GPT-4o, Claude, etc.).
Does it work offline?
No. It requires an internet connection to call the OpenRouter API.
Is my image data stored anywhere?
No. Images are processed in-memory and sent directly to OpenRouter's API. Nothing is stored on disk (except temporary files that are auto-cleaned).
π License
MIT
π Credits
Inspired by the vision_analyze tool from Hermes Agent.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityDmaintenanceEnables image captioning and analysis through natural language by processing images from URLs or local files. Supports both OpenRouter's Gemini 2.5 Flash and local vision models for generating concise, descriptive captions.4
- AlicenseBqualityDmaintenanceEnables AI agents to analyze and understand images using OpenRouter's vision models. Supports screenshots, photos, diagrams, and web content with specialized tools for webpage and mobile app analysis.312210MIT
- AlicenseAqualityDmaintenanceEnables image analysis and understanding using Vision Language Models through OpenAI-compatible APIs. Supports analyzing images from URLs or local files with custom prompts.13MIT
- AlicenseBqualityDmaintenanceEnables vision capabilities for any AI model by routing image analysis requests through OpenRouter's vision models. It provides tools to analyze images from URLs, local file paths, or base64 data.213020MIT
Related MCP Connectors
LLM chat, text summarization and AI image generation
Analyze images from multiple angles to extract detailed insights or quick summaries. Describe visuβ¦
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/rezkycodes/mcp-vision-analyze'
If you have feedback or need assistance with the MCP directory API, please join our Discord server