Api Vision
FreeNot checkedEnables image recognition using vision models via OpenAI-compatible APIs, supporting multiple platforms like OpenAI, DeepSeek, and Ollama.
About
Enables image recognition using vision models via OpenAI-compatible APIs, supporting multiple platforms like OpenAI, DeepSeek, and Ollama.
README
视觉模型图像识别 MCP server,默认模型 mimo-v2.5,兼容 OpenAI 格式 API。
安装
1. 克隆仓库
git clone https://github.com/stzhiyang/api-vision-mcp.git ~/.claude/plugins/custom/api-vision-mcp
cd ~/.claude/plugins/custom/api-vision-mcp
npm install
2. 注册到 Claude Code
编辑 ~/.claude.json,添加全局配置:
"mcpServers": {
"api-vision": {
"command": "node",
"args": ["~/.claude/plugins/custom/api-vision-mcp/index.js"],
"env": {
"VISION_API_KEY": "你的API密钥",
"VISION_API_BASE_URL": "https://api.example.com",
"VISION_API_MODEL": "mimo-v2.5"
}
}
}
3. 重启 Claude Code
环境变量
| 变量 | 必填 | 说明 | 默认值 |
|---|---|---|---|
VISION_API_KEY |
是 | API 密钥 | - |
VISION_API_BASE_URL |
是 | API 地址 | - |
VISION_API_MODEL |
否 | 模型名称 | mimo-v2.5 |
使用
在对话中粘贴图片并提问,或显式调用:
请使用 analyze_image 工具识别图片内容
说明:MCP 工具不会自动触发,需要用户显式请求或 Claude 判断需要图像识别时才会调用。
切换模型/平台
修改 env 中的三个变量即可:
| 平台 | VISION_API_BASE_URL | VISION_API_MODEL |
|---|---|---|
| OpenAI | https://api.openai.com |
gpt-4o |
| DeepSeek | https://api.deepseek.com |
deepseek-chat |
| 通义千问 | https://dashscope.aliyuncs.com/compatible-mode |
qwen-vl-max |
| 智谱 | https://open.bigmodel.cn/api/paas |
glm-4v |
| Ollama | http://localhost:11434 |
llava |
注意:不同平台的 API 路径可能不同。如果请求失败,检查
index.js中的/v1/chat/completions路径是否需要调整(如某些平台用/v1/messages)。
依赖
- Node.js >= 18
- @modelcontextprotocol/sdk
- zod
Installing Api Vision
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/stzhiyang/api-vision-mcpFAQ
Is Api Vision MCP free?
Yes, Api Vision MCP is free — one-click install via Unyly at no cost.
Does Api Vision need an API key?
No, Api Vision runs without API keys or environment variables.
Is Api Vision hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Api Vision in Claude Desktop, Claude Code or Cursor?
Open Api Vision on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolgpu-bridge/mcp-server
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
by gpu-bridgehamflx/imagen3-mcp
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,
by hamflxmerterbak/Grok-MCP
MCP server for xAI's [Grok API](https://docs.x.ai/docs/overview) with agentic tool calling, image generation, vision, and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
by SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
by YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
by AceDataCloudCompare Api Vision with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
