semver-check
Version range check: npm, PEP 440, Cargo, Maven — Parses a dependency version range in npm (node-semver), PEP 440 specifier, Cargo requirement or Maven range syntax and tests up to 100 candidate versions against it, for agents that write or review manifests. Returns per-version satisfies/violates with the failing comparator, the normalized range, the sorted versions and the highest match; pre-release, caret on 0.x, epoch and local-version rules f
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>",
"range": "<range>"
},
"name": "semver-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The range: npm '^1.2.3 || >=2', PEP 440 '>=1.0,<2', Cargo '>=1.2, <1.5', Maven '[1.0,2.0)'. | |
| versions | No | Candidate versions to test; omit to only validate the range. | |
| ecosystem | Yes | Which range syntax and version ordering to apply. | |
| prereleases | No | npm includePrerelease / PEP 440 prereleases=true. Default false (ecosystem default exclusion applies). |