Search npm
npm_search_allSearch npm packages, with downloads and scores.
Search the npm registry. q takes npm’s qualifiers (keywords:, author:, maintainer:, scope:, not:unstable, is:unstable). Each object has the package (name, version, description, date, links, publisher), weekly and monthly downloads, dependents and scores. page is 1-based, limit up to 100 (default 20). since/until filter on the latest publish date.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "npm_search_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search terms. | |
| page | No | Page number, 1 to 100. Defaults to 1. | |
| limit | No | Packages per page, 1 to 100. Defaults to 20. | |
| since | No | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. | |
| until | No | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day) or an ISO 8601 timestamp. |