Search Cases By Problem
search_cases_by_problemFind 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.
When to Use
Use this tool when you need to 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.. 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/search_cases_by_problem")xpay_run— Execute:xpay_run("courtlistener/search_cases_by_problem", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
date_range | string | No | Time range preference for cases |
problem_summary | string | No | Brief summary of the legal problem for context (1-2 sentences) |
court_level | string | No | Level of courts to search |
jurisdiction | string | No | Jurisdiction to search. Options: - "all" (search all courts) - "federal" (all federal courts) - "state" (all state courts) - "federal-bankruptcy" (bankruptcy courts) - "military" (military courts) - State names: "california", "texas", "florida", etc. - Specific court IDs: "scotus", "ca9", "ca11", etc. - Multiple courts: "ca9,ca11,scotus" (comma-separated) |
limit | number | No | Number of cases to return (1-20) |
case_type | string | No | Type of legal issue |
search_keywords | array | Yes | Array of legal search terms extracted by LLM from problem description (e.g., ["breach of contract", "negligence", "damages"]) |
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
- Get Case Details — $0.01/call
- Find Similar Precedents — $0.01/call
- Analyze Case Outcomes — $0.01/call
- Get Judge Analysis — $0.01/call
- Validate Citations — $0.01/call
Links
- Tool page: https://xpay.tools/courtlistener/search-cases-by-problem/
- Provider: https://xpay.tools/courtlistener/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
date_range | string | No | Time range preference for cases |
problem_summary | string | No | Brief summary of the legal problem for context (1-2 sentences) |
court_level | string | No | Level of courts to search |
jurisdiction | string | No | Jurisdiction to search. Options: - "all" (search all courts) - "federal" (all federal courts) - "state" (all state courts) - "federal-bankruptcy" (bankruptcy courts) - "military" (military courts) - State names: "california", "texas", "florida", etc. - Specific court IDs: "scotus", "ca9", "ca11", etc. - Multiple courts: "ca9,ca11,scotus" (comma-separated) |
limit | number | No | Number of cases to return (1-20) |
case_type | string | No | Type of legal issue |
search_keywords | array | Yes | Array of legal search terms extracted by LLM from problem description (e.g., ["breach of contract", "negligence", "damages"]) |
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
CourtListener

