About ClauseAI
ClauseAI generates startup legal documents from attorney-drafted templates, for founders and agents preparing common agreements and policies. The same template engine serves its gallery, JSON API, MCP server, and agent skill, with exports including PDF, Word, ODT, and Markdown.
Key features
- 01Generate NDAs, MSAs, DPAs, and other documents
- 02Use attorney-drafted templates from General Legal
- 03Export as PDF, Word, ODT, or Markdown
- 04Access templates through a gallery and wizard
- 05Generate documents through an API or agent skill
Use cases
- 01Draft a mutual NDA using company details
- 02Prepare startup agreements from templates
- 03Generate privacy policies or offer letters
- 04Download a generated document in a needed format
MCP support
The MCP server provides access to the shared template engine for generating legal documents. It is available at the Streamable HTTP endpoint without an account.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://clauseai.exe.xyz/mcpclaude mcp add --transport http wasauce-clauseai https://clauseai.exe.xyz/mcp{"mcpServers":{"wasauce-clauseai":{"type":"http","url":"https://clauseai.exe.xyz/mcp"}}}Open in Cursor{"servers":{"wasauce-clauseai":{"type":"http","url":"https://clauseai.exe.xyz/mcp"}}}Open in VS Code{"mcpServers":{"wasauce-clauseai":{"type":"http","url":"https://clauseai.exe.xyz/mcp"}}}{"mcpServers":{"wasauce-clauseai":{"serverUrl":"https://clauseai.exe.xyz/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
4This tool takes no parameters.
Details
From the project READMEClauseAI
Generate startup legal documents from attorney-drafted templates: NDAs, MSAs, DPAs, privacy policies, offer letters, and more. Download PDF, Word, ODT, or Markdown through MCP or an agent skill. No account required.
The gallery, JSON API, MCP server, and agent skill all share the same template engine. Templates come from General Legal and are released under CC0.
Use with an agent
npx skills add wasauce/clauseai --skill clauseai
MCP (Streamable HTTP, no account):
https://clauseai.exe.xyz/mcp
GrokBot version:
https://x.ai/bot/lBf5ZVjFUDPgn_OVzU8_R
Walkthrough: Generate a mutual NDA from your company details.
Run locally
System dependencies:
- Python 3.12+
- uv
pandocfor Word and ODT export (brew install pandocorapt-get install pandoc)- WeasyPrint libraries for PDF (
brew install pango gdk-pixbuf libffion macOS)
cp env.example .env
uv sync --dev
uv run python run.py
Open http://localhost:8000.
| Surface | Path |
|---|---|
| Gallery | GET / |
| Wizard | GET /{slug} |
| JSON API | GET /api/templates |
| Generate | POST /api/templates/{slug}/generate |
| Feedback | POST /api/feedback (logged, and posted to Slack when SLACK_WEBHOOK_URL is set; optional email or phone lets the team follow up) |
| Agent skill | GET /skill.md |
| MCP | /mcp |
| Agent index | GET /llms.txt |
| NDA walkthrough | GET /examples/generate-nda.md |
| Terms of Use | GET /terms |
| Privacy Policy | GET /privacy |
Tests
uv run pytest
Refresh templates
Vendored markdown lives in clauseai/data/templates/. Curated manifest.json files are kept across re-syncs:
uv run python scripts/sync_templates.py
Templates are for general reference only and are not legal advice.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.