legal-mcp
Legal MCP Server
为 AI 助手提供美国判例法搜索、引文解析、律所管理和联邦法院归档功能 —— 由 FastMCP 提供支持。
托管地址:https://legal-mcp-production.up.railway.app/mcp
设置
将此服务器添加到您的 Claude Code 设置 (~/.claude/settings.json) 中:
{
"mcpServers": {
"legal-mcp": {
"type": "url",
"url": "https://legal-mcp-production.up.railway.app/mcp",
"headers": {
"X-CourtListener-Token": "YOUR_COURTLISTENER_TOKEN"
}
}
}
}获取 CourtListener 令牌
在 https://www.courtlistener.com/sign-in/ 创建一个免费账户
进入您的个人资料页面并复制您的 API 令牌
将其添加为上述的
X-CourtListener-Token请求头
可选:Clio 律所管理
如果您拥有具备 API 访问权限的 Clio 账户,请添加您的 OAuth 令牌:
"headers": {
"X-CourtListener-Token": "YOUR_COURTLISTENER_TOKEN",
"X-Clio-Token": "YOUR_CLIO_OAUTH_TOKEN"
}Related MCP server: CourtListener MCP Server
可用工具
工具 | 描述 |
| 按主题、法院或日期范围搜索 400 万+ 美国法院判决书 |
| 获取特定判决书的全文和详细信息 |
| 获取案卷信息 —— 当事人、律师、法官、程序历史 |
| 查找引用了特定判决书的案例 |
| 查找特定判决书所引用的案例 |
| 从文本中解析 Bluebook 格式的引文 |
| 列出所有美国法院及其筛选代码 |
| 判例汇编缩写参考 (U.S., F.3d 等) |
| 在 PACER 中搜索联邦案件 (需要 PACER 凭据) |
| 从 PACER 获取联邦案件详情 |
| 从 PACER 获取联邦案件的案卷条目 |
| 搜索 Clio 联系人 (需要 Clio 令牌) |
| 搜索 Clio 事务/案件 |
| 从 Clio 获取事务详情 |
| 从 Clio 获取计费工时 |
| 获取 Clio 中某事务的任务 |
| 在 Clio 中搜索文档 |
| 从 Clio 获取日历条目 |
自托管
git clone https://github.com/jscottym/legal-mcp.git
cd legal-mcp
pip install -r requirements.txt
python -m legal_mcp.server或使用 Docker:
docker build -t legal-mcp .
docker run -p 8000:8000 -e COURTLISTENER_TOKEN=your_token legal-mcp环境变量
变量 | 描述 |
| 服务器端口 (默认: 8000) |
| 备用 CourtListener API 令牌 |
| 备用 Clio OAuth 令牌 |
| PACER 登录名 |
| PACER 密码 |
| 设置为 |
This server cannot be deployed
Maintenance
Related MCP Connectors
Search U.S. case law, fetch opinions, and ask matter-aware legal questions over your documents.
Resolve, search and verify legal citations against the official sources, with provenance.
Verify legal citations and search case law and legislation from your AI assistant.
Judge-level filing rules, court holidays and enforcement data for US federal and state courts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables legal research across 3,352 U.S. courts using the CourtListener API, providing access to case search, precedent analysis, judge patterns, citation validation, and federal PACER dockets through natural language queries.12 npm3MIT
- FlicenseNot gradedqualityBmaintenanceEnables LLM-friendly access to the CourtListener legal database and eCFR for searching legal opinions, court cases, judges, documents, and federal regulations.12-

CourtAPI MCP Serverofficial
AlicenseAqualityDmaintenanceSearch and retrieve US federal court cases, dockets, claims, and documents via PACER — directly from Claude and other MCP-compatible AI assistants.1034 npmMIT- AlicenseNot gradedqualityBmaintenanceEnables users to search and retrieve court docket records across US state, county, and federal courts, including PACER party searches, and to get full case details.18 npmMIT