Search npm packages
search_packagesSearch npm registry packages by keyword and qualifiers such as author, scope, keywords, and exclusions. Returns names, versions, descriptions, scores, links, and publish details.
Instructions
Search the npm registry for packages by keyword. Supports npm search qualifiers such as author:name, maintainer:name, scope:name, keywords:word, not:unstable and not:insecure. Returns name, version, description, keywords, last publish date, publisher, links and npm quality/popularity/maintenance scores (0 to 1).
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": {
"query": "<query>"
},
"name": "search_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (1-25). Default 10. | |
| query | Yes | Search text, e.g. "http client" or "keywords:typescript author:sindresorhus". | |
| offset | No | Number of results to skip for pagination. Default 0. |