package-exists
Package exists on npm, PyPI or crates.io (hallucinated dependency check) — Checks whether up to 10 package names (optionally with a version) exist in the live npm, PyPI or crates.io registry, for coding agents about to add a dependency they may have invented. Per package: exists, latest version, deprecated or yanked flag, and for a missing name the closest names the registry's own search returns (npm, crates.io; PyPI has no search API). Reads registry metadata only: neve
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>",
"items": "<items>"
},
"name": "package-exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | At most 5 items for crates.io (its API policy allows one request per second). | |
| ecosystem | Yes |