package_health
Get npm or PyPI package health: downloads, publish date, deprecation, license, and a healthy/caution/avoid verdict. Use before recommending or installing.
Instructions
Get a health report for an npm or PyPI package: weekly downloads, last publish date, deprecation/yank status, license, and a healthy/caution/avoid verdict with reasons. Use this before recommending or installing a package.
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": {
"name": "<name>"
},
"name": "package_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name, e.g. 'express' or '@tanstack/react-query' (npm), 'requests' (PyPI) | |
| registry | No | Package registry to query: 'npm' for JavaScript/TypeScript packages, 'pypi' for Python packages. Defaults to npm. | npm |