Package risk
package_riskUse when you need to vet a dependency before installing or shipping it: pass ecosystem (npm, PyPI, Go, crates.io, RubyGems, Maven, NuGet). Returns the paid x402 request for your input (GET /package/risk, $0.005 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. One exact package version. For a single CVE id use vuln_cve; to know whether a product or runtime version is still supported use software_eol. First call each day returns the data itself, free; later calls return the paid request.
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": {
"ecosystem": "<ecosystem>",
"name": "<name>",
"version": "<version>"
},
"name": "package_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name; Maven is groupId:artifactId, Go is the module path | |
| version | Yes | Exact version, e.g. 4.17.15 | |
| ecosystem | Yes | Package ecosystem |