MCP Server

Open Agreements

io.github.open-agreements/open-agreements
Legal & Compliance Public & reachable MCP 2026-07-28

What this MCP does

Searches, retrieves, and fills standard legal agreement templates, including NDAs, SAFEs, employment agreements, and NVCA documents.

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.
Input schema
{'type': 'object', 'required': ['template'], 'properties': {'values': {'type': 'object', 'description': 'Field values to fill in the template.', 'additionalProperties': True}, 'template': {'type': 'string', 'description': 'Template ID, e.g. "common-paper-mutual-nda".'}, 'return_mode': {'enum': ['url', 'mcp_resource'], 'type': 'string', 'description': 'Artifact return mode. Defaults to "url".'}, 'redline_base': {'enum': ['source', 'clean'], 'type': 'string', 'description': 'Base document for redline comparison. "source" = raw standard form (default), "clean" = cleaned intermediate.'}, 'include_redline': {'type': 'boolean', 'description': 'Generate a redline (track-changes) document. Defaults to true for field-selectors.'}}}
get_template
Fetch a single template definition with full field metadata.
Read only
Input schema
{'type': 'object', 'required': ['template_id'], 'properties': {'template_id': {'type': 'string', 'description': 'Template ID, e.g. "common-paper-mutual-nda".'}}}
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.
Read only
Input schema
{'type': 'object', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size (default 25, max 100).'}, 'cursor': {'type': 'string', 'description': 'Opaque pagination cursor returned by a prior call. Omit on the first page.'}}, 'additionalProperties': False}
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.
Read only
Input schema
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'description': 'Search query. Examples: "NDA", "employment offer letter", "NVCA stock purchase", "data processing GDPR", "non-compete Wyoming".'}, 'source': {'type': 'string', 'description': 'Optional source filter (exact, case-insensitive). Values: "Common Paper", "Bonterms", "Y Combinator", "NVCA", "OpenAgreements".'}, 'category': {'type': 'string', 'description': 'Optional category filter (exact, case-insensitive). Values: confidentiality, employment, sales-licensing, data-compliance, deals-partnerships, professional-services, venture-financing, other.'}, 'max_results': {'type': 'number', 'description': 'Maximum results to return (1-50, default 10).'}}}
Added
fill_template
Sept. 17, 2026, 12:45 p.m.
Added
get_template
Sept. 17, 2026, 12:45 p.m.
Added
search_templates
Sept. 17, 2026, 12:45 p.m.
Added
list_templates
Sept. 17, 2026, 12:45 p.m.