Npm Plus

io.github.ofershap由 GitHub 帳號 ofershap 發布v1.0.1更新於 Oct 24, 2026

npm MCP — search packages, bundle sizes, vulnerabilities, compare downloads.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

讓助手研究 npm 套件:搜尋、套件資訊、下載量、打包體積、漏洞與相依性樹。

可以做什麼
為 AI 助手提供 npm 套件研究工具:依關鍵字搜尋套件,取得描述、授權、儲存庫與相依性等套件資訊,查詢下載次數,比較多個套件的下載量,查看每日下載趨勢,透過 Bundlephobia 查詢打包體積(壓縮與 gzip 後),取得漏洞資訊與公告連結,並以樹狀呈現直接相依性。
適用情境
適合在挑選或審查 npm 套件時使用,例如並排比較下載量、打包體積與相依性數量,檢查某個套件是否有已知漏洞,或在不離開編輯器的情況下查看其相依性樹。
執行需求
以 stdio 在本機執行,通常用 npx mcp-server-npm-plus 啟動,因此需要 Node.js 以及連線至公開 npm registry API 與 Bundlephobia 的網路。不需要 API 金鑰或帳號。
安裝前請注意
工具為唯讀研究,不會安裝、修改或發佈套件。查詢內容與套件名稱會傳送至公開第三方服務(npm registry 與 Bundlephobia),請避免送出私有或敏感的套件名稱。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Npm Plus,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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.

bash
npx mcp-server-npm-plus

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

ToolDescription
searchSearch npm packages by query
package_infoGet detailed info: description, license, repo, dependencies
downloadsGet download stats for a package
compare_downloadsCompare download counts across multiple packages
bundle_sizeGet bundle size (minified + gzip) via Bundlephobia
vulnerabilitiesGet vulnerability info and advisory links
dependency_treeShow direct dependencies as a tree
download_trendsDaily breakdown with sparkline

Quick Start

Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "npm-plus": {      "command": "npx",      "args": ["mcp-server-npm-plus"]    }  }}

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "npm-plus": {      "command": "npx",      "args": ["mcp-server-npm-plus"]    }  }}

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

bash
npm installnpm run typechecknpm run buildnpm testnpm run lintnpm run format

See also

More MCP servers and developer tools on my portfolio.

Author

[Made by ofershap]

[LinkedIn] [GitHub]


README built with README Builder

License

MIT © 2026 Ofer Shapira

來源:README.md,提交 4c7edf8

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分