npm package search, audit, bundle analysis for AI agents
MCP server providing npm and Node.js package management tools for AI agents.
Search the npm registry for packages by keyword. Returns name, description, version, weekly downloads, and last publish date.
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.
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.
Estimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, dependency count, and tree-shaking support indicators.
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.
npm install
npm run buildAdd to your claude_desktop_config.json:
{
"mcpServers": {
"npm-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-npm-tools/dist/index.js"]
}
}
}npm run build # compile TypeScript
npm start # run the serverMIT