expertise

Structured extraction of clauses, obligations and deadlines from legal documents (SaaS contracts, NDAs, employment agree

Structured extraction of clauses, obligations and deadlines from legal documents (SaaS contracts, NDAs, employment agreements, loan agreements, leases, M&A deals, IP licences). Complements contract_risk_scanner with granular per-clause output.

ICP: legal ops, M&A lawyers, paralegals, contract managers, compliance officers.

Capabilities: • Auto-detects document type (7 types) and language (EN/FR/DE/ES/PT) • Extracts parties with roles (buyer, seller, licensor, employee, etc.) • Splits document into sections and classifies 16+ clause types • Per-clause: 20 obligation patterns (EN/FR/DE), 10 deadline patterns, 18 risk detectors • Document-level: red flags (liability cap, auto-renewal, IP overreach, etc.), missing clauses per doc type • Global deadline calendar with P0/P1/P2 severity • Cross-reference map between sections • Cache: 7 days (legal docs stable once provided)

100% pure compute — no external fetch required. Accepts 10k–100k char documents.

post/api/v1/call/legal_clause_extractor

Request

  • Base URL: https://mcp.gapup.io
  • URL: https://mcp.gapup.io/api/v1/call/legal_clause_extractor
  • Auth: HTTP bearer

Request body

document_textstring required

Full text of the legal document (10k–100k chars typical). Plain text or lightly HTML-formatted. EN/FR/DE/ES/PT supported.

document_type'saas_contract' | 'employment' | 'nda' | 'loan_agreement' | 'lease' | 'merger_agreement' | 'licence_ip' | 'other' | 'auto'

Optional. Document type hint. Defaults to auto-detection. Use "auto" or omit to let the tool detect from content.

target_clausesstring[]

Optional. Filter extraction to specific clause types. E.g. ["term", "termination", "liability", "ip", "confidentiality", "governing_law", "indemnification"]. If omitted or empty, all clauses are extracted.

langstring

Optional. Language hint (e.g. 'en', 'fr', 'de'). Defaults to auto-detection.

asyncboolean

If true, returns a job_id immediately (<200ms) instead of waiting for the result. Poll the result with job_result(job_id). Use for slow tools to avoid client timeouts.

Response

Tool result

toolstring
request_idstring
source'rest-api'
msnumber

Changes

No recorded changes to this operation across all 1 revision of this API.