open-agreements
This server allows you to discover, retrieve, and fill legal agreement templates (40+ across NDAs, cloud service agreements, employment docs, SAFEs, NVCA financing documents, etc.) to produce signable DOCX files.
List templates (
list_templates): Browse all available templates in compact or full metadata mode (includes fields, licenses, sources).Get template details (
get_template): Fetch a single template's full definition and field metadata by ID (e.g.,common-paper-mutual-nda), so you know exactly what values are needed.Fill a template (
fill_template): Render a filled, signable DOCX by providing a template ID and required field values. Output can be returned as a local file path or inline base64-encoded string.
Provides automated filling and generation of standard Y Combinator (YC) SAFEs as part of its external template library.
OpenAgreements
OpenAgreements helps people and software agents find primary-source-backed U.S. legal guidance and produce reviewable DOCX files from standard agreement templates.
What OpenAgreements does
Publishes jurisdiction-specific practice guides with citations to primary law.
Provides standard agreement templates with source and license metadata.
Fills templates locally through a CLI or over MCP.
Publishes review checklists and comparison surveys in human- and machine-readable formats.
OpenAgreements provides legal information and document mechanics, not legal advice. It does not decide whether a form or clause is right for a transaction, and generated documents are drafts for human review.
The project’s longer-term goal is a citable conformance layer for legal AI: primary law becomes inspectable requirements, an AI can check a document against them, and a lawyer owns the final call. Read Why OpenAgreements Exists for the rationale; this README stays focused on using the project.
Related MCP server: safe-docx
Fill your first agreement
Install the CLI locally, inspect the available forms, and fill the Common Paper Mutual NDA:
npm install -g open-agreements
open-agreements list
open-agreements fill common-paper-mutual-nda \
--set party_1_name="Jane Doe" \
--set party_1_company="Acme Manufacturing, Inc." \
--set party_2_name="John Smith" \
--set party_2_company="Northeast Logistics LLC" \
--set effective_date="2026-07-15" \
--set purpose="Evaluating a potential logistics relationship" \
--output mutual-nda.docxThe last command writes mutual-nda.docx. Open it in Word or another DOCX
viewer and review every filled term before signature. Defaults supply the
standard one-year term, Delaware governing law, and other omitted cover terms;
the CLI reports any priority fields that still need attention.
For a complete, copyable example and field-review steps, follow the quick start.
Understand the workflow
standard form + source and license metadata
→ supplied field values
→ validation and local rendering
→ reviewable DOCX
→ human legal and business reviewThe standard form is authoritative until rendering. Your supplied values become the transaction-specific inputs. The generated DOCX is an output for review; it is never automatically accepted or signed.
The legal-content path is separate: practice guides cite primary sources, surveys compare jurisdictions, and checklists turn requirements into review steps. Those materials can inform a decision, but they do not mutate an agreement.
Choose your next step
Install OpenAgreements — choose local CLI, local MCP, or hosted MCP.
Fill a standard agreement — complete the canonical workflow end to end.
Use legal guidance and checklists — find the right human- or machine-readable source.
Connect an AI agent — configure Claude Code, Codex CLI, Cursor, or Gemini CLI.
Browse the full catalog — templates, guides, surveys, checklists, skills, and packages.
Understand system boundaries — follow content and documents through the system.
Contribute — change code, documentation, templates, or field-selectors.
Links: Website | Template Catalog | Docs | Trust | npm
Privacy and document handling
Local CLI and local stdio MCP processing stay on your machine.
Hosted MCP template filling runs server-side; filled documents are not stored after the response is returned.
Some field-selector workflows download an official source document at runtime.
Choose an execution mode that matches your document-sensitivity and internal policy requirements. See the trust-boundary status and security policy.
License
Project code is licensed under Apache License 2.0. Content retains its
source-specific license. See the licensing reference
and each template's metadata.yaml before redistribution or modification.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Word document generation from templates using Jinja2 syntax and parsing of DOCX, PDF, and Excel files to extract structured content, metadata, and text.241MIT
- AlicenseAqualityAmaintenanceEditing of existing Word (.docx) files with formatting preservation. Supports comments, footnotes, and document comparison.2638Apache 2.0
- FlicenseNot gradedqualityNot gradedmaintenanceGenerate NDAs, contracts, tenancy agreements, and 24 more document types — directly from Claude Desktop, Cursor, or any MCP-compatible AI assistant.38
- AlicenseNot gradedqualityDmaintenanceAnswer a few questions. Get clean, jurisdiction-aware privacy policies and terms of service.MIT
Related MCP Connectors
AI transaction coordinator + legal-matters platform for real estate and law firms.
Automate eSignature workflows and signing tasks via natural language commands.
Fill existing fillable, flat and scanned PDF forms from structured data; save reusable templates
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/open-agreements/open-agreements'
If you have feedback or need assistance with the MCP directory API, please join our Discord server