
yoda-digital/mcp-cerebra-legal-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
An enterprise-grade MCP server for legal reasoning and analysis based on the "think" tool concept from Anthropic's engineering blog.
개요
An enterprise-grade MCP server for legal reasoning and analysis based on the "think" tool concept from Anthropic's engineering blog.
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 MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"cerebra-legal": {
"command": "node",
"args": ["/path/to/mcp-cerebra-legal-server/build/index.js"],
"disabled": false,
"alwaysAllow": []
}
}
}