CourtListener Case Law Explorer

行业场景

by khizar-anjum

基于 CourtListener 开放数据库检索并分析美国判例,查找先例、阅读判决全文、核验引注、研究法官模式,并查询联邦案卷、案件状态与时间线。

什么是 CourtListener Case Law Explorer

基于 CourtListener 开放数据库检索并分析美国判例,查找先例、阅读判决全文、核验引注、研究法官模式,并查询联邦案卷、案件状态与时间线。

核心功能 (14 个工具)

search_cases_by_problem

Find relevant cases using LLM-generated search keywords. The LLM should extract legal keywords from the problem description and provide them for precise case law search.

get_case_details

Deep dive into specific case for precedent analysis with full legal reasoning

find_similar_precedents

Find cases with similar legal reasoning or outcomes to a reference case

analyze_case_outcomes

Analyze outcome patterns for similar cases to predict success likelihood

get_judge_analysis

Analyze judge's typical rulings on similar issues for strategic insights

validate_citations

Verify and expand legal citations with related case discovery

get_procedural_requirements

Find procedural rules and filing requirements for specific case types in any jurisdiction

track_legal_trends

Identify recent trends in similar cases for strategic advantage

search_pacer_dockets

📊 PACER SEARCH: Search federal court dockets from PACER via CourtListener's RECAP Archive. Find active and terminated cases with comprehensive party, attorney, and filing information. Search by case name, party name, or nature of suit across all federal courts or specific jurisdictions.

get_docket_entries

🔒 PREMIUM ACCESS REQUIRED | EXPERIMENTAL: Get detailed docket entries for a specific case, including all filings, orders, and document references from PACER. Note: This function requires CourtListener premium API access and is experimental - may not work with basic API keys.

search_parties_attorneys

📊 BASIC ACCESS: Search for parties and attorneys across PACER cases. Track representation patterns and attorney success rates. Note: Basic API access provides limited data - premium access required for full attorney/party details.

analyze_case_timeline

🔒 PREMIUM ACCESS REQUIRED | EXPERIMENTAL: Analyze case progression timeline from PACER docket entries. Track delays, activity patterns, and case development. Note: Requires premium access to docket-entries endpoint - basic API access provides limited timeline data only.

track_case_status

📊 BASIC ACCESS: Track current status and recent activity for PACER cases. Monitor active litigation progress. Note: Basic access provides case metadata only - premium access required for detailed activity tracking.

get_case_documents

🔒 PREMIUM ACCESS REQUIRED | EXPERIMENTAL: Retrieve case documents from PACER with full text extraction. Access orders, motions, briefs, and opinions. Note: This function requires CourtListener premium API access and is experimental - may not work with basic API keys.

README

CourtListener Legal Research MCP Server

A powerful MCP server for legal research across 3,352 U.S. courts using the CourtListener API.

npm version npm downloads License Build Status

📦 Available on: npm | Smithery

Disclaimer: This is an independent personal project and is not affiliated with, endorsed by, or sponsored by CourtListener or the Free Law Project.

CourtListener MCP Demo

Built using the CourtListener API - An open legal database democratizing access to court data with exceptional API documentation and comprehensive coverage of the U.S. legal system.

Quick Start

bash
# Install from npm
npm install @khizar-anjum/courtlistener-mcp

# Or install from source
git clone https://github.com/khizar-anjum/courtlistener-mcp.git
cd courtlistener-mcp
npm install

# Setup
echo 'COURTLISTENER_API_KEY="your_api_key"' > .env
npm run generate-courts

# Build and run
npm run build
npm run dev

Get your free API key from: https://www.courtlistener.com/api/

💡 About the CourtListener API: A non-profit legal database providing free access to millions of legal documents, court opinions, and PACER data. The API's excellent documentation and comprehensive data coverage make legal research accessible to everyone.

Available Tools

Core Legal Research Tools

Accesses CourtListener's opinion database - all 3,352 courts

🔍 search_cases_by_problem

Find relevant cases using natural language legal problems

  • Parameters: search_keywords[], jurisdiction, case_type, date_range, limit

📋 get_case_details

Deep dive into specific cases with full opinion text

  • Parameters: case_id, include_full_text

🔗 find_similar_precedents

Discover cases with similar legal reasoning

  • Parameters: reference_case_id, jurisdiction, legal_concepts, limit

📊 analyze_case_outcomes

Analyze outcome patterns for success prediction

  • Parameters: case_type, jurisdiction, court_level, date_range

⚖️ get_judge_analysis

Understand judge's ruling patterns for strategy

  • Parameters: judge_name, case_type, court, jurisdiction

✅ validate_citations

Verify and expand legal citations

  • Parameters: citations[], context_text, jurisdiction

📝 get_procedural_requirements

Find filing requirements and court rules

  • Parameters: case_type, jurisdiction, court, claim_amount

📈 track_legal_trends

Identify trends in case law

  • Parameters: legal_area, time_period, trend_type

RECAP Archive Integration 🔒

Federal PACER data accessed via CourtListener's RECAP Archive

Premium Access: Some functions require a CourtListener premium subscription

  • 🔒 PREMIUM REQUIRED | 📊 BASIC ACCESS

📊 search_pacer_dockets (Basic)

Search federal court dockets from PACER using full-text search

  • Parameters: case_name, court, date_range, party_name, nature_of_suit
  • Functionality: Uses proper search API endpoint for accurate, relevant results

📊 search_parties_attorneys (Basic)

Track attorney representation patterns

  • Parameters: party_name, attorney_name, firm_name, court, date_range

📊 track_case_status (Basic)

Monitor case status and recent activity

  • Parameters: docket_id, include_recent_activity, status_history

🔒 get_docket_entries (Premium)

Detailed timeline of case filings and orders

  • Parameters: docket_id, entry_type, limit

🔒 analyze_case_timeline (Premium)

Deep case progression analysis with activity patterns

  • Parameters: docket_id, analysis_type, include_documents

🔒 get_case_documents (Premium)

Access documents with full text extraction

  • Parameters: docket_id, document_type, include_text, limit

Available Resources

Browse via MCP client:

  • courtlistener://courts/all - All 3,352 courts
  • courtlistener://courts/federal - Federal courts
  • courtlistener://courts/state - State courts
  • courtlistener://courts/state-{state} - State-specific courts
  • courtlistener://jurisdictions/court-mappings - Jurisdiction mappings

Jurisdiction Options

InputDescriptionExample
"all"All courtsSearch nationwide
"federal"Federal courtsCircuit, District courts
"california"State courtsAll CA courts
"scotus"Specific courtSupreme Court
"ca9,nysd"Multiple courts9th Circuit + NY Southern

MCP Client Setup

Add to Claude Desktop or MCP client:

json
{
  "mcpServers": {
    "courtlistener": {
      "command": "node",
      "args": ["/path/to/courtlistener-mcp/.smithery/index.ts"],
      "env": {
        "COURTLISTENER_API_KEY": "your_api_key"
      }
    }
  }
}

Usage Examples

Case Research Workflow

javascript
// 1. Search for cases
{
  "tool": "search_cases_by_problem",
  "arguments": {
    "search_keywords": ["breach of warranty", "defective product"],
    "jurisdiction": "california",
    "case_type": "warranty"
  }
}

// 2. Get case details
{
  "tool": "get_case_details",
  "arguments": {
    "case_id": "12345",
    "include_full_text": false
  }
}

// 3. Find similar cases
{
  "tool": "find_similar_precedents",
  "arguments": {
    "reference_case_id": "12345",
    "jurisdiction": "federal"
  }
}

PACER Research (Premium)

javascript
// Search PACER dockets
{
  "tool": "search_pacer_dockets",
  "arguments": {
    "nature_of_suit": "contract",
    "court": "federal"
  }
}

// Analyze case timeline (Premium)
{
  "tool": "analyze_case_timeline",
  "arguments": {
    "docket_id": "67890",
    "analysis_type": "all"
  }
}

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to submit improvements, bug fixes, and new features.

API Rate Limits

  • Authenticated: 5,000 requests/hour
  • Unauthenticated: 100 requests/day

Premium Access

Basic API access provides all Core Legal Research tools plus limited PACER metadata. Premium access unlocks:

  • Detailed docket entry analysis
  • Full document text extraction
  • Comprehensive timeline analysis
  • Advanced litigation intelligence

Get premium access: https://www.courtlistener.com/help/api/rest/

Acknowledgments

This independent project uses the CourtListener API, created by the Free Law Project, a non-profit organization. We acknowledge and appreciate:

  • Their API Design: Clear, well-documented REST API with comprehensive field coverage
  • Open Legal Data: Free access to millions of court opinions, dockets, and legal documents
  • RECAP Archive: Democratizing access to PACER federal court data
  • Community Impact: Making legal research accessible beyond expensive commercial databases

Consider supporting their mission: Free Law Project

License

MIT

常见问题

CourtListener Case Law Explorer 是什么?

基于 CourtListener 开放数据库检索并分析美国判例,查找先例、阅读判决全文、核验引注、研究法官模式,并查询联邦案卷、案件状态与时间线。

CourtListener Case Law Explorer 提供哪些工具?

提供 14 个工具,包括 search_cases_by_problem、get_case_details、find_similar_precedents

相关 Skills

面试体系设计

by alirezarezvani

Universal
热门

按岗位、级别和团队设计面试流程,生成能力矩阵、题库与评分标准,分析面试官偏差并校准招聘门槛,适合搭建或优化企业招聘体系。

团队招人没章法时,用它快速搭建岗位化面试流程、题库与评分标准,还能兼顾校准面试偏差,招聘更稳更准。

行业场景
未扫描15.4k

期权交易

by binance-skills-hub

热门

Binance Derivatives-trading-options request using the Binance API. Authentication requires API key and secret key. Supports testnet and mainnet.

行业场景
未扫描4.5k

A股交易助手

by alvisdunlop

热门

A股股票智能交易助手,专服务中国大陆股票市场。当用户询问A股股票行情、个股分析、大盘情绪、热点板块、交易策略、价格预警、涨跌幅、成交量、技术面或基本面分析时触发。只处理沪深A股(代码�?/00/30/68开头),自动忽略港股和美股。所有数据实时从东方财富、新浪财经、同花顺、雪球抓取。Use when: user asks about Chinese A-share stocks, 股票行情, 个股分析, 大盘分析, 板块热点, 买卖�? 止盈止损, 仓位建议, or any A-share trading-related query.

行业场景
未扫描4.5k

相关 MCP Server

by boosted-chat

热门

Flight search & booking for AI agents. 400+ airlines, $20-50 cheaper than OTAs.

行业场景
1.1k

Search company disclosures and financial statements from the Korean market. Retrieve stock profiles, market classifications, and historical trading data across major exchanges. Accelerate equity research with accurate, date-specific insights for Korean securities.

做韩国股研时,用它能一站查公司披露、财报和历史行情,按日期精确追溯关键信息,比手动翻交易所高效太多。

行业场景
135

检索韩国市场公司的披露文件与财务报表,并获取股票概况等关键信息。

想研究韩股公司时,它能一站式拉取披露、财报和股票概况,省去跨站查资料的麻烦,对跨境投研尤其省时。

行业场景
135

评论