basedcryptoji

basedcryptoji / clerk

Public

AI-native legal data layer for the agentic economy. 500M+ US federal court records via x402 micropayments on Base. $0.001 USDC per query, or hold 1B+ $CLERK for free unlimited.

15
0
50% credibility
Found May 19, 2026 at 22 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

Clerk is a Python tool that gives AI assistants the ability to search and retrieve information from US federal court records. It provides access to over 500 million records across 94 federal courts through 11 different search endpoints. The service uses a micropayment model where each query costs about a tenth of a cent, paid in USDC cryptocurrency on the Base blockchain. Users can try the search feature for free in demo mode, or pay per query for full access. The project also promotes a cryptocurrency token ($CLERK) where holding a large amount grants unlimited free access to all endpoints. Built by Solvr Labs, the tool is designed for AI agents and developers who need to incorporate legal research into automated workflows.

How It Works

1
🔍 You discover a way to search court records

You hear about Clerk—a tool that gives AI assistants access to 500 million US federal court records without needing subscriptions or logins.

2
📦 You install the tool

You download Clerk and add it to your project in just a few lines, with only one small dependency required.

3
You try it free first

The search feature works immediately without payment, so you can test it out and see real court cases before spending anything.

4
Choose how to pay
💰
Pay as you go

You send a tiny amount of USDC (about a tenth of a cent) for each search you run—no subscription needed.

🪙
Hold tokens for free access

You acquire $CLERK tokens on Base blockchain; holding a large amount unlocks unlimited free searches forever.

5
⚖️ You search for cases

You ask for cases involving any party, judge, or keyword—like 'SEC v Ripple'—and get back detailed results instantly.

6
📋 You explore the details

You dive deeper into any case to see the full docket, all parties involved, filed documents, and court opinions.

🎉 You have legal intelligence at your fingertips

Your AI assistant can now research federal court cases on demand, with results flowing directly into your workflow.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 22 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is clerk?

Clerk is a Python SDK that gives AI agents access to over 500 million US federal court records across 94 federal courts. Instead of dealing with API keys and subscriptions, developers pay per query at $0.001 USDC using the x402 micropayment protocol on Base. The twist: hold 1 billion $CLERK tokens and queries are free forever. You can test it instantly in demo mode without spending anything.

Why is it gaining traction?

The permissionless payment model is the hook. AI agents can now query legal data without humans in the loop handling billing. The x402 protocol handles the payment handshake automatically when a 402 response fires, retrying with the USDC payment attached. For legal tech builders, this removes the biggest friction point in automated court record research.

Who should use this?

AI developers building legal research agents, compliance automation tools, or litigation analytics dashboards will get the most value. Researchers building case law datasets will appreciate the citations and opinion endpoints. Note: this covers federal courts only. State courts are out of scope.

Verdict

This is a proof-of-concept with a clever idea and very low credibility (15 stars, 0.5% score, alpha status). The x402 payment model works as described, but you'd want to see more community adoption and test coverage before betting production workloads on it. Worth watching if you're building in the legal AI space.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.