Skip to content

Repository files navigation

ClauseAI

Generate startup legal documents from attorney-drafted templates: NDAs, MSAs, DPAs, privacy policies, offer letters, and more. Download PDF, 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
  • pandoc for ODT export (brew install pandoc or apt-get install pandoc)
  • WeasyPrint libraries for PDF (brew install pango gdk-pixbuf libffi on 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
Agent skill GET /skill.md
MCP /mcp
Agent index GET /llms.txt
NDA walkthrough GET /examples/generate-nda.md

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.

About

Generate startup legal documents from attorney-drafted templates: NDAs, MSAs, DPAs, privacy policies, offer letters, and more. Download PDF, ODT, or Markdown through MCP or an agent skill. No account required.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages