
Npm Plus
io.github.ofershap由 GitHub 账号 ofershap 发布v1.0.1更新于 Oct 24, 2026
npm MCP — search packages, bundle sizes, vulnerabilities, compare downloads.
概览
让助手调研 npm 包:搜索、包信息、下载量、打包体积、漏洞和依赖树。
- 可以做什么
- 为 AI 助手提供 npm 包调研工具:按关键词搜索包,获取描述、许可证、仓库和依赖等包信息,查询下载量,比较多个包的下载量,查看每日下载趋势,通过 Bundlephobia 查询打包体积(压缩及 gzip 后),获取漏洞信息与公告链接,并以树状展示直接依赖。
- 适用场景
- 适合在挑选或审查 npm 包时使用,例如并排比较下载量、打包体积和依赖数量,检查某个包是否存在已知漏洞,或在不离开编辑器的情况下查看其依赖树。
- 运行要求
- 以 stdio 方式在本地运行,通常用 npx mcp-server-npm-plus 启动,因此需要 Node.js 以及访问公共 npm registry API 和 Bundlephobia 的网络连接。无需 API 密钥或账号。
安装
在 SourceWeft 中
- 打开 控制台中的 Npm Plus,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-server-npm-plus
[npm version] [npm downloads] [CI] [TypeScript] [License: MIT]
npm package research from your AI assistant. Search packages, check bundle sizes, scan for vulnerabilities, compare download counts, and inspect dependency trees. No API keys needed.
Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. Uses public npm registry APIs.
[MCP server for npm package search, bundle size, and vulnerability scanning]
Demo built with remotion-readme-kit
Why
Choosing between npm packages usually means opening a bunch of browser tabs: npm for package info, Bundlephobia for size, Snyk for vulnerabilities, npm trends for download comparisons. This server puts all of that in one place, accessible through your AI assistant. Ask "compare zustand vs jotai vs valtio" and get download numbers, bundle sizes, and dependency counts side by side. Ask "are there any known vulnerabilities in express?" and get the answer without leaving your editor. It uses only public npm APIs, so there's nothing to sign up for.
Tools
Quick Start
Cursor
Add to .cursor/mcp.json:
Claude Desktop
Add to claude_desktop_config.json:
VS Code
Use the MCP extension and configure the server with npx mcp-server-npm-plus.
Example Prompts
- "Search npm for React state management libraries"
- "What's the bundle size of lodash?"
- "Compare downloads of zustand vs jotai vs valtio"
- "Check for vulnerabilities in express"
- "Show me the dependency tree for next"
- "What are the download trends for typescript this month?"
Development
See also
More MCP servers and developer tools on my portfolio.
Author
README built with README Builder
License
MIT © 2026 Ofer Shapira
来源:README.md,提交 4c7edf8
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分