Sponsored by Deepsite.site

Open Agreements

Created By
open-agreementsa month ago
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.
Overview

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

Fill a Mutual NDA in Claude Code — prompt, answer questions, get a signed-ready DOCX

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

Install

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

SkillDescription
open-agreementsFill 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.
ndaDraft 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-agreementDraft 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-agreementDraft 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-contractDraft 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-agreementDraft 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."
safeDraft 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-financingDraft 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 venture financing templates. Produces signable DOCX files. Use when user says "Series A documents," "NVCA," "stock purchase agreement," "investors rights agreement," "voting agreement," or "venture financing docs."

Editing And Client Workflows

SkillDescription
edit-docx-agreementMake bespoke edits to a DOCX agreement generated by OpenAgreements (or any existing DOCX), using Safe Docx MCP tools for surgical, formatting-preserving edits and tracked-changes outputs. Use when user says "edit this contract," "change a clause," "modify the agreement," "custom edits to the docx," or "bespoke changes to the document."
client-emailDraft client-facing emails for legal services — cover notes for contract deliverables, redline summaries, deal status updates, and follow-ups. Use when composing or revising outbound emails to clients about legal work product. Triggers on "draft reply," "email to client," "cover note," "write back to," or any outbound email accompanying a legal deliverable.
delaware-franchise-taxFile your Delaware annual franchise tax and annual report. Guides you through tax calculation (Authorized Shares and Assumed Par Value Capital methods), the eCorp portal filing process, and payment. For Delaware C-Corps (March 1 deadline) and LLCs/LPs/GPs (June 1 deadline). Use when user says "Delaware franchise tax," "annual report Delaware," "file franchise tax," or "eCorp portal."

Compliance And Audit

SkillDescription
soc2-readinessAssess SOC 2 Type II readiness. Map Trust Services Criteria to controls, identify gaps, and build a remediation plan. Uses NIST SP 800-53 (public domain) as canonical reference with SOC 2 criterion cross-mapping. Use when user says "SOC 2 readiness," "SOC 2 preparation," "SOC 2 gap analysis," or "prepare for SOC 2 audit."
iso-27001-internal-auditRun an ISO 27001 internal audit. Walk through controls by domain, identify gaps, collect evidence, and generate findings with corrective action recommendations. Uses NIST SP 800-53 (public domain) as canonical reference. Use when user says "run internal audit," "ISO 27001 audit," "control assessment," "audit findings," or "ISMS assessment."
iso-27001-evidence-collectionCollect, organize, and validate evidence for ISO 27001 and SOC 2 audits. API-first approach with CLI commands for major cloud platforms. Produces timestamped, auditor-ready evidence packages. Use when user says "collect audit evidence," "prepare evidence package," "evidence for the auditor," "refresh evidence," or "evidence gap analysis."

Developer Workflows

SkillDescription
recipe-quality-auditAudit NVCA recipe quality: check file inventory, metadata schema, field-to-replacement coverage, ambiguous keys, smart quotes, test fixtures, and fill quality. Produces a structured scorecard per recipe with maturity tier classification. Use when user says "audit recipe quality," "check recipe coverage," "recipe scorecard," or "NVCA recipe quality."
unit-test-philosophyRisk-based unit testing and Allure-readable behavioral spec style for open-agreements. Use when user says "add tests," "test quality," "coverage expansion," "unit test style," or "Allure test spec." Applies when adding/updating tests, expanding coverage, or reviewing test quality across src, integration-tests, and workspace packages.

Available Templates

Website links open a dedicated template page when one exists, or a preselected install flow when it does not. Repo links point to the GitHub content directory for that template or recipe.

Confidentiality

TemplateWebsiteRepo
Bonterms Mutual NDAWebsiteRepo
Common Paper Mutual NDAWebsiteRepo
One Way NDAWebsiteRepo

Sales & Licensing

TemplateWebsiteRepo
Cloud Service AgreementWebsiteRepo
CSA Click ThroughWebsiteRepo
CSA With AIWebsiteRepo
CSA With SLAWebsiteRepo
CSA Without SLAWebsiteRepo
Order FormWebsiteRepo
Order Form With SLAWebsiteRepo
Software License AgreementWebsiteRepo

Data & Compliance

TemplateWebsiteRepo
AI AddendumWebsiteRepo
AI Addendum In AppWebsiteRepo
Business Associate AgreementWebsiteRepo
Data Processing AgreementWebsiteRepo

Professional Services

TemplateWebsiteRepo
Bonterms Professional Services AgreementWebsiteRepo
Independent Contractor AgreementWebsiteRepo
Common Paper Professional Services AgreementWebsiteRepo
Statement Of WorkWebsiteRepo

Deals & Partnerships

TemplateWebsiteRepo
AmendmentWebsiteRepo
Design Partner AgreementWebsiteRepo
Letter Of IntentWebsiteRepo
Partnership AgreementWebsiteRepo
Pilot AgreementWebsiteRepo
Term SheetWebsiteRepo

Employment

TemplateWebsiteRepo
Employee IP Inventions AssignmentWebsiteRepo
Employment Confidentiality AcknowledgementWebsiteRepo
Employment Offer LetterWebsiteRepo
Restrictive Covenant WyomingWebsiteRepo

SAFEs

TemplateWebsiteRepo
DiscountWebsiteRepo
MFNWebsiteRepo
Pro Rata Side LetterWebsiteRepo
Valuation CapWebsiteRepo

Venture Financing

TemplateWebsiteRepo
Certificate Of IncorporationWebsiteRepo
Indemnification AgreementWebsiteRepo
Investors Rights AgreementWebsiteRepo
Management Rights LetterWebsiteRepo
ROFR Co Sale AgreementWebsiteRepo
Stock Purchase AgreementWebsiteRepo
Voting AgreementWebsiteRepo

Other

TemplateWebsiteRepo
Closing ChecklistWebsiteRepo
Board Consent SAFEWebsiteRepo
Stockholder Consent SAFEWebsiteRepo
Working Group ListWebsiteRepo

Packages

PackageDescription
open-agreementsOpen-source legal template filling CLI and library
@open-agreements/contract-templates-mcpLocal stdio MCP server for OpenAgreements template discovery and filling
@open-agreements/contracts-workspaceWorkspace-oriented CLI for organizing and tracking contract repositories
@open-agreements/contracts-workspace-mcpLocal stdio MCP server for contracts workspace operations
@open-agreements/checklist-mcpLocal stdio MCP server for OpenAgreements checklist memory operations

What Gets Installed

open-agreements/
  bin/                    # CLI entry point
  dist/                   # Compiled TypeScript
  content/
    templates/            # Fillable DOCX templates with {tag} placeholders
    external/             # YC SAFE templates vendored unchanged
    recipes/              # Recipe instructions for non-redistributable sources
  skills/                 # Agent skill definitions
  server.json             # MCP server manifest
  gemini-extension.json   # Gemini CLI extension config
  README.md, LICENSE

NVCA recipe templates are downloaded at runtime and are not bundled in the package.

CLI Reference

list

Show available templates with license info and field counts.

open-agreements list

# Machine-readable JSON for agent skills and automation
open-agreements list --json

fill <template>

Render a filled DOCX from a template.

# From a JSON data file
open-agreements fill common-paper-mutual-nda -d data.json -o output.docx

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

validate [template]

Run the validation pipeline on one or all templates.

open-agreements validate
open-agreements validate common-paper-mutual-nda
Agent Setup Details

Claude Code

npx skills add open-agreements/open-agreements

Gemini CLI

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

Cursor

This repository includes a Cursor plugin manifest at .cursor-plugin/plugin.json with MCP wiring in mcp.json.

Local Vs Hosted Execution

  • Local: npx, global install, or stdio MCP. Processing happens on your machine.
  • Hosted: https://openagreements.ai/api/mcp. Template filling runs server-side for faster setup.

Choose based on document sensitivity and internal policy. See the trust checklist below for the data-flow summary.


Documentation

Start Here

Guides

Other Packages

Reference

Links: Website | Template Catalog | Docs | Trust | npm

Privacy

  • Local mode (npx, global install, stdio MCP): all processing happens on your machine. No document content is sent externally.
  • Hosted mode (https://openagreements.ai/api/mcp): template filling runs server-side. No filled documents are stored after the response is returned.

See the Privacy Policy for details.

See Also

  • safe-docx — surgical editing of existing Word documents with coding agents

Contributing

See CONTRIBUTING.md for how to add templates, recipes, and other improvements.

Built With OpenAgreements

Building on OpenAgreements? Open a PR to add your project.

License

MIT. Template content is licensed by its respective authors:

  • CC BY 4.0 for Common Paper, Bonterms, and OpenAgreements-authored templates
  • CC BY-ND 4.0 for Y Combinator SAFE templates vendored unchanged
  • proprietary or non-redistributable for NVCA source documents handled via recipe workflows

See each template's metadata.yaml for source-specific details.

This tool generates documents from standard templates. It does not provide legal advice. Consult an attorney for legal guidance.

Server Config

{
  "mcpServers": {
    "open-agreements": {
      "url": "https://openagreements.org/api/mcp"
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
DeepChatYour AI Partner on Desktop
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Tavily Mcp