
Mcp Legal Doc Analyzer
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.
- GitHub stars
- 1
- tools
- 9
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- Nov 4, 2026
Tools
9 toolsPublic tool metadata for what this MCP can expose to an agent.
extract_clausesidentify and label clause boundaries with confidence scores; supports .pdf, .docx, .txt
identify and label clause boundaries with confidence scores; supports .pdf, .docx, .txt
No parameter schema in public metadata yet.
flag_risksseverity-ranked risk findings against a compliance template
severity-ranked risk findings against a compliance template
No parameter schema in public metadata yet.
check_compliancestructured pass/fail checklist validation per rule
structured pass/fail checklist validation per rule
No parameter schema in public metadata yet.
summarize_termsplain-English bullet-point summary of key provisions
plain-English bullet-point summary of key provisions
No parameter schema in public metadata yet.
compare_versionsclause-level diff between two document versions
clause-level diff between two document versions
No parameter schema in public metadata yet.
list_templatesenumerate all available compliance templates
enumerate all available compliance templates
No parameter schema in public metadata yet.
export_analysis_reportself-contained HTML report with clause table and risk findings; suitable for printing
self-contained HTML report with clause table and risk findings; suitable for printing
No parameter schema in public metadata yet.
export_audit_logexport the analysis audit log in JSON or CSV format with optional date-range filtering
export the analysis audit log in JSON or CSV format with optional date-range filtering
No parameter schema in public metadata yet.
bulk_analyzeprocess a portfolio of contract files in batch with progress notifications
process a portfolio of contract files in batch with progress notifications
No parameter schema in public metadata yet.
Sponsors
Configuration
YOUR_API_KEY*secretYour API key for the service
Readme
MCP Legal Document Analyzer
npm mcp-legal-doc-analyzer package
Domain-specific MCP tooling for legal document workflows. Extract key clauses from contracts, flag risky provisions against configurable rule templates, compare document versions at the clause level, and check compliance against standard checklists — all locally, without documents leaving your machine.
Tool reference | Configuration | Contributing | Troubleshooting
Key features
Details
- Repository
- github.com/dbsectrainer/mcp-legal-doc-analyzer
- Category
- Documents & Knowledge
- Package
mcp-legal-doc-analyzer- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active