ML

mahender22/legal-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

68 stars 18 forks 品質 81 トレンド 18MIT

mahender22/legal-mcp は [https://github.com/mahender22/legal-mcp.] からインポートされた MCP サーバーの候補です

概要

mahender22/legal-mcp は [https://github.com/mahender22/legal-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

AIアシスタント初の米国法務MCPサーバー。

Claude、GPT、Cursor、またはMCP互換のAIを4M+に接続する 米国裁判所の意見、Clio の実践管理、および PACER 連邦政府の提出。 秒単位での研究, ない時間.

お問い合わせ

30秒デモ

#LegalMCPの理由

| | | 伝統研究 | AI + LegalMCP | お問い合わせ | 関連する事例 | 45-90 分 | 注記: 仮想環境の中で【[T0]] にフルパスを利用してください。 [LEGAL_MCP_DEMO 行を削除し、実際のデータに API キーを追加 (SETUP.md を参照)。

##Claudeコードに接続する

このコマンドを実行すると、グローバルに LegalMCP を追加 (すべてのセッションで利用可能)。

Mac/Linux:

Windows:

デモモードを有効にするには、env フラグを追加します。

Mac/Linux:

Windows:

ヒント: 特定のプロジェクトにのみ追加するには、[-s project] フラグを追加するか、プロジェクトルートで[.mcp.json]ファイルを作成します。

カーソル/ウィンドサーフィンに接続

LegalMCP は、MCP 互換のクライアントと連携します。 legal-mcp コマンドを AI ツールの MCP サーバー構成に追加します。

設定

APIアクセス用の環境変数を設定します。 ステップバイステップの手順については、SETUP.md を参照してください。

| 変数 | 必須 | 説明 | お問い合わせ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

LegalMCP

The first comprehensive US legal MCP server for AI assistants.

Connect Claude, GPT, Cursor, or any MCP-compatible AI to 4M+ US court opinions, Clio practice management, and PACER federal filings. Research in seconds, not hours.


30-Second Demo

You:  Find Supreme Court cases about Fourth Amendment and cell phone location data

LegalMCP:  Found 52 results. Top case:

  Carpenter v. United States, 585 U.S. 296 (2018)
  The Court held that accessing historical cell-site location
  information constitutes a search under the Fourth Amendment,
  requiring a warrant supported by probable cause.

  → 127 cases cite this opinion
  → Full text: courtlistener.com/opinion/4578834

Why LegalMCP?

Traditional Research AI + LegalMCP
Find relevant cases 45-90 min < 30 sec
Trace citation history Open Westlaw, click around “Who cited this case?”
Pull client billing Log into Clio, navigate menus “Total hours on Henderson?”
Monthly cost $200-400 (Westlaw/Lexis) Free

Quick Start

Install

We recommend using a virtual environment to avoid conflicts with other packages:

# Create and activate a virtual environment
python -m venv legal-mcp-env

# Windows
legal-mcp-env\Scripts\activate

# Mac/Linux
source legal-mcp-env/bin/activate

# Install
pip install legal-mcp

Or install from GitHub:

pip install git+https://github.com/Mahender22/legal-mcp.git

Run

Want to try it without API keys? Enable demo mode first (optional):

# Mac/Linux
export LEGAL_MCP_DEMO=true

# Windows
set LEGAL_MCP_DEMO=true

Then start the server:

legal-mcp

Connect to Claude Desktop

Add to your claude_desktop_config.json:

Windows (%APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "legal-mcp": {
      "command": "C:/path/to/legal-mcp-env/Scripts/legal-mcp.exe",
      "env": {
        "LEGAL_MCP_DEMO": "true"
      }
    }
  }
}

Mac/Linux (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "legal-mcp": {
      "command": "/path/to/legal-mcp-env/bin/legal-mcp",
      "env": {
        "LEGAL_MCP_DEMO": "true"
      }
    }
  }
}

Note: Use the full path to legal-mcp inside your virtual environment. Remove the LEGAL_MCP_DEMO line and add your API keys for real data (see SETUP.md).

Connect to Claude Code

Run this command to add LegalMCP globally (available in every session):

Mac/Linux:

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "legal-mcp": { "command": "C:/path/to/legal-mcp-env/Scripts/legal-mcp.exe", "env": { "LEGAL_MCP_DEMO": "true" } } } }