deepseek-vision-mcp
Provides tools for analyzing local images using Ollama's multimodal models, enabling image description and Q&A without uploading to the cloud.
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., "@deepseek-vision-mcpAnalyze the image at ~/Downloads/photo.jpg and describe what you see."
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.
中文 · English
让任意 MCP 客户端调用本地 Ollama 多模态模型,快速理解你电脑上的图片。
图片只在本机处理。服务会把图片直接发送给本地 Ollama,不经过第三方云服务,也不会生成临时图片文件。
模型说明: 项目名称保留 deepseek-vision-mcp,但服务并不绑定 DeepSeek 模型。默认使用 qwen3.5:2b,也支持其他 Ollama 视觉模型。
为什么用它
本地优先 | 即插即用 | 灵活选型 |
图片和推理都留在你的设备上 | 标准 MCP 工具,可接入兼容客户端 | 通过环境变量切换任意 Ollama 视觉模型 |
Related MCP server: MCP HydroCoder Vision
快速开始
1. 准备视觉模型
确保 Ollama 正在运行,然后拉取一个支持视觉的模型:
ollama pull qwen3.5:2b也可以使用其他 Ollama 官方库中的视觉模型,例如 qwen3-vl:2b 或 gemma3:4b。
2. 安装项目
git clone https://github.com/kgamv/deepseek-vision-mcp.git
cd deepseek-vision-mcp
python -m venv .venvmacOS / Linux 激活方式
source .venv/bin/activateWindows PowerShell 激活方式
.venv\Scripts\Activate.ps1pip install -r requirements.txt3. 接入 MCP 客户端
将下面的配置加入支持 MCP 的客户端。请把路径换成你电脑上 server.py 的绝对路径:
{
"mcpServers": {
"deepseek-vision": {
"command": "python",
"args": ["/absolute/path/to/deepseek-vision-mcp/server.py"]
}
}
}配置完成后重启客户端,即可直接提出类似请求:
分析 /path/to/screenshot.png,告诉我页面上有哪些可用操作。提供的工具
工具 | 用途 | 主要参数 |
| 描述图片内容,支持自定义提示词 |
|
| 针对图片回答一个具体问题 |
|
| 查看本地已安装的 Ollama 模型 | 无 |
工作原理
flowchart LR
A["MCP 客户端"] -->|"工具调用"| B["DeepSeek Vision MCP"]
B -->|"读取本地图片"| C["Base64 编码"]
C -->|"/api/generate"| D["本地 Ollama"]
D -->|"视觉模型结果"| B
B -->|"文本响应"| A使用
stdio与 MCP 客户端通信。使用 Python 标准库
urllib调用 Ollama/api/generate。当
response为空时,会回退读取thinking字段,兼容 Qwen3.5 的思考模式。单张图片默认最大
20 MB,请求超时为300秒。
配置
环境变量 | 默认值 | 说明 |
|
| Ollama 服务地址 |
|
| 默认视觉模型 |
|
| 单张图片大小上限,单位 MB |
macOS / Linux
export OLLAMA_VISION_MODEL=qwen3-vl:2b
python server.pyWindows PowerShell
$env:OLLAMA_VISION_MODEL = "qwen3-vl:2b"
python server.py常见问题
先运行 ollama serve,再访问 http://localhost:11434/api/tags 检查服务是否正常。如果 Ollama 在另一台设备上,请设置 OLLAMA_HOST。
运行 ollama list 查看已安装模型,并确认所选模型具备视觉能力。随后将模型名写入 OLLAMA_VISION_MODEL。
确认配置中的 server.py 使用绝对路径,并确保配置使用的 Python 环境已经安装 fastmcp。修改配置后重新启动客户端。
参与贡献
欢迎提交问题和改进。开始开发前请阅读 贡献指南。
License
本项目基于 MIT License 开源。
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
- AlicenseBqualityDmaintenanceA local vision-language MCP server that enables Claude Code to perform image analysis, OCR, and UI-to-code generation using the Qwen3 VL 4B model via LM Studio. It provides privacy-focused visual processing by running entirely on the user's local hardware without external API dependencies.Last updated3381MIT
- Alicense-qualityBmaintenanceAn MCP server that enables Claude Code to generate context-aware images using local GPU-powered diffusion models, either automatically during coding or on-demand via slash commands.Last updated391MIT
- Alicense-qualityDmaintenanceA powerful MCP server that brings AI vision capabilities to Claude Desktop. Analyze images and videos using OpenAI GPT-4o, Claude, or any compatible vision API.Last updated38MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server for Grok Imagine AI video generation
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/kgamv/deepseek-vision-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server