extract_clausesLABSCO SUMMARY
Contract review that stays on your machine.
The rule sets are YAML files a lawyer can read and edit without writing code, and every stage — extraction, risk flagging, version diff, checklist — runs locally against the file you point at.
What it is
A Node MCP server for legal document workflows. It extracts and labels clauses from PDF, DOCX and plain text, checks them against YAML rule templates, compares two versions at clause level, and validates a document against compliance checklists. Parsing and analysis run on your machine, with results stored in a local SQLite database.
What you get
- Clause boundaries identified and labelled — termination, liability, IP, governing law and more
- Risky provisions flagged against YAML rule templates, returned ranked by severity
- Two versions compared clause by clause, rather than by raw text lines
- A document validated against a checklist such as NDA, employment agreement or SaaS terms, pass or fail per requirement
- Plain-language summaries of the terms
- A batch of documents analysed in one run
- The available templates listed, and analysis reports and audit logs exported
Requirements
Node.js v20.19 or newer and npm; it runs through npx against mcp-legal-doc-analyzer@latest. Custom compliance templates load from a directory you point it at on the launch command. Extraction is pattern matching and heuristics, and low-confidence results are flagged as such — the output is an analysis aid for a qualified professional to review, not legal advice. Database exports carry the document contents, so treat them as confidential.
Setup effort
One command — npx -y mcp-legal-doc-analyzer@latest
USE CASES
Reading a contract you were just sent
Clauses come out labelled, with a plain-language summary of what the terms actually say.
Spotting the provisions worth pushing back on
Extracted clauses are checked against your rule templates and ranked by severity.
Finding what changed in the counterparty's redline
The diff is clause by clause, so a reordered paragraph does not read as a rewrite.
Checking an agreement against your standard checklist
NDA, employment and SaaS checklists ship with it; your own load from a templates directory.
Working through a folder of contracts
Analyse the batch in one run and export the report rather than opening them one at a time.
Showing what was reviewed and when
The audit log exports as its own artifact, separate from the analysis itself.
9 tools
Listed in project docs. Your client may show a different list.
flag_riskscheck_compliancesummarize_termscompare_versionslist_templatesexport_analysis_reportexport_audit_logbulk_analyzeBEFORE YOU INSTALL
What to know first
Tools you get
9 tools named in the project's documentation.
Requires
- npx on PATH
- Node.js v20.19 or later
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
npx -y mcp-legal-doc-analyzer@latestMCP Clients
Any MCP client
{
"mcpServers": {
"legal-analyzer": {
"command": "npx",
"args": [
"-y",
"mcp-legal-doc-analyzer@latest"
]
}
}
}