Compare CLI MCP server
MCP server for compare-cli: contract version diff/redline and a drift gate as agent tools.
1 stars45 downloads/wk
Reviews
Write oneNobody has reviewed Compare CLI yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Compare CLI tools (3, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compare_demowrite actionRun a zero-argument synthetic comparison against bundled fixtures. Deterministically returns exit_class='substantive' (the fixtures contain a Term-clause change). Use to confirm the server is wired up end-to-end without constructing a fixture.
compare_filesCompare two contract documents and return clause-aware drift classification. Returns the same structured report as `compare --json`. Substantive drift returns a successful response with exit_class='substantive'; it is NOT an MCP error.
compare_with_negotiationCompare a candidate document against the agreed text in an nda-review-cli negotiation.json. Three-tier resolution (status: converged|signed_off|finalized → per-round agreed: true → per-round clause_status all 'agreed'). Returns the structured report with `base.negotiation_resolution` indicating which signal produced the agreed text. NO_AGREED_ROUND surfaces as an MCP error (a precondition failure,
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 55 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Compare CLI compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 4,460 AI and agents servers
- Tools
- 3
- the typical AI and agents server has 6
- Tools that change things
- 33%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
- Downloads a week
- 45
- more than 37% of 1,538 AI and agents servers with a package
What its tools let an agent do: 2 read · 1 change
Install Compare CLI in Claude Code, Cursor or VS Code
Runs npx -y compare-cli-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add compare-cli-mcp -- npx -y compare-cli-mcp
What the publisher says
From the Compare CLI repository's README, as published. We do not edit it. Read it on GitHub
compare-cli
Clause-aware drift detection between two contract versions. Pre-signature
gate for legal teams and agent pipelines. Single-file Node CLI, two runtime
deps, deterministic by design, no LLM tier in v1.
Part of the contract-ops CLI suite: template-vault-cli (storage) → draft-cli (fill placeholders) → nda-review-cli (review, redline, negotiate) → docx2pdf-cli (DOCX → PDF) → sign-cli (signing + audit). compare-cli is the pre-signature drift gate. Showcase site.
compare negotiated.docx ready-to-sign.pdf
# exit 0 = safe to sign
# exit 2 = substantive drift, DO NOT sign without review
# exit 3 = cosmetic / typographic drift only (informational)
# exit 4 = clauses moved, content identicalPart of the contract-ops CLI suite.
draft-cli (fill placeholders) →
nda-review-cli (review, redline, negotiate) →
docx2pdf-cli (DOCX → PDF) →
sign-cli (signing + audit).
Storage: template-vault-cli.
Drift detection: compare-cli (this CLI).
Showcase site.
Agent pipelines: see mcp/README.md for compare-cli-mcp, the MCP server wrapping this CLI. Three tools (comparefiles, comparewithnegotiation, comparedemo), stdio transport, JSON-first responses. Design contract: docs/mcp.md.
Why
You negotiated a contract over several rounds with counterparty's counsel. A few days later their paralegal sends you a ready-to-sign.pdf. Is the PDF the same text you agreed to, or did something quietly shift between "final version" and "version we put in the signing envelope"?
compare-cli answers that question with an exit code your CI can gate on:
added, or a clause was removed. The exact change is in the report. Do not sign without review.
- Exit 0: every clause matches. Safe to sign.
- Exit 2: substantive drift — a clause's text changed, a clause was
typographic-only (case, $1,000 vs $1000, Oxford comma) drift. Informational; the agreement didn't change.
- Exit 3: cosmetic-only (whitespace, curly quotes, em-dashes) or
agreement didn't change.
- Exit 4: clauses moved but content is identical. Order shifted; the
The CLI works on .docx, .pdf, .md, and plain text — including cross-format comparisons (negotiated .docx vs ready-to-sign .pdf).
Install
npm install -g compare-cliOr run without installing:
npx -p compare-cli@latest -- compare --demo(The package is compare-cli; the installed command is compare. The -p … -- compare form tells npx which package to fetch and which bin to run, since the two names differ.)
Requires Node ≥ 20. (Pinned by pdfjs-dist@^5.7.284, which we share with sign-cli.)
Run this
compare --demoShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Compare CLI: common questions
- Is Compare CLI MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Compare CLI safety report
- How do I install Compare CLI?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Compare CLI need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Compare CLI maintained?
- The last commit was 93 days ago (2026-08-03). The latest release is v0.1.4.
- What can I use instead of Compare CLI?
- Servers from other publishers that do the same job: DCC-MCP Core MCP server, mcptoon MCP server and yutu MCP server.
- How does Compare CLI compare with other AI and agents MCP servers?
- safety score 88/100 (higher than 80% of 4,460 AI and agents servers); tools 3 (the typical AI and agents server has 6); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Compare CLI
Same job from other publishers: the closest match first, then the best rated.
- DCC-MCP CoreAgent control plane for DCC and engine hosts: one MCP endpoint, one tool contract.not reviewedEstablishedA
- mcptoonMCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).not reviewedEstablishedA
- yutuCLI, MCP server, and AI agent to automate YouTube workflowsnot reviewedEstablishedA
- Decionis Commerce Gate MCPCommerce preflights, D365 authorization; opt-in agent writes require authorized backend connectors.not reviewedEstablishedA
- REAReverse engineer anything from your terminal or agent with one CLI and MCP server.not reviewedEstablishedA