
Npm
Connects Claude to the npm registry and Bundlephobia API for package research and dependency analysis. You get five tools: search packages by keyword, pull detailed metadata on any package including maintainers and npm scores, audit a package.json for outdated or vulnerable dependencies using npm's bulk advisory API, check bundle sizes with minified and gzipped estimates, and compare multiple packages side by side on downloads, size, and GitHub stars. Useful when you're evaluating libraries, auditing projects for security issues, or need to justify package choices with hard numbers during code review.
- tools
- 5
- transport
- STDIO
- last updated
- Mar 22, 2026
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
npm_searchSearch the npm registry for packages by keyword. Returns name, description, version, weekly downloads, and last publish date.
Search the npm registry for packages by keyword. Returns name, description, version, weekly downloads, and last publish date.
No parameter schema in public metadata yet.
npm_package_infoGet detailed information about a specific npm package: all published versions, dependencies, maintainers, repository URL, license, unpacked size, npm quality/popularity/maintenance scores, and weekly download count.
Get detailed information about a specific npm package: all published versions, dependencies, maintainers, repository URL, license, unpacked size, npm quality/popularity/maintenance scores, and weekly download count.
No parameter schema in public metadata yet.
npm_dependency_auditAnalyze a `package.json` file to find outdated dependencies (compares pinned/range version against latest), deprecated packages, and known security vulnerabilities via the npm bulk advisory API.
Analyze a `package.json` file to find outdated dependencies (compares pinned/range version against latest), deprecated packages, and known security vulnerabilities via the npm bulk advisory API.
No parameter schema in public metadata yet.
npm_bundle_sizeEstimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, dependency count, and tree-shaking support indicators.
Estimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, dependency count, and tree-shaking support indicators.
No parameter schema in public metadata yet.
npm_compare_packagesCompare two or more packages side by side across multiple dimensions: weekly downloads, bundle size, number of runtime dependencies, last publish date, GitHub stars, and license.
Compare two or more packages side by side across multiple dimensions: weekly downloads, bundle size, number of runtime dependencies, last publish date, GitHub stars, and license.
No parameter schema in public metadata yet.
Sponsors
Readme
mcp-npm-tools
MCP server providing npm and Node.js package management tools for AI agents.
Tools
npm_search
Search the npm registry for packages by keyword. Returns name, description, version, weekly downloads, and last publish date.
npm_package_info
Get detailed information about a specific npm package: all published versions, dependencies, maintainers, repository URL, license, unpacked size, npm quality/popularity/maintenance scores, and weekly download count.
npm_dependency_audit
Analyze a package.json file to find outdated dependencies (compares pinned/range version against latest), deprecated packages, and known security vulnerabilities via the npm bulk advisory API.
npm_bundle_size
Estimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, dependency count, and tree-shaking support indicators.
npm_compare_packages
Compare two or more packages side by side across multiple dimensions: weekly downloads, bundle size, number of runtime dependencies, last publish date, GitHub stars, and license.
Setup
npm install
npm run build
Usage with Claude Desktop
Details
- Repository
- github.com/rog0x/mcp-npm-tools
- Category
- Search & Web Crawling
- Package
@rog0x/mcp-npm-tools- Transport
- STDIO
- Registry
- MCP registry, active