Skip to main content

vision-mcp

MCP server that provides vision analysis tools via an OpenAI-compatible API. Enables non-vision coding models to "see" images by routing image analysis to a separate vision-capable model.

Setup

Prerequisites

  • An OpenAI-compatible vision API endpoint (e.g., OpenAI, opencode.ai, or any provider supporting /v1/chat/completions with image_url content blocks)

Installation & Usage with uvx

The recommended way to run the server is via uvx — no manual installation needed:

uvx vision-mcp-server

Or install globally with uv:

uv tool install vision-mcp-server
vision-mcp-server

Environment Variables

Variable Required Default Description
VISION_API_BASE No https://api.openai.com/v1 Base URL for the OpenAI-compatible API
VISION_API_KEY Yes — API key for authentication
VISION_MODEL No gpt-4o Model name to use for vision tasks

The server communicates over stdio using the MCP JSON-RPC protocol.

Tools

vision_analyze_image

Analyzes a single image file with an optional prompt.

| Parameter | Required | Description | |---|---|---|---| | image_path | Yes | Path to a local image file (PNG, JPEG, GIF, WebP) | | prompt | No | Guiding prompt (default: "Describe this image in detail.") |

vision_compare_images

Compares 2 to 8 image files simultaneously with a required prompt.

| Parameter | Required | Description | |---|---|---|---| | image_paths | Yes | List of 2-8 local image file paths | | prompt | Yes | Prompt describing what to compare |

Coding Agent Integration

opencode / Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "vision": {
      "command": "uvx",
      "args": ["vision-mcp-server"],
      "env": {
        "VISION_API_BASE": "https://api.openai.com/v1",
        "VISION_API_KEY": "${VISION_API_KEY}",
        "VISION_MODEL": "gpt-4o"
      }
    }
  }
}

Note: The server installed via uvx/uv tool install creates the entry point vision-mcp-server (derived from the project name vision-mcp and script name server).

Supported Image Formats

  • PNG (.png)
  • JPEG (.jpg, .jpeg)
  • GIF (.gif)
  • WebP (.webp)

Maximum file size: 20 MB.

License

MIT

Metadata

Release files for vision-mcp-server 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vision-mcp-server 0.2.0
File Size Uploaded Provenance
vision_mcp_server-0.2.0.tar.gz 4.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vision-mcp-server 0.2.0
File Interpreter ABI Platform
vision_mcp_server-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 MB

Release files / vision_mcp_server-0.2.0.tar.gz

Download URL vision_mcp_server-0.2.0.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
4ab1e10f20d4f14bb8e086b22de6115c56333324c6ce8689556879c59cc7c74c
BLAKE2b-256 checksum
How to use checksums
e1fec79965048410fb404067f16208b669a9447f77fe5ce96df78eb985621936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / vision_mcp_server-0.2.0-py3-none-any.whl

Download URL vision_mcp_server-0.2.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa4e3d2bf1fb36de827a515ba46dcd20122ed70d93bd414071d58fbcbdc37967
BLAKE2b-256 checksum
How to use checksums
6e1df16a0bb05018dff5e8b38de6d8612967a36c52648b2cc3420cd7943afd5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for vision-mcp-server 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page