Vision MCP Server
A Model Context Protocol server that provides multimodal vision tools such as image description, OCR, visual Q&A, and object detection, powered by any vision model via OpenRouter.
README
Vision MCP Server
A small, production-shaped Model Context Protocol (MCP) server that gives any MCP client (Claude Desktop / Code, etc.) multimodal vision tools — describe, OCR, visual Q&A, object detection — backed by any vision model via OpenRouter.
Built to be governed by default: every tool instructs the model to abstain ("cannot determine from image") rather than guess — the same source-over-derived discipline I apply across my AI automation work.
- Pluggable backend — swap providers/models without touching tool logic. Ships with a real
OpenRouterbackend (standard-library only, no HTTP dependency) and a deterministicMockbackend for offline demos and tests. - Runs offline for inspection — the tool logic is verifiable with zero dependencies and no API key.
Tools
| Tool | What it does |
|---|---|
describe_image |
Concise or full description of an image |
extract_text |
OCR-style verbatim text extraction |
ask_image |
Visual question answering (abstains when unsupported) |
detect_items |
Lists distinct objects/items (optionally scoped to categories) |
Images are accepted as a local path, an http(s) URL, or a data: URI.
Quickstart
Offline — zero dependencies, no key:
python3 examples/offline_demo.py
python3 -m unittest discover -s tests -q
As a real MCP server:
pip install -r requirements.txt # installs the `mcp` SDK
export OPENROUTER_API_KEY=sk-...
python -m vision_mcp.server # stdio MCP server
Then register it in your MCP client. Env: VISION_MCP_MOCK=1 runs without a key; VISION_MCP_MODEL picks the model.
Architecture
flowchart LR
C["MCP client<br/>(Claude, etc.)"] -->|stdio / MCP| S["Vision MCP Server<br/>(FastMCP)"]
S --> T["Tools<br/>describe · extract · ask · detect"]
T --> BE["VisionBackend<br/>(pluggable)"]
BE --> M["Mock<br/>(offline)"]
BE --> O["OpenRouter<br/>(any vision model)"]
classDef gov fill:#e9ecff,stroke:#5560aa,color:#222;
class T gov;
See docs/design.md for the design rationale.
About
Gerardo Dellán — AI Transformation & Automation Program Manager. I lead AI programs and build them hands-on. linkedin.com/in/gerry-df · more patterns: agentic-automation-patterns
License
MIT — see LICENSE.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.