vision
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
让 Claude 看图 · read-image 插件
适合:Claude Code 主模型不能看图(比如 DeepSeek)时,让 Claude 也能读图片。
原理:图片先转成 base64 发给智谱视觉模型,模型返回文字,Claude 再用这段文字回答你。
前提条件
已安装 Claude Code
Python 3.10 以上(Windows 上命令是
python,macOS / Linux 上是python3)能访问
open.bigmodel.cn
Windows 上如果终端里输入
python没反应,说明它不在 PATH。装 Python 时勾选 "Add to PATH",或把.mcp.json里的"command": "python"改成 Python 的完整路径(如C:\\Python311\\python.exe)。
Related MCP server: glm-vision-mcp-server
macOS 用户注意(重要)
macOS 默认没有 python 命令,而且系统自带的 python3 往往还是 3.9,不满足 3.10+ 的要求。不处理这两点,MCP 服务会启动失败,工具根本不会出现。
1. 安装新版 Python
brew install python
python3 --version # 确认 >= 3.102. 安装依赖
python3 -m pip install mcp pillow3. 修改 .mcp.json
把这一行:
"command": "python"改成:
"command": "python3"4. 复制插件
cp -r read-image ~/.claude/skills/后面的 Key 配置和验证步骤与 Windows 完全一致。
安装(3 步)
1. 安装依赖
pip install mcp pillowmacOS / Linux 如果 pip 不存在,用 pip3 install mcp pillow。
2. 复制插件
Windows:
xcopy /E /I read-image "%USERPROFILE%\.claude\skills\read-image"macOS / Linux:
cp -r read-image ~/.claude/skills/3. 填 API Key
去 https://open.bigmodel.cn/usercenter/apikeys 注册并创建 Key。
新建文件 ~/.claude/read-image.json:
{"api_key": "你的Key"}Windows 完整路径:C:\Users\你的用户名\.claude\read-image.json
让 Claude 帮你配置(推荐)
装好后不用自己找配置文件,直接对 Claude 说:
帮我配置 read-image它会先检查当前状态,然后一步步引导你:
告诉你去哪里申请 Key
请你把 Key 粘贴到对话里
自动写入本机配置
再验证一次是否可用
不想把 Key 粘进对话,也可以自己创建
~/.claude/read-image.json,见上一节。
验证
重启 Claude Code
输入
/mcp,看到vision显示 connected说一句:
帮我看看 C:\图片\test.png 里有什么怎么用
直接说人话即可:
「读一下这张图:路径」
「把这张图里的文字提取出来」
「这张图表里第三个柱子是多少」
「这个界面是什么布局」
读不出来怎么办
在 Claude Code 里输入:
read_image_doctor它会自动检查 Key、网络和可用模型,并告诉你问题在哪。
macOS 上工具完全不出现? 依次检查:
.mcp.json里的command是否已改成python3python3 --version是否 ≥ 3.10python3 -m pip show mcp是否装在了同一个 Python 下
可选
不想把 Key 存在磁盘上,可以改用环境变量:
Windows: setx ZHIPU_API_KEY "你的Key"
macOS / Linux: export ZHIPU_API_KEY="你的Key"
环境变量优先级高于配置文件。
文件说明
read-image/
├── SKILL.md # Skill 说明与引导流程
├── .claude-plugin/plugin.json # 插件声明
├── .mcp.json # MCP 启动配置
├── requirements.txt # Python 依赖
└── server/read_image_server.py # 服务端实现Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate images and video from Claude with one API key.
Zaotu MCP: AI image & video generation (GPT-image, Grok, Nano Banana, Seedream) via Zaotu API.
Generate images from Claude, ChatGPT, Cursor and Codex with 12 top AI image models. Up to 4 images per call, SVG vectorization, background removal, upscaling and image-to-video. Remote MCP with OAuth, no API keys.
Generate and edit images and create short videos inside Claude. Prepaid credits, no subscription.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude Code to describe images and extract text using Kimi/Moonshot vision API. Supports local image files with customizable prompts.2MIT
- AlicenseAqualityDmaintenanceEnables Claude Code to analyze images using Zhipu AI's GLM-5V-Turbo vision model, supporting local files and URLs with customizable prompts.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables image analysis in Claude Code using Zhipu AI's GLM-4.6V vision model.6MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude Code to analyze images using Qwen vision models (via DashScope) when the main model is text-only.-