Find where one dependency is constrained differently across a repository's manifests
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add versions-le -- npx -y versions-le-mcp{
"mcpServers": {
"versions-le": {
"command": "npx",
"args": ["-y", "versions-le-mcp"]
}
}
}MCP Servers overview
<p align="center">
<img src="src/assets/images/icon.png" alt="Versions-LE Logo" width="96" height="96"/>
</p>
<h1 align="center">Versions-LE: Two Pins, One Dependency</h1>
<p align="center">
<b>Find where one dependency is constrained differently across a repository's manifests — and where no version can satisfy both</b><br/>
<i>package.json · Cargo.toml · pyproject.toml · go.mod · GitHub workflows</i>
</p>
<p align="center">
<a href="https://marketplace.visualstudio.com/items?itemName=nolindnaidoo.versions-le">
<img src="https://img.shields.io/badge/Install%20from-VS%20Code-blue?style=for-the-badge&logo=visualstudiocode" alt="Install from VS Code Marketplace" />
</a>
<a href="https://open-vsx.org/extension/nolindnaidoo/versions-le">
<img src="https://img.shields.io/open-vsx/dt/nolindnaidoo/versions-le?style=for-the-badge&label=Open%20VSX&color=blue" alt="Open VSX downloads" />
</a>
<a href="https://www.npmjs.com/package/versions-le-mcp">
<img src="https://img.shields.io/npm/v/versions-le-mcp?style=for-the-badge&label=MCP%20server&color=blue&logo=npm" alt="versions-le-mcp on npm" />
</a>
<a href="https://crates.io/crates/versions-le">
<img src="https://img.shields.io/crates/v/versions-le?style=for-the-badge&label=Rust%20CLI&color=blue&logo=rust" alt="versions-le on crates.io" />
</a>
<a href="https://letools.dev/tools/versions-le">
<img src="https://img.shields.io/badge/LE%20Tools-letools.dev-blue?style=for-the-badge" alt="LE Tools" />
</a>
</p>
---
> **Useful?** A star or rating is how other developers find it —
> [★ GitHub](https://github.com/nolindnaidoo/versions-le) ·
> [★ Open VSX](https://open-vsx.org/extension/nolindnaidoo/versions-le/reviews) ·
> [★ Marketplace](https://marketplace.visualstudio.com/items?itemName=nolindnaidoo.versions-le&ssr=false#review-details)
## What it does
The build broke because `api` asks for `regex = "1"` and `web` asks for `regex = "2"`, and no one version satisfies both. Or it did not break, and will: CI has built on Rust `1.80` since March while `rust-version` says `1.88`.
Run `Versions-LE: Compare Versions` and every manifest in the workspace is compared as one set — or every manifest under a folder, from the Explorer. The report opens beside the editor: each problem by severity with every file, key and constraint that produced it, then what was deliberately not compared and why. Works in VS Code and in VS Code–based editors like Cursor and VSCodium (installable from Open VSX).
- **In a monorepo** — the crate pinned to `serde 0.9` while the rest moved to `1.0`
- **Before a release** — CI testing on a toolchain older than the minimum you publish
- **Reviewing a dependency bump** — the one package that did not move with the others
**It never edits a manifest, and never guesses**: a constraint it does not model is named and left out of every comparison.
## Install
| Where | What you get | Install |
|---|---|---|
| **VS Code** | The comparison, in your editor, on a keystroke | [Marketplace](https://marketplace.visualstudio.com/items?itemName=nolindnaidoo.versions-le) |
| **Cursor, VSCodium, Windsurf** | The same extension | [Open VSX](https://open-vsx.org/extension/nolindnaidoo/versions-le) |
| **A terminal or a CI step** | A whole tree, with an exit code | `cargo install versions-le` · [crates.io](https://crates.io/crates/versions-le) |
| **Any MCP agent, via Node** | `compare_versions` over stdio | `npx versions-le-mcp` · [npm](https://www.npmjs.com/package/versions-le-mcp) |
## The six checks
| Code | Severity | What it means |
|---|---|---|
| `disjoint-constraint` | error | Two constraints for one dependency that **no single version satisfies**. The strongest claim this tool makes. |
| `malformed-constraint` | error | Shaped like a constraint of its own ecosystem, and broken. |
| `constraint-conflict` | warning | One dependency, two or more **different requirements** across sites. |
| `msrv-mismatch` | warning | `rust-version` differs across manifests, or a CI toolchain pin is below the declared minimum. |
| `prerelease-in-production` | warning | An `-rc` or `-alpha` constraint outside dev or build dependencies. |
| `floating-pin` | info | `latest`, `*`, a caret on a `0.x` version, or an unpinned CI tool version. |
**Different and unsatisfiable are two findings.** `constraint-conflict`
is a smell; `disjoint-constraint` is a build that cannot resolve. They
are never conflated.
Disjointness is decided by **interval arithmetic** over the modelled
ranges, not by string comparison — which is also why `>=20` and
`>=20.0.0` are not reported as a conflict. They are one requirement typed
twice.
**One finding per drifted dependency**, carrying every site. A dependency
constrained four ways is one problem with four sites, and four findings
would read as four problems.
## The four refusals
**It never guesses.** A constraint in a grammar this tool does not model
is named in the report's `refusals` and takes part in **no comparison** —
never approximated into a range.
| Reason | When |
|---|---|
| `unknown_grammar` | The value is a constraint in a syntax this tool does not model: PEP 440 `~=`, `!=`, `===`, `==1.2.*`; npm `workspace:`, `npm:`, `file:`, `link:`, a git or https URL, an `owner/repo` shorthand, a dist tag; a Cargo dependency table with no `version`; a commit-SHA or branch action ref; a CI channel name (`stable`, `latest`, `lts/*`). |
| `cross_ecosystem` | The same name appears under two ecosystems. Named once, with a site in each, and **the two are never compared**. |
| `ambiguous_version_string` | A `<tool>-version:` value in a workflow that is not evidently a version — `${{ matrix.node }}`, a list, a filename. No entry is created at all: there is nothing to compare and nothing was invented. |
| `per_job_tool_version` | One CI tool installed at two versions — `python-version: 3.9` in the test job, `3.12` in the publish job. A tool version belongs to the job that installs it, so **the two are never compared**. |
`malformed-constraint` is a **finding**, not a refusal, and the
difference is deliberate: it is the narrower verdict that the value is
shaped like a constraint of its own ecosystem and is broken. The tool
blames the manifest only when it is sure; everything else it blames on
itself. `^^1.0.0` is malformed. `latest` is not — it is a syntax with a
meaning this tool chose not to model.
**Comparison never crosses an ecosystem.** An npm `semver` and a Cargo
`semver` are unrelated packages that share a word — and a bare
`"1.0.200"` means *exactly 1.0.200* in npm and *anything below 2.0.0* in
Cargo. One bridge exists, `msrv-mismatch`, and it is built by naming both
keys rather than by matching a name.
## What it reads
| Manifest | Keys |
|---|---|
| `package.json` | the four dependency sections, `engines.*`, `packageManager` |
| `Cargo.toml` | dependencies, dev, build, the workspace and target variants, `rust-version` |
| `pyproject.toml` | PEP 621 `dependencies`, `optional-dependencies`, `requires-python` |
| `go.mod` | `require` (single and block form), the `go` directive |
| `.github/workflows/*.yml` | `uses:` action refs, `<tool>-version:` inputs, `toolchain:` |
That last row is why this exists as much as the first: a CI toolchain
drifting away from the floor a manifest declares is exactly the failure
nobody notices until a release.
`node_modules`, `vendor` and `.git` are never read. **`.github` always
is** — a workflow lives in a hidden directory by definition.
## What it will not do
- **It never edits a manifest.** No `--fix`, no `--pin`, no `--update`.
The right version for a drifted dependency is a decision, not a
derivation.
- **It never resolves a dependency graph.** It reads what the manifests
*say*, not what a resolver would pick — no lockfiles, no transitive
analysis.
- **It never hits the network.** It does not know which versions exist,
which are yanked, or which are newest; only whether two stated
requirements can be met at once.
- **It does not lint style.** Ordering, quoting and formatting of a
manifest are somebody else's job.
## Use it from an AI agent
The same engine runs as an [MCP](https://modelcontextprotocol.io) server, so an agent can call it directly instead of diffing manifests by eye.
| Editor | How |
|---|---|
| **VS Code** 1.101+ | Nothing to install — the extension registers `compare_versions` with agent mode |
| **Claude Code** | `claude mcp add versions-le -- npx -y versions-le-mcp` |
| **Cursor, Windsurf, anything else** | point it at `npx versions-le-mcp` |
```
compare_versions(files: [{ path, content }], maxResults?)
```
It returns the report the editor renders, as data — findings capped at 500 by default with `meta.truncated`. It reads no files and makes no network requests. Published as [`versions-le-mcp`](https://www.npmjs.com/package/versions-le-mcp) on npm and as `io.github.nolindnaidoo/versions-le` in the [MCP registry](https://registry.modelcontextprotocol.io). It answers exactly as the Rust CLI's server does: one corpus runs against both, and a differential test feeds both thousands of generated manifest sets — broken JSON and TOML included — and compares every answer.
<details>
<summary><b>Configuring it by hand</b> — any host with an MCP config file</summary>
```json
{
"mcpServers": {
"versions-le": {
"command": "npx",
"args": ["-y", "versions-le-mcp"]
}
}
}
```
Or install it once with `npm install -g versions-le-mcp` and point at `versions-le-mcp`. It needs no environment variables, no API key and no configuration of its own. To check it:
```bash
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | npx -y versions-le-mcp
```
</details>
## The CLI
The same comparison runs over a tree from a terminal or a CI step: a Rust CLI in [`crate/`](crate/README.md), sharing one corpus with the extension — [`crate/fixtures/`](crate/fixtures/) — so the two can never read a constraint differently.
<p align="center">
What people ask about versions-le
What is nolindnaidoo/versions-le?
+
nolindnaidoo/versions-le is mcp servers for the Claude AI ecosystem. Find where one dependency is constrained differently across a repository's manifests It has 1 GitHub stars and its last recorded update is dated 2026-10-06.
How do I install versions-le?
+
You can install versions-le by cloning the repository (https://github.com/nolindnaidoo/versions-le) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is nolindnaidoo/versions-le safe to use?
+
Our security agent has analyzed nolindnaidoo/versions-le and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains nolindnaidoo/versions-le?
+
nolindnaidoo/versions-le is maintained by nolindnaidoo. The last recorded GitHub activity is dated 2026-10-06, with 3 open issues.
Are there alternatives to versions-le?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy versions-le to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/nolindnaidoo-versions-le)<a href="https://claudewave.com/repo/nolindnaidoo-versions-le"><img src="https://claudewave.com/api/badge/nolindnaidoo-versions-le" alt="Featured on ClaudeWave: nolindnaidoo/versions-le" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.