---
name: "xpay-courtlistener-search-cases-by-problem"
description: "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."
version: "1.0.0"
price: "$0.01/call"
provider: "CourtListener"
---

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

**Provider:** CourtListener
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## 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):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
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:

1. **`xpay_details`** — Get full input schema: `xpay_details("courtlistener/search_cases_by_problem")`
2. **`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_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [CourtListener (all tools)](https://xpay.tools/skills/courtlistener/SKILL.md) — 14 tools
- [Get Case Details](https://xpay.tools/skills/courtlistener/get-case-details/SKILL.md) — $0.01/call
- [Find Similar Precedents](https://xpay.tools/skills/courtlistener/find-similar-precedents/SKILL.md) — $0.01/call
- [Analyze Case Outcomes](https://xpay.tools/skills/courtlistener/analyze-case-outcomes/SKILL.md) — $0.01/call
- [Get Judge Analysis](https://xpay.tools/skills/courtlistener/get-judge-analysis/SKILL.md) — $0.01/call
- [Validate Citations](https://xpay.tools/skills/courtlistener/validate-citations/SKILL.md) — $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
