Purpose
mcp-server-npm-plus is designed to solve the problem of needing to switch back and forth between multiple tools when choosing an npm package. Traditionally, developers often need to open the npm website to check package information, Bundlephobia to check size, Snyk to check vulnerabilities, and npm trends to compare download counts at the same time. This server consolidates these functions into one place, accessible directly through an AI assistant.
Main Capabilities
- Search npm packages
- Check bundle size
- Scan for known vulnerabilities
- Compare download counts
- View dependency tree
- View download trends
All functions are implemented through the public npm registry API and require no API key.
Usage
This server is compatible with Claude Desktop, Cursor, VS Code Copilot, and any MCP client.
- Add to .cursor/mcp.json
- Add to claude_desktop_config.json
- Use the MCP extension and configure the server via npx mcp-server-npm-plus
The official materials do not provide the specific configuration file contents or complete command examples, so they are not provided here.
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?"
Applicable Scenarios
Suitable for developers who need to quickly research and compare npm packages in an AI coding assistant or editor. For example, asking "compare zustand vs jotai vs valtio" can directly provide a side-by-side comparison of download counts, bundle size, and number of dependencies; asking "are there any known vulnerabilities in express?" provides an answer without leaving the editor.
Limitations
The official materials do not explain information such as fees, pricing, platform limitations, or performance guarantees, so they are not provided here. This tool relies on the public npm API, and its availability may be affected by the corresponding API, but the materials do not explain this further.