CourtListener Legal Research MCP Server
A powerful MCP server for legal research across 3,352 U.S. courts using the CourtListener API.
š¦ 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 - An open legal database democratizing access to court data with exceptional API documentation and comprehensive coverage of the U.S. legal system.
Quick Start
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_suitFunctionality: 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 courtscourtlistener://courts/federal- Federal courtscourtlistener://courts/state- State courtscourtlistener://courts/state-{state}- State-specific courtscourtlistener://jurisdictions/court-mappings- Jurisdiction mappings
Jurisdiction Options
Input | Description | Example |
| All courts | Search nationwide |
| Federal courts | Circuit, District courts |
| State courts | All CA courts |
| Specific court | Supreme Court |
| Multiple courts | 9th Circuit + NY Southern |
MCP Client Setup
Add to Claude Desktop or MCP client:
Usage Examples
Case Research Workflow
PACER Research (Premium)
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
This server cannot be installed