# contract-analysis [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/taytrom/bitsbound-mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1093  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/contract-analysis

## Description
AI contract analysis with partner-level redlines, OOXML Track Changes, and risk analysis.

## Tools
Capabilities this server exposes over MCP:

- **redline_swarm** — **REDLINE MODE** - Attack counterparty's contract with parallel AI agents.

Upload a DOCX contract and BitsBound's Instant Swarm™ deploys parallel SAC (Supreme AI Co-Counsel) agents to analyze and redline every section simultaneously. Returns partner-level redlined DOCX with real OOXML Track Changes (w:ins/w:del), negotiation email, and risk analysis.

**REQUIRED INPUTS (ask the user):**
1. File path to the counterparty's DOCX contract
2. Contract type: saas, ma, vc, employment, nda, equipment, commercial-lease, professional-services, or miscellaneous
3. Who you represent: customer/vendor (saas), buyer/seller (ma), investor/founder (vc), etc.
4. Aggressiveness level: 1-10 (1=conciliatory, 5=balanced, 10=aggressive)

**OPTIONAL:** dealValue, additionalContext, emailRecipient info

**DELIVERABLES:**
• Redlined DOCX with real Track Changes (not markup - actual w:ins/w:del)
• Negotiation email explaining each requested change
• Favorability score and risk analysis

Analysis takes ~25-35 minutes. Response includes 'checkBackTime' for when to check status.
- **power_draft** — **DRAFT MODE** - Generate a complete contract from scratch.

NO FILE UPLOAD NEEDED. Provide deal context and BitsBound generates a partner-level contract using a multi-pass architecture:
1. Opus 4.5 generates initial draft based on your requirements
2. 16+ parallel analyzers critique the draft
3. Sonnet 4.5 synthesizes analyzer feedback
4. Opus 4.5 generates refined second draft
5. Final QB Enhancer pass for consistency

**REQUIRED INPUTS (ask the user):**
1. Contract type: saas, ma, vc, employment, nda, equipment-lease, commercial-lease, professional-services
2. Who you represent: customer/vendor (saas), buyer/seller (ma), investor/founder (vc), etc.
3. Terms Favorability: 1-10 (1=minimal protections/fast close, 5=balanced, 10=maximum protections/bulletproof)

**RECOMMENDED:** Additional context describing the deal (value, term, key requirements, counterparty info)

**DELIVERABLES:**
• Clean DOCX ready for negotiation (no Track Changes needed - it's your paper)
• Cover email introducing the draft (optional)
• Risk analysis of your own positions

Draft generation takes ~30-40 minutes. Response includes 'checkBackTime' for when to check status.
- **get_analysis_status** — Check analysis progress. When complete, returns:
- redlinedDocxDownloadUrl: Presigned URL to download redlined DOCX (valid 1 hour)
- negotiationEmailHtml/PlainText: Ready-to-send negotiation email
- favorabilityScore, topRisks, negotiationPriorities

ALWAYS display download URLs as clickable links when analysis completes.
- **download_file** — Download a file from BitsBound (redlined DOCX, analysis JSON). Returns base64 content or saves to local path.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "contract-analysis": {
    "command": "npx",
    "args": ["-y","@bitsbound/mcp-server"],
    "env": {
      "BITSBOUND_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `BITSBOUND_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What contract-analysis MCP server does

The contract-analysis MCP server exposes BitsBound’s contract analysis workflows through MCP. It is intended for reviewing uploaded contracts and preparing negotiation materials. The available operations cover document processing, progress tracking, clause extraction, and email drafting.

Contract processing can produce a customer-favorable or otherwise requested redline as a DOCX file. The revisions use Word’s OOXML Track Changes elements, including insertion and deletion revisions, rather than plain-text markup.

## How it works

The contract-analysis MCP server receives a contract file through the connected MCP client. During an analysis request, the workflow can use details such as deal value, industry, and an aggressiveness setting from 1 to 10. The client may also request recipient details for a negotiation email.

Analysis can run asynchronously. Use `get_analysis_status` to check progress and retrieve available deliverables after starting processing. The resulting files and analysis outputs are accessed through that status workflow rather than assumed to be immediately available.

The server is available in two documented connection patterns. Claude Desktop runs it locally through the npm package and `npx`. Claude.ai can connect to the hosted MCP endpoint using HTTP and OAuth 2.0 configuration.

## Setup and configuration

For Claude Desktop, add an MCP server entry that runs `npx -y @bitsbound/mcp-server`. Supply the required `BITSBOUND_API_KEY` environment variable in that entry. The README directs users to the BitsBound account site to create an API key.

For Claude.ai, configure a custom connector named BitsBound with the hosted endpoint `https://bitsbound-mcp-server.onrender.com/mcp`. The documented client ID is `bitsbound-mcp`; the client secret is the BitsBound API key. The hosted service publishes OAuth discovery, authorization, and token endpoints for this connection method.

The package is published as `@bitsbound/mcp-server`, and the registry identifier is `io.github.taytrom/bitsbound-contract-automation`.

## Tools and capabilities

- `process_contract` uploads and analyzes a contract, producing a redlined DOCX with Track Changes.
- `get_analysis_status` checks analysis progress and retrieves deliverables.
- `extract_clauses` extracts requested clause types from a contract.
- `generate_negotiation_email` drafts a professional negotiation email.

These tools support a workflow that combines document revision, targeted clause review, risk assessment, and communication drafting.

## Limitations and notes

The documented setup requires a BitsBound API key. The README specifically identifies Claude Desktop and Claude.ai connection methods; it does not document configuration for other MCP clients. Contract files, deal context, aggressiveness preferences, and recipient information may be required depending on the requested operation.

The project is licensed under MIT. Support and service information are provided by BitsBound through its listed email address and website.

_Full upstream README: https://allmcps.com/mcp/contract-analysis/readme_

