Read Images

by catalystneuro

8 stars
Not rated
GitHub

About

Integrates with OpenRouter's vision models to enable image analysis and content extraction through natural language queries.

Details

Author
catalystneuro
Repository
catalystneuro/mcp_read_images
GitHub stars
8
License
MIT License
Categories
Developer Tools, AI, API, Design, Media, Search, Infrastructure

- Automatic image resizing and optimization
- Configurable model selection
- Support for custom questions about images
- Detailed error messages
- Automatic JPEG conversion and quality optimization

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Read Images
    Command (node, npx, python, etc.) read_images
    Environment
    • OPENROUTER_MODEL anthropic/claude-3.5-sonnet
    • OPENROUTER_API_KEY your-api-key-here

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The server provides a single tool analyze_image that can be used to analyze images:

// Basic usage with default model
use_mcp_tool({
  server_name: "read_images",
  tool_name: "analyze_image",
  arguments: {
    image_path: "/path/to/image.jpg",
    question: "What do you see in this image?"  // optional
  }
});

// Using a specific model for this call
use_mcp_tool({
server_name: "read_images",
tool_name: "analyze_image",
arguments: {
image_path: "/path/to/image.jpg",
question: "What do you see in this image?",
model: "anthropic/claude-3-opus-20240229" // overrides default and settings
}
});

analyze_image

Analyze an image using a selected vision model. Parameters: image_path (string, required), question (string, optional), model (string, optional, specifies the model to use for analysis)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "read images": {
            "env": {
                "OPENROUTER_MODEL": "anthropic/claude-3.5-sonnet",
                "OPENROUTER_API_KEY": "your-api-key-here"
            },
            "args": [],
            "command": "read_images"
        }
    }
}

Linux

{
    "env": {
        "OPENROUTER_MODEL": "anthropic/claude-3.5-sonnet",
        "OPENROUTER_API_KEY": "your-api-key-here"
    },
    "args": [],
    "command": "read_images"
}

Macos

{
    "env": {
        "OPENROUTER_MODEL": "anthropic/claude-3.5-sonnet",
        "OPENROUTER_API_KEY": "your-api-key-here"
    },
    "args": [],
    "command": "read_images"
}

Windows

{
    "env": {
        "OPENROUTER_MODEL": "anthropic/claude-3.5-sonnet",
        "OPENROUTER_API_KEY": "your-api-key-here"
    },
    "args": [],
    "command": "read_images"
}

Analyze images using OpenRouter's vision models. Requires an OpenRouter API key.

An MCP server for analyzing images using OpenRouter vision models. This server provides a simple interface to analyze images using various vision models like Claude-3.5-sonnet and Claude-3-opus through the OpenRouter API.

npm install @catalystneuro/mcp_read_images

The server requires an OpenRouter API key. You can get one fromOpenRouter.

Add the server to your MCP settings file (usually located at~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonfor VSCode):

{ "mcpServers": { "read_images": { "command": "read_images", "env": { "OPENROUTER_API_KEY": "your-api-key-here", "OPENROUTER_MODEL": "anthropic/claude-3.5-sonnet" // optional, defaults to claude-3.5-sonnet }, "disabled": false, "autoApprove": [] } } }

The server provides a single toolanalyze_imagethat can be used to analyze images:

// Basic usage with default model use_mcp_tool({ server_name: "read_images", tool_name: "analyze_image", arguments: { image_path: "/path/to/image.jpg", question: "What do you see in this image?" // optional } }); // Using a specific model for this call use_mcp_tool({ server_name: "read_images", tool_name: "analyze_image", arguments: { image_path: "/path/to/image.jpg", question: "What do you see in this image?", model: "anthropic/claude-3-opus-20240229" // overrides default and settings } });

The model is selected in the following order of precedence:
- Model specified in the tool call (modelargument)
- Model specified in MCP settings (OPENROUTER_MODELenvironment variable)
- Default model (anthropic/claude-3.5-sonnet)

The following OpenRouter models have been tested:

- anthropic/claude-3.5-sonnet
- anthropic/claude-3-opus-20240229

- Automatic image resizing and optimization
- Configurable model selection
- Support for custom questions about images
- Detailed error messages
- Automatic JPEG conversion and quality optimization

- Invalid image paths
- Missing API keys
- Network errors
- Invalid model selections
- Image processing errors

Each error will return a descriptive message to help diagnose the issue.

git clone https://github.com/catalystneuro/mcp_read_images.git cd mcp_read_images npm install npm run build

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Generate images using the Together AI API. Supports custom aspect ratios, save paths, and batch generation.

Identity infrastructure for the AI economy. 33-trait psychometric engine — belonging probability, trait vectors, attunement depth. Remote streamable-HTTP. Free tier: 16 tools, 10 req/min.

An unofficial MCP server for the Artificial Analysis API

Access 30+ AI models in Claude Code with zero API keys. One wallet, pay-per-request.

An image generation server that connects to a local ComfyUI instance via its API, supporting dynamic workflows.

Provides a full suite of AI tools via DeepInfra’s OpenAI-compatible API, including image generation, text processing, embeddings, and speech recognition.

A Model Context Protocol server that provides access to the connpass users API v2, utilizing Gemini for grounding.

Remote Streamable HTTP MCP gateway for GPT-5.5 chat plus 92 text, web, JSON, and x402 discovery tools with Base USDC pay-per-call.

MCP server for OpenAI ChatGPT API — chat, vision, and embeddings

Deploy and serve Haystack pipelines as REST APIs, MCP Tools, and OpenAI-compatible chat completion backends.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.