# CourtListener MCP MCP Server

> **CourtListener MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to CourtListener MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/courtlistener-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

CourtListener provides searchable access to U.S. case law, court opinions, dockets, judicial decisions, and legal filings. Find cases by citation, keyword, court, or judge; retrieve opinion texts and docket records; and research legal precedents using data from federal and state courts.

---

## Details

- Server ID: `courtlistener-mcp`
- Version: 3.4.0
- Tools: 19
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — CourtListener MCP has to be in the toolset
first. In order:

1. Add CourtListener MCP to your toolset at https://mewcp.com/mcp/courtlistener-mcp
2. Connect your CourtListener MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If CourtListener MCP isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `courtlistener-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (19)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `search` _(read)_ — Search for case law, dockets, judges, and oral arguments. `absolute_url` is a relative path; prefix it with `https://www.courtlistener.com`. Pass IDs, not…
- `get_endpoint_schema` _(read)_ — Get the schema for a CourtListener API endpoint. Use this for additional API endpoints which do not have a dedicated MCP tool. These endpoints are distinct…
- `call_endpoint` _(read)_ — Call CourtListener API endpoint. Use this for additional API endpoints which do not have a dedicated MCP tool. These endpoints are distinct from the search…
- `get_endpoint_item` _(read)_ — Get an item by ID from a CourtListener API endpoint.
- `get_choices` _(read)_ — List every valid value for a field whose choices are too long to include in its schema. Only the fields named in `field_name` need this; every other choice…
- `get_counts` _(read)_ — Get the number of results from a previous query. Some endpoints return the count lazily. Use this tool to retrieve the count from a previous query if it is not…
- `get_more_results` _(read)_ — Get more results from a previous query. Use this tool to continue paginating through results returned by the `search` or `call_endpoint` tools.
- `read_document` _(read)_ — Read the full text of a court opinion or RECAP document. Fetches the document text and either returns it in full or as one or more paginated chunks. For…
- `search_document` _(read)_ — Search for snippets within one or more court opinions or RECAP documents. Performs a case-insensitive literal search (similar to grep) and returns up to 20…
- `extract_citations` _(read)_ — Extract and resolve legal citations from text using eyecite. Runs locally with no API calls or rate limits. Handles all citation types: full case citations,…
- `analyze_citations` _(read)_ — Analyze and verify legal citations against CourtListener. Extracts all citations locally using eyecite, then verifies each unique case citation against…
- `resume_citation_analysis` _(read)_ — Resume verifying citations from a previous analysis. Use this after analyze_citations returns with pending citations due to rate limiting (more than 250 unique…
- `create_search_alert` _(write)_ — Create a search alert on CourtListener. Use `call_endpoint` with endpoint_id "alerts" to list existing alerts.
- `delete_search_alert` _(destructive)_ — Delete a search alert on CourtListener. Use `call_endpoint` with endpoint_id "alerts" to list existing alerts.
- `subscribe_to_docket_alert` _(write)_ — Subscribe to alerts for a docket on CourtListener. Use `call_endpoint` with endpoint_id "docket-alerts" to list existing subscriptions.
- `unsubscribe_from_docket_alert` _(destructive)_ — Unsubscribe from alerts for a docket on CourtListener. Looks up the alert by docket ID and deletes it, so you only need the docket ID (not the alert ID). Use…
- `pray_for_document` _(write)_ — Request a RECAP document that is not yet available on CourtListener through Pray and Pay. Prayers are pooled across users: when anyone buys the document from…
- `withdraw_prayer` _(destructive)_ — Withdraw a pending Pray and Pay request for a RECAP document. Looks up the user's pending prayer by RECAP document ID and deletes it, so you only need the…
- `get_api_usage` _(read)_ — Check the user's CourtListener API usage and rate limits. Returns live usage per throttle scope, daily request counts for the last 14 days, and membership…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/courtlistener-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/courtlistener-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/courtlistener-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/courtlistener-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/courtlistener-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/courtlistener-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/courtlistener-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/courtlistener-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/courtlistener-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/courtlistener-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/courtlistener-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/courtlistener-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/courtlistener-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/courtlistener-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/courtlistener-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/courtlistener-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/courtlistener-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/courtlistener-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/courtlistener-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/courtlistener-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/courtlistener-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/courtlistener-mcp/connect/junie
- Amp: https://mewcp.com/mcp/courtlistener-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/courtlistener-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/courtlistener-mcp/connect/goose
- Python: https://mewcp.com/mcp/courtlistener-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/courtlistener-mcp/connect/typescript