mcp-npm-tools
Provides tools for managing Node.js packages, including dependency auditing and bundle size estimation, enabling AI agents to analyze and compare Node.js packages from the npm registry.
Provides tools for searching npm packages, retrieving detailed package information, auditing dependencies for outdated or vulnerable packages, estimating bundle sizes, and comparing packages across multiple metrics. Integrates with the npm registry and Bundlephobia API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-npm-toolscompare bundle sizes of react and vue"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: mcp-server-npm-plus
Setup
npm install
npm run buildUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"npm-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-npm-tools/dist/index.js"]
}
}
}Development
npm run build # compile TypeScript
npm start # run the serverLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rog0x/mcp-npm-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server