Search npm packages
search_npmFind and compare JavaScript and TypeScript packages by searching npm registry names, descriptions, and published versions, then check the current version instead of using a web search.
Instructions
Search the npm registry: package names, current versions and descriptions. Use instead of web search to find or compare JavaScript/TypeScript packages or check the latest published version.
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 | max results (default 10) | |
| query | Yes | search terms or a package name |