# io.github.DrBaher/compare-cli-mcp (npm · compare-cli-mcp)

MCP server for compare-cli: contract version diff/redline and a drift gate as agent tools.

- Trust score: 72/100 (medium)
- Change this week: +29
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `compare-cli-mcp`: 72/100 (this document), [markdown](https://verifymcp.io/servers/drbaher-compare-cli-mcp/compare-cli-mcp.md), [page](https://verifymcp.io/servers/drbaher-compare-cli-mcp/compare-cli-mcp)

## Channel facts

- Registry: `npm`
- Package: `compare-cli-mcp`
- Version: `0.1.4`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to DrBaher/compare-cli).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 56 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 46/100
  - AI-judged instruction clarity (fair).
  - Context-footprint check failed: tool/resource definitions use about 435 tokens (~145/item across 3 items; 3 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 83/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 40% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add drbaher-compare-cli-mcp -- npx -y compare-cli-mcp
```

### Codex

```bash
codex mcp add drbaher-compare-cli-mcp -- npx -y compare-cli-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "drbaher-compare-cli-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "compare-cli-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add drbaher-compare-cli-mcp --command npx --arg -y --arg compare-cli-mcp
```

### Hermes

```yaml
mcp_servers:
  drbaher-compare-cli-mcp:
    command: "npx"
    args: ["-y", "compare-cli-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "drbaher-compare-cli-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "compare-cli-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 72, +1)

No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 71, +47)

- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Provenance: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [security] The attested source repository moved: DrBaher/compare-cli
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Security disclosure: fail → unverified
- [functional regression] Capabilities: pass → unverified
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Schema quality: unverified → fair
- [functional improvement] License: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 24, +5)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass

### 2026-07-31 (score 19, −24)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 43, +19)

- [functional improvement] Tool coverage: unverified → 100

### 2026-07-28 (score 24, −19)

- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 43)

First indexed and scored.

## MCP tools (3)

### `compare_files` (~171 tokens)

Compare 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.

Input parameters:

- `base` (object, required)
- `candidate` (object, required)
- `ignore_clauses` (array): Same semantics as only_clauses but exclusion. Composes with only_clauses (ignore runs after).
- `include_human_report` (boolean): Also return the human-readable report as a second text content block.
- `only_clauses` (array): Case-insensitive substring patterns matched against normalized clause titles; keep only matches.
- `strict` (boolean): Upgrade typographic drift to substantive.
- `strict_cosmetic` (boolean): Upgrade cosmetic drift to substantive.

Output parameters:

- `base` (object)
- `candidate` (object)
- `differences` (array)
- `exit_class` (string)
- `exit_code` (integer)
- `ok` (boolean)
- `summary` (object)
- `warnings` (array)

### `compare_with_negotiation` (~208 tokens)

Compare 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, not drift).

Input parameters:

- `candidate` (object, required)
- `ignore_clauses` (array)
- `include_human_report` (boolean)
- `negotiation` (object, required)
- `only_clauses` (array)
- `require_signoffs` (boolean): Agents invoking this tool in unattended pipelines (no human reviewer downstream) should pass require_signoffs: true. Treats a negotiation lacking per-clause signoff metadata as a precondition failure…
- `strict` (boolean)
- `strict_cosmetic` (boolean)

Output parameters:

- `base` (object)
- `candidate` (object)
- `differences` (array)
- `exit_class` (string)
- `exit_code` (integer)
- `ok` (boolean)
- `summary` (object)
- `warnings` (array)

### `compare_demo` (~56 tokens)

Run 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.

Output parameters:

- `base` (object)
- `candidate` (object)
- `differences` (array)
- `exit_class` (string)
- `exit_code` (integer)
- `ok` (boolean)
- `summary` (object)
- `warnings` (array)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/drbaher-compare-cli-mcp/compare-cli-mcp#diagnostics

## Score history

- 2026-08-03: 72
- 2026-08-02: 71
- 2026-08-01: 24
- 2026-07-31: 19
- 2026-07-30: 43
- 2026-07-28: 24
- 2026-07-27: 43

## Links

- npm package: https://www.npmjs.com/package/compare-cli-mcp
- Socket report: https://socket.dev/npm/package/compare-cli-mcp
- Repository: https://github.com/DrBaher/compare-cli
- Changelog RSS feed: https://verifymcp.io/servers/drbaher-compare-cli-mcp/compare-cli-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/drbaher-compare-cli-mcp/compare-cli-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/drbaher-compare-cli-mcp/compare-cli-mcp
