npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

glm-vision-mcp-server

v1.0.1

Published

MCP server for Zhipu AI's GLM vision models (GLM-5V-Turbo, GLM-4.6V, etc.)

Downloads

290

Readme

GLM-Vision MCP Server

npm version GitHub

Zhipu AI GLM 视觉模型 MCP Server,支持 GLM-5V-Turbo / GLM-4.6V 等,用于 Claude Code。

特性

  • 🖼️ 支持本地图片文件路径和远程 URL
  • 💬 自定义 prompt,适合 UI 截图→代码、视觉调试等场景
  • 🧠 可选 Thinking 模式(复杂推理)
  • 📏 200K 上下文 / 128K 最大输出
  • 🏆 Design2Code 基准 94.8 分
  • ⚡ 一行 npx 部署,无需手动安装

快速开始(npx)

Claude Code settings.json 中添加:

{
  "mcpServers": {
    "glm-5v": {
      "command": "npx",
      "args": ["-y", "glm-vision-mcp-server"],
      "env": {
        "ZAI_API_KEY": "your-zai-api-key"
      }
    }
  }
}

环境变量

| 变量 | 必填 | 默认值 | 说明 | |------|------|--------|------| | ZAI_API_KEY | ✅ | — | Z.AI API Key,去 z.ai 注册获取 | | GLM_MODEL | 否 | glm-5v-turbo | 模型名,可换成 glm-4.6vglm-4.6v-flash(免费)等 |

本地开发

git clone https://github.com/kira4094/glm-vision-mcp-server.git
cd glm-vision-mcp-server
npm install

本地路径注册到 Claude Code:

{
  "mcpServers": {
    "glm-5v": {
      "command": "node",
      "args": ["E:\\Projects\\Claude\\MCP\\GLM\\glm-vision-mcp-server\\src\\index.js"],
      "env": {
        "ZAI_API_KEY": "your-key-here"
      }
    }
  }
}

工具说明

glm_5v_understand

分析图片的核心工具。

| 参数 | 必填 | 说明 | |------|------|------| | image | ✅ | 本地路径 (C:/img.png) 或 URL (https://...) | | prompt | ✅ | 对图的指令。越具体越好 | | detail | 否 | 精度: auto / low / high | | max_tokens | 否 | 最大输出(默认 4096,最大 128K) | | temperature | 否 | 采样温度(默认 1) | | thinking | 否 | 启用思考模式 |

使用示例

在 Claude Code 中直接问:

分析这张 UI 截图:C:\screenshot.png,描述它的布局和配色方案

把这张设计稿生成 HTML + Tailwind CSS:https://example.com/mockup.png

与 Doubao Vision 的对比

| | GLM-5V-Turbo | Doubao Vision 1.6 | |---|---|---| | API 提供商 | Z.AI (智谱) | 字节跳动 | | 上下文 | 200K | 各有千秋 | | Design2Code | 94.8 | — | | 价格 | $1.20/M in · $4.00/M out | 见豆包定价 | | 特长 | UI→代码、视觉编码 | 通用视觉理解 |