
yoda-digital/mcp-cerebra-legal-server 是从 https://github.com/yoda-digital/mcp-cerebra-legal-server. 导入的 MCP 服务器候选人。
概览
yoda-digital/mcp-cerebra-legal-server 是从 https://github.com/yoda-digital/mcp-cerebra-legal-server. 导入的 MCP 服务器候选人。
概述(AI 翻译)
基于Anthropic工程博客中的“思考”工具概念,用于法律推理和分析的企业级MCP服务器。
概述
Cerebra Legal为法律推理和分析提供了三种强大的工具:
- legal_think - 结构化的法律推理工具,帮助分析复杂的法律问题,提供领域特定的指导和模板。
- legal_ask_followup_question - 一个专门用于在法律环境中提出后续问题的专业工具,具有特定领域的选项。
- legal_attempt_completion - 一个用于呈现法律分析结果的工具,结构和引用格式规范合理。
服务器会自动检测法律域名(ANSC 争议、消费者保护、合同分析),并提供特定领域的指导、模板和反馈。
特色
- 域检测:自动识别分析的法律领域
- 领域特定指导:为不同法律领域提供定制指导
- 结构化模板:提供领域特定的法律分析模板
- 引用格式:正确格式化法律引用
- 思想质量分析:提供法律推理质量的反馈
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Cerebra Legal MCP Server
An enterprise-grade MCP server for legal reasoning and analysis based on the “think” tool concept from Anthropic’s engineering blog.
Overview
Cerebra Legal provides three powerful tools for legal reasoning and analysis:
- legal_think - A structured legal reasoning tool that helps analyze complex legal issues with domain-specific guidance and templates.
- legal_ask_followup_question - A specialized tool for asking follow-up questions in legal contexts with domain-specific options.
- legal_attempt_completion - A tool for presenting legal analysis results with proper structure and citation formatting.
The server automatically detects legal domains (ANSC contestation, consumer protection, contract analysis) and provides domain-specific guidance, templates, and feedback.
Features
- Domain Detection: Automatically identifies the legal domain of the analysis
- Domain-Specific Guidance: Provides tailored guidance for different legal domains
- Structured Templates: Offers domain-specific templates for legal analysis
- Citation Formatting: Properly formats legal citations
- Thought Quality Analysis: Provides feedback on legal reasoning quality
- Revision Support: Allows for revising previous thoughts
Installation
# Clone the repository
git clone https://github.com/yoda-digital/mcp-cerebra-legal-server.git
cd mcp-cerebra-legal-server
# Install dependencies
npm install
# Build the project
npm run build
Usage
Running the Server
npm start
Testing the Server
The repository includes a test client that demonstrates how to interact with the server:
# Make the test client executable
chmod +x test-client.js
# Run the test client
./test-client.js
The test client will:
- Start the server
- Send a tools/list request to get available tools
- Send a legal_think request with a sample thought
- Display the server’s responses
Adding to Claude
To add the server to Claude, update your MCP settings file with the following configuration:
For VSCode Extension
Edit the file at ~/.config/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json:
{
"mcpServers": {
"cerebra-legal": {
"command": "node",
"args": ["/path/to/mcp-cerebra-legal-server/build/index.js"],
"disabled": false,
"alwaysAllow": []
}
}
}
For Claude Desktop App
Edit the file at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your platform:
{
"mcpServers": {
"cerebra-legal": {
"command": "node",
"args": ["/path/to/mcp-cerebra-legal-server/build/index.js"],
"disabled": false,
"alwaysAllow": []
}
}
}
Using the Tools in Claude
Once the server is added to Claude, you can use the tools in your conversations:
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"cerebra-legal": {
"command": "node",
"args": ["/path/to/mcp-cerebra-legal-server/build/index.js"],
"disabled": false,
"alwaysAllow": []
}
}
}