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

reasonix-vision-mcp

v1.0.1

Published

Vision Bridge MCP Server — 让 DeepSeek(纯文本模型)通过 MCP 调用视觉模型来「看到」图片。支持 SiliconFlow / OpenAI 兼容 API,含图片压缩功能。

Readme

reasonix-vision-mcp

Vision Bridge MCP Server — 让纯文本模型通过 MCP 调用视觉模型来"看到"图片。

支持任意 OpenAI 兼容的视觉 API(SiliconFlow / GPT-4o / Qwen-VL 等),含图片压缩功能。

⚠️ 注意: 本项目基于 SiliconFlow 平台在 Reasonix 中测试通过,其余平台/客户端未做完整测试,可能存在兼容性问题。

工具

| 工具 | 说明 | |------|------| | describe_image | 描述图片内容。支持本地图片路径或公网 URL | | compress_image | 压缩本地图片文件 | | v | 版本信息(仅查看,不调用) |

describe_image 参数

| 参数 | 必填 | 说明 | |------|------|------| | image | ✅ | 图片路径:本地绝对路径或公网 URL | | prompt | ❌ | 自定义描述指引,如"分析这个UI界面" | | detail | ❌ | 视觉精度,默认 auto。传什么就用什么,直接透传给 API |

compress_image 参数

| 参数 | 必填 | 默认值 | 说明 | |------|------|--------|------| | image | ✅ | — | 图片绝对路径 | | maxWidth | ❌ | 800 | 最大宽度(像素)。仅在不指定 maxSize 时生效 | | maxSize | ❌ | — | 目标大小,如 "1M""500KB""200K" |

指定 maxSize 时,工具会二分逼近压缩到目标大小以内,绝不超出。

安装

方式一:npx(推荐)

{
  "mcpServers": {
    "reasonix-vision-mcp": {
      "command": "npx",
      "args": ["-y", "reasonix-vision-mcp"],
      "env": {
        "VISION_API_KEY": "sk-your-key",
        "VISION_BASE_URL": "https://api.siliconflow.cn/v1",
        "VISION_MODEL": "Qwen/Qwen3.5-35B-A3B",
        "VISION_DETAIL": "auto"
      }
    }
  }
}

方式二:直接运行

node dist/src/index.js

环境变量

| 变量 | 必填 | 默认值 | 说明 | |------|------|--------|------| | VISION_API_KEY | ✅ | — | 视觉模型的 API Key | | VISION_BASE_URL | ❌ | https://api.openai.com/v1 | OpenAI 兼容 API 地址 | | VISION_MODEL | ❌ | Qwen/Qwen3.5-35B-A3B | 视觉模型名称 | | VISION_DETAIL | ❌ | auto | 视觉精度,默认 auto。显式声明什么就传什么,不做校验 | | VISION_OUTPUT_DIR | ❌ | ./vision-output | compress_image 输出目录 |

许可证

MIT