
Legal Search
- 16 installs
- 869 repo stars
- Updated June 8, 2026
- beita6969/scienceclaw
Legal-search is a Claude skill that searches US and EU case law, court opinions, dockets, and regulations via the CourtListener, Harvard Case Law, and EUR-Lex APIs.
About
Legal-search queries US and EU case law, court opinions, dockets, and regulations through CourtListener, Harvard Case Law Access Project, and EUR-Lex. It shows curl-based API calls to search by keyword, citation, date range, jurisdiction, and court. A user runs it to find reference legal materials, with an explicit rule never to provide legal advice.
- Searches US case law via CourtListener and Harvard Case Law Access Project
- Queries EU legislation and case law via EUR-Lex SPARQL
- Supports filtering by date range, jurisdiction, and court code
Legal Search by the numbers
- 16 all-time installs (skills.sh)
- Ranked #1,049 of 1,879 Documentation skills by installs in the Skillselion catalog
- Data as of Aug 2, 2026 (Skillselion catalog sync)
legal-search capabilities & compatibility
Free; CourtListener basic search needs no key, higher rate limits and Harvard require registration
- Capabilities
- legal analysis · literature search
- Use cases
- research · web search
- Platforms
- macOS · Linux
- Pricing
- Free
What legal-search says it does
Search US and EU case law, court opinions, dockets, and regulations via CourtListener, Harvard Case Law, and EUR-Lex.
CourtListener requires no API key for basic search; register for higher rate limits.
Never provide legal advice; present search results as reference material only.
npx skills add https://github.com/beita6969/scienceclaw --skill legal-searchAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 16 |
|---|---|
| repo stars | ★ 869 |
| Last updated | June 8, 2026 |
| Repository | beita6969/scienceclaw ↗ |
What it does
Search US and EU case law, opinions, dockets, and regulations by keyword, citation, or jurisdiction.
Who is it for?
Searching US and EU case law, dockets, and regulations by keyword, citation, or jurisdiction.
Skip if: Current legislation text, legal advice, or patent search.
When should I use this skill?
You need to find court opinions, dockets, or EU legislation across legal databases.
What you get
A set of real case-law and regulation results filtered by keyword, citation, date, jurisdiction, or court.
- Lists of matching case-law opinions, dockets, and regulations
By the numbers
- Harvard Case Law covers US cases 1658-2020
- Three legal data sources (CourtListener, Harvard, EUR-Lex)
Files
Legal Case Law and Regulation Search
Search US case law via CourtListener and Harvard Case Law Access Project, and EU law via EUR-Lex. Covers court opinions, dockets, and legislative documents.
CourtListener API (US Case Law)
Free, open API for US federal and state court opinions and dockets. Base URL: https://www.courtlistener.com/api/rest/v4/
Search Opinions
curl -s "https://www.courtlistener.com/api/rest/v4/search/?q=qualified+immunity&type=o&order_by=score+desc" \
| python3 -c "
import sys, json
data = json.load(sys.stdin)
for r in data.get('results', [])[:10]:
name = r.get('caseName', 'N/A')
court = r.get('court', 'N/A')
date = r.get('dateFiled', 'N/A')
cite = r.get('citation', [r.get('sibling_ids', 'N/A')])
print(f'[{date}] {name}')
print(f' Court: {court}')
print()
"Search Dockets
curl -s "https://www.courtlistener.com/api/rest/v4/search/?q=antitrust+merger&type=r&order_by=score+desc"Filter by Date Range
curl -s "https://www.courtlistener.com/api/rest/v4/search/?q=fourth+amendment+digital+privacy&type=o&filed_after=2020-01-01&filed_before=2024-12-31&order_by=dateFiled+desc"Filter by Court
# Supreme Court opinions
curl -s "https://www.courtlistener.com/api/rest/v4/search/?q=free+speech&type=o&court=scotus&order_by=dateFiled+desc"
# Specific circuit court
curl -s "https://www.courtlistener.com/api/rest/v4/search/?q=patent+eligibility&type=o&court=cafc&order_by=dateFiled+desc"Common Court Codes
scotus (SCOTUS), ca1-ca11 (Circuit Courts), cafc (Federal Circuit), cadc (DC Circuit), nyd (SDNY), cand (N.D. Cal).
Harvard Case Law Access Project
Historical US case law (1658-2020). Free API with registration. Base URL: https://api.case.law/v1/
Search Cases
curl -s "https://api.case.law/v1/cases/?search=miranda+rights&decision_date_min=2000-01-01&page_size=10" \
| python3 -c "
import sys, json
data = json.load(sys.stdin)
for c in data.get('results', []):
name = c.get('name_abbreviation', 'N/A')
date = c.get('decision_date', 'N/A')
court = c.get('court', {}).get('name', 'N/A')
cite = c.get('citations', [{}])[0].get('cite', 'N/A') if c.get('citations') else 'N/A'
print(f'[{date}] {name}')
print(f' Citation: {cite} Court: {court}\n')
"Search by Citation
curl -s "https://api.case.law/v1/cases/?cite=410+U.S.+113"Filter by Jurisdiction
curl -s "https://api.case.law/v1/cases/?search=eminent+domain&jurisdiction=cal&decision_date_min=2010-01-01&page_size=10"EUR-Lex (EU Law)
Access EU legislation, case law, and treaties via the EUR-Lex SPARQL endpoint.
Search EU Legislation via SPARQL
curl -s -G "https://eur-lex.europa.eu/EURLexWebService" \
--data-urlencode "query=SELECT ?doc ?title WHERE {
?doc a <http://publications.europa.eu/ontology/cdm#regulation> ;
<http://publications.europa.eu/ontology/cdm#resource_legal_title> ?title .
FILTER(CONTAINS(LCASE(?title), 'artificial intelligence'))
} LIMIT 10" \
--data-urlencode "format=application/sparql-results+json"Lookup by CELEX Number
curl -s "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679" -o gdpr.htmlBest Practices
1. Use CourtListener for recent US case law; it has the most up-to-date coverage. 2. Use Harvard Case Law for historical cases and bulk data access. 3. CourtListener requires no API key for basic search; register for higher rate limits. 4. Always include date filters to narrow results for broad legal topics. 5. For citation lookups, normalize to standard reporter format (e.g., "410 U.S. 113"). 6. EUR-Lex SPARQL queries can be complex; start with keyword REST search first. 7. Never provide legal advice; present search results as reference material only.
Related skills
FAQ
Which sources does legal-search use?
It searches CourtListener and the Harvard Case Law Access Project for US law and EUR-Lex for EU legislation and case law.
Does it need an API key?
CourtListener requires no API key for basic search; registration raises rate limits, and Harvard Case Law requires registration.