npm package search
search_npmSearch the npm registry for JavaScript/TypeScript packages by keywords. Returns name, latest version, description, keywords, last publish date, publisher, license, weekly downloads, dependents count, npm and repository links and npm's quality score. Use to pick a library or check what exists before coding. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results 1–25 (default 10) | |
| query | Yes | Keywords, e.g. x402 client |