YD

yoda-digital/mcp-cerebra-legal-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

33 stars 12 forks 품질 58 트렌드 11

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:

  1. legal_think - A structured legal reasoning tool that helps analyze complex legal issues with domain-specific guidance and templates.
  2. legal_ask_followup_question - A specialized tool for asking follow-up questions in legal contexts with domain-specific options.
  3. 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:

  1. Start the server
  2. Send a tools/list request to get available tools
  3. Send a legal_think request with a sample thought
  4. 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:

GitHub에서 전체 README 보기

설치

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": [] } } }