This server brings legal document analysis directly into Claude through nine tools that extract clauses, flag risks, and run compliance checks against nine bundled templates (NDAs, employment agreements, SaaS terms, and more). Everything runs locally on your machine with no external calls. Point it at a PDF or DOCX contract and you'll get structured clause boundaries with confidence scores, severity-ranked risk findings against YAML rule sets, and pass/fail compliance reports. The compare_versions tool diffs at the clause level, not raw lines. You can load custom templates from a directory, tune the confidence threshold, export HTML reports, or batch-process a folder of contracts. Useful when you need repeatable contract review workflows without uploading sensitive documents to third-party services.
claude mcp add --transport stdio dbsectrainer-mcp-legal-doc-analyzer uvx mcp-legal-doc-analyzer