How to Use the CourtListener MCP in Claude Code
Pipe CourtListener data directly into your terminal workflows using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect CourtListener MCP to Claude Code
Create your Vinkius account to connect CourtListener to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run headless legal data pipelines
Terminal environments demand fast, scriptable access to data. Call Claude Code from your shell to hit `search_opinions` and pipe the resulting JSON straight into jq. You bypass the browser entirely. This MCP Server lets you integrate federal court data into your existing bash scripts or CI/CD jobs with a single command.
Audit court dockets via CLI
Tracking corporate litigation often requires scheduled jobs. You can wrap Claude Code in a cron task that triggers `search_dockets` every morning to check for new filings. If a new document drops, the tool fetches the details and fires off a Slack webhook. Backend engineers can treat the federal court system like just another internal microservice.
Extract judge citations with Claude Code
Building a search index requires bulk data extraction. Run a headless MCP session to pull a specific case via `get_opinion`, then iterate through `list_citations` to grab the references. The CLI agent handles the API pagination and outputs raw ndjson. You can pipe that output directly into Elasticsearch or Postgres without writing custom ingestion logic.
Set up CourtListener MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seecourtlistener-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest CourtListener transactions." It will automatically discover and invoke the available CourtListener tools.
claude mcp add --transport http courtlistener-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about CourtListener MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the CourtListener MCP today
We host it, we monitor it, we maintain it. You just paste one token.