Price Per TokenPrice Per Token
CourtListener Case Law Explorer

CourtListener Case Law Explorer

by khizar-anjum

GitHub 1 1,953 uses Remote
0

About

CourtListener Case Law Explorer is a legal research tool that enables comprehensive analysis of U.S. case law across 3,352 courts using the CourtListener open legal database. It provides access to court opinions, dockets, and legal documents for precedent research and case strategy. Key capabilities include: - Natural language search across federal and state court opinions to find relevant cases - Retrieval of full case opinions and detailed case information - Discovery of similar precedents with related legal reasoning - Analysis of case outcome patterns and judge ruling histories for litigation strategy - Validation and expansion of legal citations - Access to procedural requirements and filing rules - Federal docket search with case status tracking and timeline analysis

Tools 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.

[](https://www.npmjs.com/package/@khizar-anjum/courtlistener-mcp) [](https://www.npmjs.com/package/@khizar-anjum/courtlistener-mcp) [](./LICENSE) [](https://github.com/khizar-anjum/courtlistener-mcp/actions)

📦 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.

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

# 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

    | Input | Description | Example | |-------|-------------|---------| | "all" | All courts | Search nationwide | | "federal" | Federal courts | Circuit, District courts

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81