Open Agreements MCP Server
io.github.open-agreements/open-agreements
Fill standard legal agreement templates (NDAs, SAFEs, employment contracts) as reviewable DOCX files.
What is the Open Agreements MCP server?
The OpenAgreements MCP server fills standard legal agreement templates with transaction-specific values and outputs reviewable DOCX files. It provides jurisdiction-specific practice guides, templates with source metadata, and review checklists for U.S. legal agreements. Generated documents are drafts for human legal review, not legal advice.
OpenAgreements helps you generate standard legal documents like NDAs, SAFEs, NVCA docs, and employment agreements by filling templates with your specific information. It produces DOCX files ready for human review and signature, with built-in citations to primary law and compliance checklists. Use it to quickly draft common agreements while maintaining legal rigor and transparency about sources.
How to install Open Agreements
Copy-paste configuration for popular MCP clients.
Tools & capabilities
Tools this server exposes to the agent.
fill— Fill a standard agreement template with supplied field values and output a reviewable DOCX filelist— List available agreement templates in the catalogget_legal_guidance— Retrieve jurisdiction-specific practice guides with citations to primary law
Use cases
- Generate a mutual NDA between two parties with custom names, companies, and effective dates
- Create employment agreement templates for different jurisdictions with automatic compliance checklists
- Fill SAFE (Simple Agreement for Future Equity) documents for startup fundraising
- Produce NVCA (National Venture Capital Association) standard documents with transaction-specific terms
- Review legal requirements and primary-source citations before signing agreements
Open Agreements MCP server FAQ
OpenAgreements is a tool that fills standard legal agreement templates (NDAs, SAFEs, employment contracts, etc.) with your specific information and outputs reviewable DOCX files. It also provides jurisdiction-specific practice guides and compliance checklists backed by primary law citations.
Yes, the project is open-source under Apache License 2.0. The CLI is free to install via npm, and there is a hosted MCP option available at https://openagreements.org/api/mcp.
Install the MCP server via npm (@open-agreements/contract-templates-mcp) for local use, or connect to the hosted remote MCP at https://openagreements.org/api/mcp. See the installation docs for step-by-step configuration in Cursor, Claude Code, or other AI agents.
No. OpenAgreements provides legal information, document mechanics, and citations to primary law. Generated documents are drafts for human legal review. You must have a lawyer review all agreements before signature.
The catalog includes Common Paper Mutual NDAs, SAFEs, NVCA standard documents, employment agreements, and others. Use the 'list' command or browse the full catalog at https://github.com/open-agreements/open-agreements/blob/main/docs/reference/catalog.md.
Local CLI and local MCP processing stay on your machine. Hosted MCP template filling runs server-side but does not store filled documents after the response. Choose the execution mode that matches your document-sensitivity requirements.
README (reference)
Source of truth, from the repository.
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.
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.docx
The 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 review
The 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.
Related MCP servers

Alembica MCP
MCP server for Alembica validation, extraction, cost estimation, and schema queries.

prismAId MCP
AI-assisted systematic literature reviews with protocol conformance checking and no coding required.
Read-only MCP server for the open-banking.io PSD2 bank API — accounts, balances, transactions.
View repository →
io.github.open-crater/opencrater-mcp
Monetize your MCP server or CLI: live OpenCrater network stats + how maintainers earn USDC.

AI-native terminal platform: drive real terminals locally or over SSH through MCP, SKILLS, or REST API.

OpenMetadata
Open context layer for AI: metadata, lineage, governance, and memory for trusted data discovery and reasoning.
