
mahender22/legal-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
mahender22/legal-mcp - кандидат на сервер MCP, импортированный из https://github.com/mahender22/legal-mcp.
Обзор
mahender22/legal-mcp - кандидат на сервер MCP, импортированный из https://github.com/mahender22/legal-mcp.
Обзор (машинный перевод)
** Первый в США легальный MCP-сервер для ИИ-помощников.
Подключите Claude, GPT, Cursor или любой MCP-совместимый AI к 4M + Мнения судов США, управление практикой Clio и федеральные документы PACER. Исследования в секундах, а не часах.
##30Вторая демоверсия
##Почему юрфак?
Традиционные исследования AI + LegalMCP
[править править код]
Найдите соответствующие случаи | 45-90 минут | * * * * Примечание: * * Используйте полный путь к legal-mcp внутри вашей виртуальной среды. Удалите строку LEGAL_MCP_DEMO и добавьте ключи API для реальных данных (см. SETUP.md).
###Подключение к коду Клода
Запустите эту команду, чтобы добавить LegalMCP по всему миру (доступно в каждой сессии):
** Mac/Linux: **
Окна:
Чтобы включить демонстрационный режим, добавьте флаг env:
** Mac/Linux: **
Окна:
** Совет: ** Чтобы добавить его только в конкретный проект, добавьте флаг -s project или создайте файл .mcp.json в корне проекта.
###Подключение к Cursor/Windsurf
LegalMCP работает с любым MCP-совместимым клиентом. Добавьте команду legal-mcp в конфигурацию MCP-сервера вашего инструмента ИИ.
Конфигурация
Установите переменные среды для доступа к API. См. SETUP.md для пошаговых инструкций.
| Переменная | Требуемое | Описание |
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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-mcpinside your virtual environment. Remove theLEGAL_MCP_DEMOline 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:
Установка
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"
}
}
}
}