# ClauseAI [Health: Active]

**Category:** ⚖️ Legal  
**Repository:** https://github.com/wasauce/clauseai  
**GitHub Stars:** 1  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/clauseai

## Description
Generate attorney-drafted NDAs, MSAs, DPAs, and more as PDF, ODT, or Markdown. No account required.

## Tools
Capabilities this server exposes over MCP:

- **list_templates** — Use this when the user wants a startup legal document and you need to choose a template such as an NDA, MSA, DPA, privacy policy, terms of use, cookie notice, offer letter, advisor agreement, or business associate agreement.
- **get_template_fields** — Use this after choosing a template slug, to read the fill-in fields before generating a document.
- **generate_document** — Use this after reading the field schema, to fill published fields and return markdown plus a download link. Do not invent clause text. Call it once per document: the result always includes the markdown text, download_url is the file in the requested format, and editable_download_url is a Word copy the user can edit. Answers are short values for the published fields; unknown keys, overlong values, and choices outside a field's options are rejected with instructions for fixing them.
- **send_feedback** — Use this when a template lacks a field or clause the user needs, no template fits the request, a tool result was wrong, or the user wants to tell the ClauseAI team something. The message goes to the ClauseAI operator. Do not include document text or personal details, except an email or phone number the user offers for a reply.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "clauseai": {
    "url": "https://clauseai.exe.xyz/mcp"
  }
}
```

## Documentation

## What ClauseAI does

ClauseAI exposes a shared legal-document template engine through MCP. It is designed for startup documents such as mutual or one-way NDAs, master services agreements, data processing agreements, privacy policies, terms of use, cookie notices, offer letters, advisor agreements, and business associate agreements.

The templates are attorney-drafted and sourced from General Legal. Generated results can include Markdown plus a downloadable file in the requested format. The service also returns an editable Word copy, making it possible to revise the generated document outside the agent workflow. No account is required for the hosted MCP endpoint.

## How it works

Document generation follows a schema-first sequence:

1. Call `list_templates` to find a suitable template and obtain its slug.
2. Call `get_template_fields` with that slug to inspect the fields and allowed choices.
3. Supply values to `generate_document` using the published field names.

The generator accepts short values for the fields exposed by the selected template. Unknown fields, values that exceed field limits, and choices outside the listed options are rejected with instructions for correction. Each document should be generated with one call after the field schema has been read. The result includes the document Markdown, a link for the requested output format, and an editable Word download link.

## Setup and configuration

The hosted Streamable HTTP MCP endpoint is:

`https://clauseai.exe.xyz/mcp`

A local installation requires Python 3.12 or newer and `uv`. Pandoc is needed for Word and ODT export. PDF export requires the WeasyPrint system libraries; on macOS, the documented dependencies include Pango, gdk-pixbuf, and libffi. After copying the environment template to `.env` and installing development dependencies with `uv sync --dev`, start the application with `uv run python run.py`. The local web application is then available on port 8000, with MCP served at `/mcp`.

## Tools and capabilities

- `list_templates` selects from the available legal document templates.
- `get_template_fields` exposes the fill-in schema for a chosen template.
- `generate_document` produces Markdown and downloadable document files.
- `send_feedback` forwards template or result feedback to the ClauseAI operator.

Feedback can report a missing field or clause, an unsuitable template, or an incorrect tool result. An email address or phone number may be included when the user wants a response. Document text and personal details should not be sent through this tool.

## Limitations and notes

The generator fills published template fields; it is not intended for inventing clause text. The templates are provided for general reference and are not legal advice. Local PDF, Word, and ODT export depends on the corresponding system packages. Feedback is logged and can be posted to Slack when `SLACK_WEBHOOK_URL` is configured.

_Full upstream README: https://allmcps.com/mcp/clauseai/readme_

