[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [CourtListener court directory](https://spiral.ai/integrations/perplexity/courtlistener-court-directory)

# How to Use CourtListener court directory in Perplexity

Returns CourtListener court records with names, IDs, citation abbreviations, websites, jurisdiction types, and institutional dates. Use it to identify courts and prepare court-specific research filters.

|  |  |
| --- | --- |
| Model | CourtListener court directory |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with CourtListener court directory in Perplexity

- Use CourtListener court directory to find the Supreme Court of the United States and show its court ID, full name, citation abbreviation, homepage, and establishment date.
- Use CourtListener court directory to list the federal courts of appeals, with their full names, court IDs, and citation abbreviations.
- Use CourtListener court directory to find California's state supreme and appellate courts and make a table of their names and homepage links.
- Use CourtListener court directory to compare the returned records for the United States Court of Claims and the United States Court of Federal Claims, including their institutional dates.
- Use CourtListener court directory to find New York's federal district courts and show their full names, court IDs, and citation abbreviations.

## How to set up CourtListener court directory in Perplexity

Pick the way that suits you. Each takes about two minutes.

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run CourtListener court directory**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "courtlistener-com/courts/courts",
    "input": {
      "page": 1
    }
  }'
```

Then paste one of the prompts above: Perplexity finds CourtListener court directory on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/perplexity

## CourtListener court directory tools and prices

- [CourtListener · Courts](https://spiral.ai/tools/alexandria/courtlistener-com/courts/courts) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 1000 | 1 | page |
| in_use |  | — | Only courts CourtListener currently collects; set false to include historical courts. |
| jurisdiction | F, FD, FB, FBP, FS, S, SA, SS, ST, TRS, TRT, MA, MS, C, I, T | — | jurisdiction |

## What can you do with CourtListener court directory in Perplexity?

Get a reference table of court names, abbreviations, and website links for a research brief. A chat assistant can also explain which returned dates describe a court's existence and help distinguish institutions with similar names.

### Build a court selector

Populate a legal research interface with returned court names and IDs so readers can choose a specific institution.

### Prepare court-specific research

Find the CourtListener IDs for the Ninth Circuit and California Supreme Court before conducting separate case searches.

### Resolve court abbreviations

Create a reference table connecting returned citation abbreviations to full court names for an editorial or research team.

### Plan historical research

Review establishment and abolition dates for historical institutions to identify which court records deserve further investigation.

### Maintain a court website directory

Organize returned court homepage links by court name and jurisdiction type for a public legal resource.

### Monitor directory changes

Compare successive court directory results to identify changed names, homepage links, citation abbreviations, or institutional dates.

### Audit court metadata

Identify records missing institutional dates or homepage links and produce a focused list for manual research.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Perplexity guides](https://spiral.ai/integrations/perplexity)

## CourtListener court directory in other agents

- [Amp](https://spiral.ai/integrations/amp/courtlistener-court-directory)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/courtlistener-court-directory)
- [Claude](https://spiral.ai/integrations/claude-desktop/courtlistener-court-directory)
- [Claude Code](https://spiral.ai/integrations/claude-code/courtlistener-court-directory)
- [Cline](https://spiral.ai/integrations/cline/courtlistener-court-directory)
- [Codex](https://spiral.ai/integrations/codex/courtlistener-court-directory)
- [Cursor](https://spiral.ai/integrations/cursor/courtlistener-court-directory)
- [Devin](https://spiral.ai/integrations/devin/courtlistener-court-directory)
- [dots](https://spiral.ai/integrations/dots/courtlistener-court-directory)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/courtlistener-court-directory)
- [Gemini](https://spiral.ai/integrations/gemini/courtlistener-court-directory)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/courtlistener-court-directory)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/courtlistener-court-directory)
- [goose](https://spiral.ai/integrations/goose/courtlistener-court-directory)
- [Grok](https://spiral.ai/integrations/grok/courtlistener-court-directory)
- [Grok Build](https://spiral.ai/integrations/grok-build/courtlistener-court-directory)
- [Hermes](https://spiral.ai/integrations/hermes/courtlistener-court-directory)
- [Instinct](https://spiral.ai/integrations/instinct/courtlistener-court-directory)
- [Manus](https://spiral.ai/integrations/manus/courtlistener-court-directory)
- [Muse](https://spiral.ai/integrations/muse/courtlistener-court-directory)
- [Muse Code](https://spiral.ai/integrations/muse-code/courtlistener-court-directory)
- [n8n](https://spiral.ai/integrations/n8n/courtlistener-court-directory)
- [Notion](https://spiral.ai/integrations/notion/courtlistener-court-directory)
- [OpenClaw](https://spiral.ai/integrations/openclaw/courtlistener-court-directory)
- [opencode](https://spiral.ai/integrations/opencode/courtlistener-court-directory)
- [Raycast](https://spiral.ai/integrations/raycast/courtlistener-court-directory)
- [VS Code](https://spiral.ai/integrations/vscode/courtlistener-court-directory)
- [Windsurf](https://spiral.ai/integrations/windsurf/courtlistener-court-directory)
- [Zapier](https://spiral.ai/integrations/zapier/courtlistener-court-directory)

## More Perplexity guides

- [Cornell LII state regulation](https://spiral.ai/integrations/perplexity/cornell-lii-state-regulation)
- [CourtListener docket entries](https://spiral.ai/integrations/perplexity/courtlistener-docket-entries)
- [Cornell LII legal table of contents](https://spiral.ai/integrations/perplexity/cornell-lii-legal-table-of-contents)
- [CourtListener docket search](https://spiral.ai/integrations/perplexity/courtlistener-docket-search)
- [Cornell LII federal regulation](https://spiral.ai/integrations/perplexity/cornell-lii-federal-regulation)
- [CourtListener opinion search](https://spiral.ai/integrations/perplexity/courtlistener-opinion-search)

## Questions about CourtListener court directory in Perplexity

**Can Perplexity use CourtListener court directory?**

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run CourtListener court directory like any built-in tool.

**How much does CourtListener court directory cost in Perplexity?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Perplexity plan is separate.

**Do I need an Alexandria account to use CourtListener court directory in Perplexity?**

No. Spiral runs CourtListener court directory on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CourtListener court directory in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while CourtListener court directory runs?**

CourtListener court directory runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.

**How many courts does CourtListener list?**

CourtListener's public directory lists 3,363 jurisdictions at the time checked. Its court database includes current and historical institutions.

**Are court dates and other details complete?**

CourtListener explicitly identifies missing dates and other incomplete information in its jurisdiction directory. A listed court can therefore lack some institutional details.

**Do start and end dates show the available case history?**

The start date describes when the court was established, and the end date describes when it was abolished, if known. These are institutional dates, so they do not establish the date range of CourtListener's decisions.

**Does the modification date show when the latest opinion arrived?**

The modification timestamp records when the court record changed. It does not measure how recently CourtListener collected a decision from that court.

**How do court IDs relate to case records?**

CourtListener links opinions through dockets to court records. For example, scotus is the court ID used for the Supreme Court.

