Skip to main content
Glama
mcp-server-npm-plus

mcp-server-npm-plus

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.

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.

Related MCP server: mcp-server-npm

Tools

Tool

Description

search

Search npm packages by query

package_info

Get detailed info: description, license, repo, dependencies

downloads

Get download stats for a package

compare_downloads

Compare download counts across multiple packages

bundle_size

Get bundle size (minified + gzip) via Bundlephobia

vulnerabilities

Get vulnerability info and advisory links

dependency_tree

Show direct dependencies as a tree

download_trends

Daily breakdown with sparkline

Quick Start

Cursor

Add to .cursor/mcp.json:

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

Claude Desktop

Add to claude_desktop_config.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

npm install
npm run typecheck
npm run build
npm test
npm run lint
npm 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

Available Tools

8 tools
bundle_sizeB

Get bundle size (minified + gzip) for an npm package via Bundlephobia.

Inputs: name (required).

compare_downloadsC

Compare download counts across multiple packages.

Inputs: packages (required), period.

dependency_treeC

Get dependency tree for an npm package (direct deps only).

Inputs: name (required).

downloadsC

Get download statistics for an npm package.

Inputs: name (required), period.

package_infoB

Get detailed info about an npm package: description, license, repo, dependencies.

Inputs: name (required).

vulnerabilitiesB

Get vulnerability info for an npm package. Note: Full audit requires npm audit in project context.

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific aspects of npm package analysis, such as bundle size, downloads, dependencies, vulnerabilities, and search. There is no overlap in functionality, making it easy for an agent to select the right tool for each task.

    Naming Consistency4/5

    Most tools follow a consistent snake_case naming pattern with clear verbs and nouns, like 'bundle_size', 'downloads', and 'package_info'. However, 'dependency_tree' uses a compound noun without a verb, which is a minor deviation from the otherwise uniform style.

    Tool Count5/5

    With 8 tools, the server is well-scoped for npm package analysis, covering key areas like size, downloads, dependencies, info, search, and vulnerabilities. Each tool earns its place without feeling excessive or insufficient for the domain.

    Completeness4/5

    The tool set provides comprehensive coverage for npm package analysis, including info retrieval, dependency inspection, download trends, and vulnerability checks. A minor gap exists in direct package management actions like install or update, but core analysis workflows are fully supported.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers