get_npm_downloads
Retrieve NPM package download statistics for any package, with options for predefined periods or custom date ranges.
Instructions
Get NPM package download statistics
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": {
"package": "<package>"
},
"name": "get_npm_downloads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Predefined time period for download stats | |
| endDate | No | End date for custom range (YYYY-MM-DD format) | |
| package | Yes | NPM package name | |
| startDate | No | Start date for custom range (YYYY-MM-DD format) |