drbaher avatar

Contract Ops Mcp

drbaher/contract-ops-mcp

Pipes all nine contract-ops CLIs into Claude or Cursor as MCP tools: extract structured data from contracts, lint for placeholders and broken references, compare versions with clause-aware diffs, fill templates, review NDAs against a playbook, and query template and signed-contract vaults. Signing operations stay human-gated: only verification tools are exposed, never request-create or sign. The server shells out to locally installed CLIs (curl the install script or run the container), enforces filesystem sandboxing via CONTRACT_OPS_MCP_BASE_DIR, and provides catalog and run escape hatches for the long tail of operations. Reach for this when you want an agent to wrangle contract documents without touching the signature path.

tools
17
transport
STDIO
last updated
Jul 15, 2026

Tools

17 tools

Public tool metadata for what this MCP can expose to an agent.

extract_contractAny contract (.md/.txt/.html/.docx/.pdf) → structured JSON (parties, dates, clauses, …)

Any contract (.md/.txt/.html/.docx/.pdf) → structured JSON (parties, dates, clauses, …)

No parameter schema in public metadata yet.

lint_contractInternal-consistency findings (placeholders, broken refs, defined-term/numbering/date defects)

Internal-consistency findings (placeholders, broken refs, defined-term/numbering/date defects)

No parameter schema in public metadata yet.

compare_versionsClause-aware drift between two versions (exit 0 clean · 2 substantive · 3 cosmetic · 4 moved)

Clause-aware drift between two versions (exit 0 clean · 2 substantive · 3 cosmetic · 4 moved)

No parameter schema in public metadata yet.

fill_templateFill a template's placeholders with typed params (deterministic)

Fill a template's placeholders with typed params (deterministic)

No parameter schema in public metadata yet.

convert_to_pdfDOCX → PDF (needs a PDF backend, e.g. LibreOffice)

DOCX → PDF (needs a PDF backend, e.g. LibreOffice)

No parameter schema in public metadata yet.

review_ndaScore an NDA against a house playbook, with evidence

Score an NDA against a house playbook, with evidence

No parameter schema in public metadata yet.

template_vault_findSearch versioned templates (read-only)

Search versioned templates (read-only)

No parameter schema in public metadata yet.

template_vault_getResolve versioned templates (read-only)

Resolve versioned templates (read-only)

No parameter schema in public metadata yet.

contract_vault_queryQuery the signed-contract register (read-only)

Query the signed-contract register (read-only)

No parameter schema in public metadata yet.

contract_vault_dueProject renewal/notice deadlines (read-only)

Project renewal/notice deadlines (read-only)

No parameter schema in public metadata yet.

contract_vault_riskRenewal-exposure (read-only)

Renewal-exposure (read-only)

No parameter schema in public metadata yet.

verify_signatureVerify a signed PDF (read-only)

Verify a signed PDF (read-only)

No parameter schema in public metadata yet.

verify_receiptVerify a receipt bundle (read-only)

Verify a receipt bundle (read-only)

No parameter schema in public metadata yet.

audit_showWalk the audit log (read-only)

Walk the audit log (read-only)

No parameter schema in public metadata yet.

catalogReturn any CLI's full `--catalog json` — discover the long tail

Return any CLI's full `--catalog json` — discover the long tail

No parameter schema in public metadata yet.

runEscape hatch: run any suite CLI with raw args (no shell)

Escape hatch: run any suite CLI with raw args (no shell)

No parameter schema in public metadata yet.

suite_statusWhich CLIs are installed (+ versions) and how to install the rest

Which CLIs are installed (+ versions) and how to install the rest

No parameter schema in public metadata yet.

Sponsors

Readme

contract-ops-mcp

One MCP server for the whole contract-ops CLI suite — wire it up once and an agent (Claude, Cursor, Codex, …) gets all nine local-first CLIs as tools: extract, draft, lint, compare, convert, review, and the template + signed-contract vaults. Signing stays human-gated.

Run this

// e.g. Claude Desktop / Cursor MCP config
{
  "mcpServers": {
    "contract-ops": { "command": "npx", "args": ["-y", "contract-ops-mcp"] }
  }
}

The CLIs themselves must be installed (the server shells out to them). Fastest way to get all nine:

curl -fsSL https://cli.drbaher.com/install.sh | sh     # local
# …or run the server + CLIs in one container: ghcr.io/drbaher/contract-ops

Call suite_status any time to see which CLIs are present and how to install any that aren't.


View the full README on GitHub

Details

Repository
github.com/drbaher/contract-ops-mcp
Category
AI & LLM Tools
Package
contract-ops-mcp
Transport
STDIO
Registry
MCP registry, active

More from drbaher

Related AI & LLM Tools MCP servers

View all
1drbaher avatarSign Clidrbaher/sign-cliAgent-first e-signature MCP server with offline PAdES signing and hash-chained audit.0stars
2stevysmith avatarStacktreestevysmith/stacktree-mcpPublish HTML to private, unguessable, replace-in-place URLs from any MCP-compatible AI agent.0stars
3ertad-family avatarLiquidertad-family/liquidConnect your AI agent to anything — APIs, databases, and agents; read and write, auto-discovered.0stars
4cesaryague avatarPaKi Curatores.cesaryague/paki-curatorCatalogue agent for César Yagüe's silent moving-image works, intuitively crafted, never generated.0stars
5fiber-ai avatarFiber AIfiber-ai/mcpSearch companies, enrich contacts, and reveal emails and phones from your AI agent.0stars
6fonino avatarFoninofonino/foninoLet your AI agent use your real iPhone or Android phone, with your OK before anything is sent.0stars