xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
CourtListener logo

Search Cases By Problem

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.

$0.01/call
Flat rate
CourtListener
Raw SKILL.mdTool Page

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:

  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

ParameterTypeRequiredDescription
date_rangestringNoTime range preference for cases
problem_summarystringNoBrief summary of the legal problem for context (1-2 sentences)
court_levelstringNoLevel of courts to search
jurisdictionstringNoJurisdiction 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)
limitnumberNoNumber of cases to return (1-20)
case_typestringNoType of legal issue
search_keywordsarrayYesArray 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 — $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
// 1. Get full schema
xpay_details("courtlistener/search_cases_by_problem")
// 2. Execute
xpay_run("courtlistener/search_cases_by_problem", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

date_range

stringNo

Time range preference for cases

problem_summary

stringNo

Brief summary of the legal problem for context (1-2 sentences)

court_level

stringNo

Level of courts to search

jurisdiction

stringNo

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

numberNo

Number of cases to return (1-20)

case_type

stringNo

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"])

Related Tools from CourtListener
Get Case Details — $0.01Find Similar Precedents — $0.01Analyze Case Outcomes — $0.01Get Judge Analysis — $0.01Validate Citations — $0.01Get Procedural Requirements — $0.01Track Legal Trends — $0.01Search Pacer Dockets — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/courtlistener/search-cases-by-problem/SKILL.md
CLI
npx @xpaysh/cli install courtlistener/search-cases-by-problem
Manual
curl -o SKILL.md https://xpay.tools/skills/courtlistener/search-cases-by-problem/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

CourtListener

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service