An MCP server that bridges Anthropic’s Claude (and other LLMs) with the CourtListener API for live legal data—opinions, dockets, court records, and more. Designed to power legal research and compliance tools with transparency, reliability, and fewer hallucinations. Scalable, open, and easy to extend.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"courtlistener": {
"url": "https://courtlistener-mcp.<subdomain>.workers.dev/mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Production-ready Model Context Protocol (MCP) server for CourtListener legal data. It exposes legal research tools over MCP (stdio and HTTP), with deployment-ready support for Cloudflare Workers, structured logging, caching, auth options, and CI testing.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'courtlistener-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked courtlistener-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in legal
87 tools for Korean law — statutes, precedents, ordinances, interpretations | MCP Server · CLI · npm
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
956k Swiss court decisions: full-text search, citation graph, statute lookup (DE/FR/IT)
AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)
MCP Security Weekly
Get CVE alerts and security updates for Courtlistener Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Production-ready Model Context Protocol (MCP) server for CourtListener legal
data. It exposes legal research tools over MCP (stdio and HTTP), with
deployment-ready support for local use, self-hosted remote deployments, hosted
Cloudflare Workers OAuth, structured logging, caching, and CI testing.
@modelcontextprotocol/sdkstdio, self-hosted remote HTTP, and hosted
remote OAuthconfigs/src/ core server, tool handlers, API integration, worker runtimesrc/web-spa/ browser portal (React SPA, Tailwind CSS v4); see
src/web-spa/DESIGN.mdconfigs/ ready-to-use MCP client configs for local, self-hosted, and hosted
clientsdocs/ deployment, testing, and operational documentationtest/ unit/integration/e2e test suitesscripts/ deployment helpers, diagnostics, inspector tooling, key managementBest for ChatGPT, Claude, Codex, and other remote clients that should not run the server locally:
{
"mcpServers": {
"courtlistener": {
"url": "https://courtlistener-mcp.<subdomain>.workers.dev/mcp",
"transport": "streamable-http"
}
}
}
Best for privacy, local development, and bring-your-own-auth setups. The npm
package is not currently published, so the local stdio server should be run
from this repository checkout:
git clone https://github.com/blakeox/courtlistener-mcp.git
cd courtlistener-mcp
pnpm install
pnpm build
node dist/index.js --setup
Or run it directly:
node dist/index.js
If you want a local shell command after building:
npm link
courtlistener-mcp --setup
git clone https://github.com/blakeox/courtlistener-mcp.git
cd courtlistener-mcp
pnpm install
pnpm build
node dist/http.js
cp .env.production .env
docker compose -f docker-compose.prod.yml up -d
This repository is configured to publish from .github/workflows/release.yml
when you push a version tag such as v1.0.5.
You have two supported auth paths:
NPM_TOKEN.Once one of those is configured, publish with:
git tag v1.0.5
git push origin v1.0.5
stdio)OIDC_*, service token, proxy auth, etc.)