# legal-docs

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add ebenova/legal-docs

# Browse available tools
npx -y @smithery/cli@latest tool list ebenova/legal-docs

# Get full schema for a tool
npx -y @smithery/cli@latest tool get ebenova/legal-docs generate_legal_document

# Call a tool
npx -y @smithery/cli@latest tool call ebenova/legal-docs generate_legal_document '{}'
```

## Direct MCP Connection

Endpoint: `https://legal-docs--ebenova.run.tools`

## Tools (8)

- `generate_legal_document` — Generate a professionally drafted legal document. 27 document types, 18 jurisdictions including Nigeria, UK, US, Canada…
- `extract_from_conversation` — Extract structured legal document fields from a raw conversation (WhatsApp, email, chat). Optionally auto-generate the …
- `list_document_types` — List all 27 supported legal document types grouped by category.
- `check_usage` — Check how many documents have been generated this month and what quota remains.
- `get_document_templates` — Get field schemas for document types — required fields, types, labels, placeholders.
- `batch_generate_documents` — Generate up to 10 legal documents in a single call.
- `analyze_scope_creep` — Analyze a client message against an original contract to detect scope violations and draft professional responses.
- `generate_change_order` — Generate a formal change order document when additional work is requested beyond the original contract scope.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get ebenova/legal-docs <tool-name>
```
