stare.pub

About stare.pub

stare.pub resolves U.S. case citations to the full text of the decision and to the original scanned pages of the reporter it was printed in. Type 31 A.2d 647 and you get the opinion. It's a Codex Publicus project, built by lokkju.

Everything runs in your browser. The site, the citation index and the case data are all static files: there's no server doing work on your behalf, no database, and no API to go down. There's no account to create and nothing to sign up for. I count visits with Cloudflare Web Analytics, which sets no cookies and reports only aggregate numbers.

stare.pub aggregates published case law from the Caselaw Access Project and CourtListener, and produces it as static data you can host yourself: the citation index, the case records, the reporter map and the schemas, served as plain files anyone can mirror, with no account, key or per-request server. Agents and tools use those same files with plain GETs, or through tools that run on their own machine (the stare command line tool, in alpha, and a planned local MCP server) rather than a hosted API. llms.txt has the recipe, and the data page describes the files.

Published case law is the law. Reading it shouldn't depend on a subscription, or on any one institution's continued goodwill and funding.

The data

stare.pub holds 7.8 million decisions from 1658 to 2026, from the Caselaw Access Project and CourtListener.

Most of the cases come from the Caselaw Access Project (CAP). Between 2013 and 2018 the Harvard Law School Library scanned its collection of American case reporters: 40,622 volumes holding 6.9 million cases, decided between 1658 and 2020. The case data is public domain.

Ravel Law paid for the scanning in exchange for a period of exclusive commercial use, which passed to LexisNexis when it bought Ravel in 2017 and ran until March 2024. When it ended, Harvard published the whole corpus as bulk files at static.case.law, and on September 1, 2024 it retired the CAP website and its API. The bulk files are still up. Nobody has said for how long.

Codex Publicus holds a complete copy of that release, all 10.4 TB of it: the case text, the page scans, the OCR and the metadata. stare.pub reads its case text from that copy.

The rest come from CourtListener, the case law archive run by the Free Law Project. From CourtListener's bulk data stare.pub takes the opinions and metadata of cases CAP doesn't hold, including the decisions after CAP's last volumes, and the parallel citations CourtListener records, so a citation to one reporter finds the same decision printed in another. CourtListener marks its bulk data with the Public Domain Mark 1.0, "free of known copyright restrictions." The live index, v2026.10.26.2, is built from CourtListener's export of 2026-09-30, and data.stare.pub serves 900,342 case records from it. Each record names CourtListener and Free Law Project as its source, and the case view links the opinion on CourtListener. Those cases have text and metadata but no page scans.

How it works

When you look up a citation, your browser:

A case has three views. Reader is its text. Archival PDF shows the case's pages from our archival PDF of the volume: the bitonal scans, with the OCR as a text layer you can select and copy. The PDFs are linearized, so the viewer reads the file's header and cross-reference table and then only the pages you look at, a few hundred KB of a file that runs to 84 MB for the largest volume. Raw Scans shows CAP's original color scans. Each page is a color JPEG of about 180 KB inside the volume's tar archive, which typically runs around 200 MB; the viewer reads the archive's table of contents and fetches only the bytes of the page you're looking at.

Where it stands

Done:

In progress:

Planned:

What's new

v2026.11.05.1 · 2026-11-05

Fixes

v2026.11.04.1 · 2026-11-04

Features

v2026.11.02.2 · 2026-11-02

Features

All updates · Atom feed

Help preserve case law

Harvard has kept the bulk files online so far. One host is still one point of failure, and every independent copy of the full release is one more place it survives if static.case.law goes away.

Built on

stare.pub is one of the Codex Publicus projects. Write to info@codexpublicus.org with questions, corrections or a mirror you run.

← Back to stare.pub