Get Case Documents
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.
When to Use
Use this tool when you need to 🔒 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.. This is part of the CourtListener provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 13+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("courtlistener/get_case_documents")xpay_run— Execute:xpay_run("courtlistener/get_case_documents", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | No | Maximum number of documents to return |
docket_id | string | Yes | Docket ID to get documents for |
include_text | boolean | No | Include extracted full text content (may be large) |
document_type | string | No | Type of documents to retrieve |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- CourtListener (all tools) — 14 tools
- Search Cases By Problem — $0.01/call
- Get Case Details — $0.01/call
- Find Similar Precedents — $0.01/call
- Analyze Case Outcomes — $0.01/call
- Get Judge Analysis — $0.01/call
Links
- Tool page: https://xpay.tools/courtlistener/get-case-documents/
- Provider: https://xpay.tools/courtlistener/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | No | Maximum number of documents to return |
docket_id | string | Yes | Docket ID to get documents for |
include_text | boolean | No | Include extracted full text content (may be large) |
document_type | string | No | Type of documents to retrieve |
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
CourtListener

