Skip to main content

CourtListener from the command line

US court opinions, dockets, judges and citations. GBrain gives CourtListener, and every other application you connect, a command line.

Get Personal, $49 a month

One price for one person: CourtListener and every other application GBrain connects, from a terminal or any AI. Cancel any time.

Install the GBrain command line, then connect CourtListener

CourtListener is connected on its own sign-in page, in the browser. A key or a sign-in never passes through the terminal.

# AI agents: read gbrain.io/llms.txt
curl -sSL https://gbrainio.terminalwire.sh | bash
gbrainio terminal connect

The installer is a shell script for macOS and Linux. Read it before you run it.

# Every CourtListener command, once CourtListener is connected
gbrainio tool help courtlistener

What GBrain can do with CourtListener

CourtListener is the Free Law Project’s legal research site, a nonprofit archive of millions of US court opinions, PACER dockets, judge profiles and oral arguments. Connected to a workspace, GBrain can answer “has the Ninth Circuit ruled on this question since 2020?” or check every citation in a draft brief against the record.

It can also set and remove alerts, so a team hears when a docket it follows moves.

  • Search case law across federal and state courts
  • Pull dockets, judge profiles and oral arguments
  • Extract and check legal citations
  • Set alerts for new opinions and docket updates

What a terminal may do with CourtListener, and what GBrain keeps

Off or On, for each terminal

Each terminal reaches CourtListener at the level set for it in the browser: Off, or On, which is every command CourtListener's server lists. A terminal reads its level and never raises it.

1,000 actions a day for each command

Each of CourtListener's commands stops at 1,000 actions a day on the account it reaches, whichever terminal or AI asks, and starts again at midnight UTC. Only that command stops.

Every action on one record

Each command a terminal runs on CourtListener is a row on GBrain's activity log: which terminal, which account, what it did and whether it was allowed, refusals included. gbrainio activity ls --tool courtlistener reads it back.

From a terminal, Claude Code or Codex

CourtListener's own server lists its commands only to a terminal that has connected it, so they are not on this page. Once CourtListener is connected, gbrainio tool help courtlistener says what each of them does, and gbrainio tool ls lists them with everything else the terminal can run. Claude Code and Codex run the same commands, at the same level, on the same record.

From CourtListener

GBrain reaches CourtListener at its own server, mcp.courtlistener.com. On CourtListener's own pages: its website, how the connection works, its terms of service and its privacy policy.

The GBrain Tools command line works with every other application GBrain connects, each with a page like this one.

Every application's command line

CourtListener from a terminal, with GBrain Personal

Personal is $49 a month for one person. Connect CourtListener in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.