npm_search
Search the npm registry for packages using text queries and qualifiers for keywords, author, maintainer, scope, security, and stability.
Instructions
Search the npm registry for packages. Supports text search and qualifiers like 'keywords:mcp', 'author:user', 'maintainer:user', 'scope:org', 'not:insecure', 'is:unstable'.
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": "npm_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Offset for pagination | |
| size | No | Number of results (default 20, max 250) | |
| query | Yes | Search text. Supports qualifiers: keywords:x, author:x, maintainer:x, scope:x | |
| quality | No | Weight for quality score (0-1) | |
| popularity | No | Weight for popularity score (0-1) | |
| maintenance | No | Weight for maintenance score (0-1) |