Open Agreements

by open-agreements

373 downloads
Not rated
GitHub

About

Fill standard legal agreement templates (NDAs, SAFEs, NVCA docs, employment contracts) as DOCX files. Remote MCP server — works without install. Browse templates, fill fields, generate signed-ready documents. MIT licensed.

Details

Author
open-agreements
Downloads
373
Categories
Productivity, Other, Automation, AI

- 40+ standard legal templates (NDA, SaaS, employment, SAFE, NVCA)
- Produces signable DOCX files preserving source formatting
- Works with Claude Code, Gemini CLI, Cursor, and CLI
- Supports Common Paper, Bonterms, Y Combinator, and NVCA forms
- Electronic signature via DocuSign integration
- Skills for compliance auditing (SOC2, ISO 27001) and editing DOCX

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Open Agreements
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via Agent Skill (npx skills add open-agreements/open-agreements), Claude Hosted MCP (claude mcp add --transport http open-agreements https://openagreements.ai/api/mcp), Gemini CLI Extension, or CLI (npm install -g open-agreements). Then prompt an agent to fill a template (e.g., "Fill the Common Paper mutual NDA for my company") or use CLI commands like open-agreements list and open-agreements fill.

list_templates

List all available legal agreement templates as a paginated compact catalog. Returns lightweight metadata for discovery — call get_template for full per-field detail. Templates are returned in stable lexicographic order by template_id. For finding templates by topic, jurisdiction, or source, use search_templates instead.

search_templates

Search for legal agreement templates by keyword. Uses BM25 ranking to find the most relevant templates matching your query. Searches across template names, descriptions, categories, sources, and field definitions. Use this instead of list_templates when you know what kind of agreement you need.

get_template

Fetch a single template definition with full field metadata.

fill_template

Fill a legal agreement template with field values and return a document via URL or MCP resource preview metadata. For field-selector templates (e.g. NVCA), also generates a redline (track-changes) document comparing the filled output against the standard form.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "open agreements": {
            "open-agreements": {
                "url": "https://openagreements.org/api/mcp"
            }
        }
    }
}

McpServers

{
    "open-agreements": {
        "url": "https://openagreements.org/api/mcp"
    }
}

<!-- This file is generated from README.template.md by scripts/generate_readme.mjs. Do not edit README.md directly. -->

OpenAgreements

npm version
npm downloads
License: MIT
CI
codecov
Socket Badge
GitHub stargazers
Agent Skill
MCP Server Status
install size

English | Español | 简体中文 | Português (Brasil) | Deutsch

Fill standard legal agreement templates and get signable DOCX files. OpenAgreements includes 40+ templates across NDAs, cloud service agreements, employment docs, contractor agreements, SAFEs, and NVCA financing documents.

Works with Claude Code, Gemini CLI, Cursor, and local MCP or CLI workflows.

Contents

- Install
- Quick Start
- Available Skills
- Available Templates
- Packages
- Documentation
- Privacy
- See Also
- Contributing
- Built With OpenAgreements
- License

<p align="center">
Fill a Mutual NDA in Claude Code — prompt, answer questions, get a signed-ready DOCX
</p>

> Demo: Claude fills a Common Paper Mutual NDA in under 2 minutes. Sped up for brevity.

Install

Agent Skill (recommended)

npx skills add open-agreements/open-agreements

Claude Hosted MCP

claude mcp add --transport http open-agreements https://openagreements.ai/api/mcp

Gemini CLI Extension

gemini extensions install https://github.com/open-agreements/open-agreements

CLI

npm install -g open-agreements

Or run directly with zero install:

npx -y open-agreements@latest list

Quick Start

With Claude Code

Ask Claude:

Fill the Common Paper mutual NDA for my company

Claude can discover templates, interview you for field values, and render a signed-ready DOCX.

With the CLI

# See all available templates
open-agreements list

Fill a template from a JSON data file

open-agreements fill common-paper-mutual-nda -d values.json -o my-nda.docx

Fill with inline values

open-agreements fill common-paper-mutual-nda --set party_1_name="Acme Corp" --set governing_law="Delaware"

Example Prompts

- "Draft an NDA for our construction subcontractor"
- "Create a consulting agreement for our insurance agency"
- "Fill the independent contractor agreement for a freelance designer"
- "Generate a SAFE with a $5M valuation cap"

What Happens

1. The agent runs list --json to discover templates and their fields.
2. It interviews you for field values grouped by section.
3. It runs fill <template> to render a DOCX preserving the source formatting.
4. You review and sign the output document.

Available Skills

Agreement Drafting And Filling

| Skill | Description |
|-------|-------------|
| open-agreements | Fill standard legal agreement templates (NDAs, cloud service agreements, SAFEs) and produce signable DOCX files. Supports Common Paper, Bonterms, and Y Combinator templates. Use when the user needs to draft a legal agreement, create an NDA, fill a contract template, or generate a SAFE. Can also send agreements for electronic signature via DocuSign. |
| nda | Draft and fill NDA templates — mutual NDA, one-way NDA, confidentiality agreement. Produces signable DOCX files from Common Paper and Bonterms standard forms. Use when user says "NDA," "non-disclosure agreement," "confidentiality agreement," "mutual NDA," or "one-way NDA." |
| cloud-service-agreement | Draft and fill SaaS agreement templates — cloud contract, MSA, order form, software license, pilot agreement, design partner agreement. Includes variants with SLAs and AI terms. Produces signable DOCX from Common Paper standard forms. Use when user says "SaaS agreement," "cloud contract," "MSA," "order form," "software license," "pilot agreement," or "design partner agreement." |
| services-agreement | Draft and fill services agreement templates — consulting contract, contractor agreement, SOW, statement of work, professional services agreement. Produces signable DOCX files from Common Paper and Bonterms standard forms. Use when user says "consulting contract," "contractor agreement," "SOW," "statement of work," "services agreement," or "freelancer contract." |
| employment-contract | Draft and fill employment agreement templates — offer letter, IP assignment, PIIA, confidentiality acknowledgement. Produces signable DOCX files from OpenAgreements standard forms for hiring employees. Use when user says "offer letter," "employment agreement," "PIIA," "IP assignment," "hire someone," or "onboarding paperwork." |
| data-privacy-agreement | Draft and fill data privacy agreement templates — DPA, data processing agreement, GDPR, HIPAA BAA, business associate agreement, AI addendum. Produces signable DOCX files from Common Paper standard forms. Use when user says "DPA," "data processing agreement," "HIPAA BAA," "business associate agreement," or "AI addendum." |
| safe | Draft and fill Y Combinator SAFE templates — valuation cap, discount, MFN, pro rata side letter. Standard startup fundraising documents for convertible equity. Produces signable DOCX files. Use when user says "SAFE," "simple agreement for future equity," "YC SAFE," "valuation cap," "seed round documents," or "fundraising paperwork." |
| venture-financing | Draft and fill NVCA model documents — stock purchase agreement, certificate of incorporation, investors rights agreement, voting agreement, ROFR, co-sale, indemnification, management rights letter. Series A and

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.