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

@loongjiu/kimi-vision-mcp

v1.0.0

Published

MCP server for analyzing images using Kimi K2.5 vision model

Downloads

7

Readme

Kimi Vision MCP

一个基于 Kimi K2.5 视觉模型的 MCP 服务器,用于分析图片内容。

功能特性

  • ✅ 支持本地图片文件和 URL
  • ✅ 支持多种图片格式 (JPG, PNG, GIF, WebP)
  • ✅ 安全的 URL 验证,防止 SSRF 攻击
  • ✅ 文件大小限制 (最大 10MB)
  • ✅ 自定义分析提示词

安装

方式 1: 通过 npm 安装 (推荐)

npm install -g kimi-vision-mcp

方式 2: 从源码安装

git clone https://github.com/yourusername/kimi-vision-mcp.git
cd kimi-vision-mcp
npm install
chmod +x index.js

配置

1. 获取 Kimi API Key

访问 Moonshot AI 注册并获取 API Key。

2. 配置 Claude Desktop

编辑配置文件:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

使用 npm 全局安装 (推荐)

{
  "mcpServers": {
    "kimi-vision": {
      "command": "kimi-vision-mcp",
      "env": {
        "KIMI_API_KEY": "your-api-key-here"
      }
    }
  }
}

使用本地路径

{
  "mcpServers": {
    "kimi-vision": {
      "command": "node",
      "args": ["/absolute/path/to/kimi-vision-mcp/index.js"],
      "env": {
        "KIMI_API_KEY": "your-api-key-here"
      }
    }
  }
}

3. 重启 Claude Desktop

配置完成后,完全退出并重启 Claude Desktop。

使用方法

在 Claude 对话中:

请帮我分析这张图片: /path/to/image.jpg

或使用 URL:

请分析这张图片: https://example.com/image.png

自定义提示词

请用以下要求分析图片 /path/to/screenshot.png:
重点关注UI布局和配色方案

API 参数

analyze_image

  • image_path (必需): 图片文件路径或 URL
  • prompt (可选): 对图片的具体问题或要求
  • model (可选): 使用的模型名称,默认 kimi-k2.5

支持的图片格式

  • JPG/JPEG
  • PNG
  • GIF
  • WebP

限制

  • 最大文件大小: 10MB
  • 下载超时: 30秒
  • 仅支持公开可访问的图片 URL

故障排除

1. "KIMI_API_KEY 环境变量未设置"

确保在配置文件中正确设置了 API Key。

2. "文件不存在"

检查文件路径是否正确,使用绝对路径更可靠。

3. "不支持的 URL 或存在安全风险"

不支持访问本地网络地址 (localhost, 127.0.0.1, 内网 IP 等)。

开发

# 克隆项目
git clone https://github.com/yourusername/kimi-vision-mcp.git
cd kimi-vision-mcp

# 安装依赖
npm install

# 运行
KIMI_API_KEY=your-key node index.js

贡献

欢迎提交 Issue 和 Pull Request!

许可证

MIT License

相关链接