npm
v1.0.1npm package search, audit, bundle analysis for AI agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
npm_search
Search the npm registry for packages by keyword. Returns name, description, version, weekly downloads, and last publish date for each result.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | Search keyword or phrase |
limit | number | Max results to return (default: 10, max: 50) |
npm_package_info
Get detailed information about an npm package: all versions, dependencies, maintainers, repository, license, size, npm score, and weekly downloads.
| Parameter | Type | Description |
|---|---|---|
package_name * | string | Exact npm package name (e.g. 'express', '@types/node') |
npm_dependency_audit
Analyze a package.json to find outdated dependencies (compare installed vs latest), deprecated packages, and known security vulnerabilities.
| Parameter | Type | Description |
|---|---|---|
package_json * | string | The full contents of a package.json file as a string |
npm_bundle_size
Estimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, and dependency count.
| Parameter | Type | Description |
|---|---|---|
package_name * | string | npm package name (e.g. 'lodash') |
version | string | Specific version to check (optional, defaults to latest) |
npm_compare_packages
Compare 2 or more npm packages side by side: weekly downloads, bundle size, dependency count, last update, GitHub stars, and license.
| Parameter | Type | Description |
|---|---|---|
packages * | array | Array of package names to compare (min 2, max 10) |