Search npm registry packages
search_npm_packagesSearch registry.npmjs.org by keyword and return matching packages with latest versions, descriptions, publishers, weekly downloads, and dependent counts.
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_npm_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum packages to return (1 to 50). Default 10. | |
| query | Yes | Search query (e.g. "mcp server", "express", "schema validation"). |