DraftCompare Legal Diff

Deterministic legal contract redlines, risk flags, and figure/date audits. Free & stateless.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
100%
命名质量
95%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~821token 数(工具定义)
~1.3 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.64%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "legal-diff": {
      "url": "https://draftcompare.com/mcp"
    }
  }
}

远程端点

https://draftcompare.com/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢compare_drafts(original_text, revised_text, ignore_case, max_changes)

Produces an exact, deterministic word-level redline between an original text and a revised text (up to 8,000 chars each). Groups contiguous deletions and insertions into structured updates with surrounding context, risk tags, and a unified Markdown redline.

输入模式

{
  "type": "object",
  "properties": {
    "original_text": {
      "type": "string",
      "description": "Original contract or clause text (max 8,000 characters)."
    },
    "revised_text": {
      "type": "string",
      "description": "Revised contract or clause text (max 8,000 characters)."
    },
    "ignore_case": {
      "type": "boolean",
      "default": false,
      "description": "Ignore letter casing and diacritic differences when diffing (default: false)."
    },
    "max_changes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 50,
      "description": "Maximum number of structured change items to return (default: 50)."
    }
  },
  "required": [
    "original_text",
    "revised_text"
  ],
  "additionalProperties": false
}
🟢audit_legal_risks(original_text, revised_text, min_severity)

Runs DraftCompare deterministic legal risk rules over all changes between original and revised texts (up to 8,000 chars each). Flags HIGH and MEDIUM risk modifications affecting money, percentages, liability, indemnification, termination, liquidated damages, jurisdiction, confidentiality, exclusivity, or obligation/negation flips (shall/must/may/not/without prior) in English and Spanish.

输入模式

{
  "type": "object",
  "properties": {
    "original_text": {
      "type": "string",
      "description": "Original contract or clause text (max 8,000 characters)."
    },
    "revised_text": {
      "type": "string",
      "description": "Revised contract or clause text (max 8,000 characters)."
    },
    "min_severity": {
      "type": "string",
      "enum": [
        "high",
        "med",
        "low"
      ],
      "default": "med",
      "description": "Minimum risk severity to include: \"high\", \"med\" (default), or \"low\"."
    }
  },
  "required": [
    "original_text",
    "revised_text"
  ],
  "additionalProperties": false
}
🟢audit_critical_figures(original_text, revised_text)

Deterministically extracts and compares critical contractual figures between original and revised texts (up to 8,000 chars each): monetary amounts ($, €, £, ¥, USD/EUR/GBP), percentages (%), dates (canonicalized across ISO, DD/MM/YYYY, English, and Spanish formats to prevent false positives), and deadlines/terms (days, business days, months, years).

输入模式

{
  "type": "object",
  "properties": {
    "original_text": {
      "type": "string",
      "description": "Original contract or clause text (max 8,000 characters)."
    },
    "revised_text": {
      "type": "string",
      "description": "Revised contract or clause text (max 8,000 characters)."
    }
  },
  "required": [
    "original_text",
    "revised_text"
  ],
  "additionalProperties": false
}
🟢get_comparison_stats(original_text, revised_text)

Computes fast executive triage statistics comparing original and revised texts (up to 8,000 chars each): word and character counts, net delta, similarity percentage, added/removed/updated counts, critical figure change count, and HIGH/MEDIUM/LOW risk counts.

输入模式

{
  "type": "object",
  "properties": {
    "original_text": {
      "type": "string",
      "description": "Original contract or clause text (max 8,000 characters)."
    },
    "revised_text": {
      "type": "string",
      "description": "Revised contract or clause text (max 8,000 characters)."
    }
  },
  "required": [
    "original_text",
    "revised_text"
  ],
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具