# open-agreements/open-agreements [Health: Active]

**Category:** ⚖️ Legal  
**Repository:** https://github.com/open-agreements/open-agreements  
**GitHub Stars:** 67  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/open-agreements-open-agreements

## Description
Fill standard legal agreement templates (NDAs, SAFEs, NVCA docs, employment, cloud terms) and produce signable DOCX files.

## Tools
Capabilities this server exposes over MCP:

- **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 Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

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

## Documentation

## What open-agreements/open-agreements does

open-agreements/open-agreements connects MCP clients to the OpenAgreements catalog of standard legal agreement templates. It supports discovery, inspection, and population of forms such as mutual NDAs, SAFEs, NVCA financing documents, employment agreements, and cloud terms. Template records include metadata such as names, descriptions, categories, sources, and licensing information, while individual definitions describe the fields that can be supplied.

The resulting DOCX files are drafts for review. The project provides document mechanics and legal information rather than legal advice: it does not determine whether a form or clause fits a transaction, and it does not automatically accept or sign generated documents.

## How it works

An MCP client connects to the hosted endpoint at `https://openagreements.org/api/mcp` and calls the available tools. A typical workflow is:

1. Search for an agreement by topic or keyword, or browse the paginated catalog.
2. Retrieve the selected template to examine its full field metadata.
3. Submit field values to populate the form.
4. Open the returned document URL or MCP resource preview and conduct human review.

Template search uses BM25 ranking across names, descriptions, categories, sources, and field definitions. Catalog results from `list_templates` are compact, paginated, and ordered by `template_id`; `search_templates` is intended for queries where the agreement type or subject is already known.

For field-selector templates such as NVCA forms, filling also generates a track-changes comparison with the standard document. Some selector-based workflows retrieve an official source document at runtime.

## Setup and configuration

Configure an MCP client to use the hosted server endpoint:

```text
https://openagreements.org/api/mcp
```

The repository also supports local use through the OpenAgreements CLI or a local stdio MCP process. Local processing keeps document handling on the client machine, while hosted template filling runs server-side. Hosted filled documents are not retained after the response is returned. Select the execution mode according to document sensitivity and organizational policy.

The project documentation identifies Claude Code, Codex CLI, Cursor, and Gemini CLI as AI-agent connection options. No environment variables are required for the hosted connection described here.

## Tools and capabilities

- `list_templates`: Browse a compact, paginated catalog in stable lexicographic order.
- `search_templates`: Rank relevant templates by keyword across template and field metadata.
- `get_template`: Retrieve complete field information for one template.
- `fill_template`: Validate supplied values, populate a template, and return a generated document through a URL or MCP resource preview.
- NVCA field-selector support: Produce a track-changes redline comparing the filled result with the standard form.

## Limitations and notes

Generated agreements require human legal and business review before use or signature. Template sources and content may carry source-specific licenses, so redistribution or modification should follow the licensing information associated with each template. Hosted processing places filled-document handling on the server during the request, whereas local CLI and stdio processing remain on the local machine. Legal guidance, practice materials, surveys, and checklists can inform review but do not alter an agreement automatically.

_Full upstream README: https://allmcps.com/mcp/open-agreements-open-agreements/readme_

