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 "Deploy 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-tools compare 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
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
Available Tools
5 toolsnpm_bundle_sizeA
Estimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, and dependency count.
Inputs: package_name (required), version.
npm_compare_packagesA
Compare 2 or more npm packages side by side: weekly downloads, bundle size, dependency count, last update, GitHub stars, and license.
Inputs: packages (required).
npm_dependency_auditA
Analyze a package.json to find outdated dependencies (compare installed vs latest), deprecated packages, and known security vulnerabilities.
Inputs: package_json (required).
npm_package_infoA
Get detailed information about an npm package: all versions, dependencies, maintainers, repository, license, size, npm score, and weekly downloads.
Inputs: package_name (required).
npm_searchA
Search the npm registry for packages by keyword. Returns name, description, version, weekly downloads, and last publish date for each result.
Inputs: keyword (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct aspect of npm packages: searching, detailed info, dependency audit, bundle size, and comparison. No two tools overlap in purpose, and the descriptions make their boundaries clear.
All tool names share the npm_ prefix and use lowercase with underscores, but the pattern mixes verb-first names (npm_search, npm_compare_packages) with noun-phrase names (npm_package_info, npm_dependency_audit). This is generally predictable but not perfectly uniform.
With exactly 5 tools, the server is well-scoped for an npm utility toolkit. Each tool covers a meaningful function without bloat, and the count feels appropriate for the domain.
The set covers the core needs for npm package exploration: search, detailed inspection, dependency auditing, bundle size estimation, and side-by-side comparison. No obvious missing operations within the apparent purpose.
Maintenance
Related MCP Connectors
Free MCP security tools for AI coding agents. Check npm/PyPI package versions, identify known OSV vulnerabilities, compare with the latest releases, and review up to 3 dependencies before deployment.
Find, compare, and audit software for AI agents. Scored registry of tools and MCP servers.
Dive into the world of npm with our NPM Package Info MCP. Access crucial metadata about any npm
Live npm and UNPKG data for AI agents: resolution, audits, import maps, malware/CVE checks.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server for npm — search packages, check bundle sizes, scan vulnerabilities, compare downloads, inspect dependencies.860 npm1MIT
- AlicenseAqualityDmaintenanceMCP server to search npm packages, view details, compare, check downloads, and inspect dependencies.645 npmMIT

@lpm-registry/mcp-serverofficial
AlicenseAqualityCmaintenanceMCP server for the LPM package registry, enabling AI tools to search, browse source code, install packages, check quality, and more.1762 npmISC- AlicenseAqualityFmaintenanceMCP server that provides npm package information for AI agents during TypeScript development.725 npm1MIT