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