npm Package Search
npm.packages.searchSearch over 2.1 million npm packages by keyword. Returns ranked results with quality, popularity, and maintenance scores, download counts, dependents, license, and publisher. Find libraries for any task.
Instructions
Search 2.1M+ npm packages by keyword. Returns ranked results with quality, popularity, and maintenance scores, download counts, dependents, license, publisher. Find libraries for any task (e.g. "mcp server", "react hooks", "typescript orm").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (e.g. "mcp server", "react hooks", "typescript orm") | |
| size | No | Number of results to return (1-20, default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |