ClauseAI

io.github.wasaucePublished by GitHub account wasaucev0.1.0Updated Oct 27, 2026

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

VerifiedStreamable HTTPWeb executableProductivity & WorkflowBusiness & Commerce

Overview

AI-generated overview

ClauseAI generates startup legal documents such as NDAs, MSAs, DPAs and privacy policies from attorney-drafted templates, returning Markdown plus download…

What you can do
  • List available legal document templates such as NDA, MSA, DPA, privacy policy, terms of use, offer letter and advisor agreement
  • Read the fill-in field schema for a chosen template
  • Generate a document from published fields, returning Markdown text and download links for the requested format, including an editable Word copy
  • Send feedback to the ClauseAI operator about missing fields, wrong results or template requests
When to use it
Useful when an assistant needs to draft a standard startup legal document quickly from a template, or when a user wants a first draft in Markdown, PDF, ODT or Word without creating an account.
Requirements
A remote Streamable HTTP endpoint; no account, API key, environment variable or header is declared. Local self-hosting instead needs Python 3.12+, uv, pandoc for Word and ODT export, and WeasyPrint libraries for PDF.
Before you install
Generated documents are general reference only and not legal advice, so review with a lawyer before use. Feedback messages are sent to the ClauseAI operator, and the README notes they may be posted to Slack; avoid including document text or personal details beyond an optional contact email or phone. The assistant is told not to invent clause text.

Installation

In SourceWeft

  1. Open ClauseAI in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.wasauce%2Fclauseai/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "clauseai": {
      "type": "http",
      "url": "https://clauseai.exe.xyz/mcp"
    }
  }
}

README

ClauseAI

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

bash
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 Word and ODT export (brew install pandoc or apt-get install pandoc)
  • WeasyPrint libraries for PDF (brew install pango gdk-pixbuf libffi on macOS)
bash
cp env.example .envuv sync --devuv run python run.py

Open http://localhost:8000.

SurfacePath
GalleryGET /
WizardGET /{slug}
JSON APIGET /api/templates
GeneratePOST /api/templates/{slug}/generate
FeedbackPOST /api/feedback (logged, and posted to Slack when SLACK_WEBHOOK_URL is set; optional email or phone lets the team follow up)
Agent skillGET /skill.md
MCP/mcp
Agent indexGET /llms.txt
NDA walkthroughGET /examples/generate-nda.md
Terms of UseGET /terms
Privacy PolicyGET /privacy

Tests

bash
uv run pytest

Refresh templates

Vendored markdown lives in clauseai/data/templates/. Curated manifest.json files are kept across re-syncs:

bash
uv run python scripts/sync_templates.py

Templates are for general reference only and are not legal advice.

Source: README.md at commit 2b00d8d

Tools

4

list_templates

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.

Takes no parameters.

get_template_fields

Get template fields

Use this after choosing a template slug, to read the fill-in fields before generating a document.

Parametersslugrequired

generate_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.

Parametersslugrequiredformatanswers

send_feedback

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.

Parametersslugemailphonemessagerequiredcategory

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.