captain-legal
Compliant legal documents from your AI assistant: 1,100+ templates, 15 countries, free preview.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"captain-legal": {
"url": "https://mcp.captain.legal/connect/"
}
}
}遠端端點
https://mcp.captain.legal/connect/streamable-http它能做什麼
工具清單
工具(5)
🟢list_document_types(country, language, category, query, limit, ...)
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",
"properties": {
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 5
},
"category": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"type": "integer",
"minimum": 0
}
},
"required": [
"country"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_requirements(document_type, country, language)
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",
"properties": {
"document_type": {
"type": "string",
"minLength": 1
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 5
}
},
"required": [
"document_type",
"country"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢generate_document(document_type, country, language, answers)
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",
"properties": {
"document_type": {
"type": "string",
"minLength": 1
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 5
},
"answers": {
"type": "object",
"additionalProperties": {},
"description": "Answers keyed by field id, exactly as returned by get_requirements"
}
},
"required": [
"document_type",
"country",
"answers"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪purchase_document(draft_id, customer_email)
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",
"properties": {
"draft_id": {
"type": "string",
"minLength": 1
},
"customer_email": {
"type": "string",
"minLength": 3
}
},
"required": [
"draft_id",
"customer_email"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_document_status(order_id, status_token)
Check the status of an order: payment and delivery. Requires the status_token returned by purchase_document.
輸入結構描述
{
"type": "object",
"properties": {
"order_id": {
"type": "string",
"minLength": 1
},
"status_token": {
"type": "string",
"minLength": 1
}
},
"required": [
"order_id",
"status_token"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}建議的提示詞
get_requirementsget_requirementslist_document_typeslist_document_typeslist_document_typesget_requirements社群
證據