MCP 服务器

captain-legal

legal.captain/captain-legal
法律与合规 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Collects requirements, generates previews, and facilitates purchase of legal documents across supported countries.

generate_document
Generate document preview
Generate a draft of the document from the user's answers. Returns a free watermarked PDF preview and the exact price. Validates all answers against the encoded national rules first — if validation fails, you get structured errors to relay to the user. Also returns what is NOT covered by the automated checks: always relay the not_covered items to the user.
幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['document_type', 'country', 'answers'], 'properties': {'answers': {'type': 'object', 'description': 'Answers keyed by field id, exactly as returned by get_requirements', 'additionalProperties': {}}, 'country': {'type': 'string', 'pattern': '^[A-Za-z]{2}$'}, 'language': {'type': 'string', 'maxLength': 5, 'minLength': 2}, 'document_type': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}
get_document_status
Check order status
Check the status of an order: payment and delivery. Requires the status_token returned by purchase_document.
只读
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['order_id', 'status_token'], 'properties': {'order_id': {'type': 'string', 'minLength': 1}, 'status_token': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}
get_requirements
Get document requirements
Get the exact questions to ask the user for a given document type and country, with validation rules and legal constraints. You MUST use these questions verbatim as your source of truth for the interview — do not invent fields. Fields are ordered and may be conditional on previous answers.
只读
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['document_type', 'country'], 'properties': {'country': {'type': 'string', 'pattern': '^[A-Za-z]{2}$'}, 'language': {'type': 'string', 'maxLength': 5, 'minLength': 2}, 'document_type': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}
list_document_types
List document types
List legal document types Captain.Legal can generate for a given country. Call this first to discover what's available and get accurate names, prices and legal coverage. Never assume a document type exists — always check here.
只读
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['country'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1}, 'query': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'offset': {'type': 'integer', 'minimum': 0}, 'country': {'type': 'string', 'pattern': '^[A-Za-z]{2}$'}, 'category': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'language': {'type': 'string', 'maxLength': 5, 'minLength': 2}}, 'additionalProperties': False}
purchase_document
Create secure payment link
Purchase the final document for a given draft. Returns a secure payment link to give to the user. After payment, the final PDF is emailed to the user within minutes. E-signature is not yet available.
幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['draft_id', 'customer_email'], 'properties': {'draft_id': {'type': 'string', 'minLength': 1}, 'customer_email': {'type': 'string', 'minLength': 3}}, 'additionalProperties': False}
已添加
get_document_status
2026年9月17日 12:54
已添加
purchase_document
2026年9月17日 12:54
已添加
generate_document
2026年9月17日 12:54
已添加
get_requirements
2026年9月17日 12:54
已添加
list_document_types
2026年9月17日 12:54