MCP Server Studio
Search US court opinions, federal dockets, judges, citations, and oral arguments via CourtListener.
Registry name: io.github.cyanheads/courtlistener-mcp-server
Add to claude_desktop_config.json:
{
"mcpServers": {
"courtlistener-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"COURTLISTENER_API_TOKEN": "<COURTLISTENER_API_TOKEN>",
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
}
}
}
}Run in your terminal:
claude mcp add courtlistener-mcp-server -e COURTLISTENER_API_TOKEN='<COURTLISTENER_API_TOKEN>' -e MCP_LOG_LEVEL='<MCP_LOG_LEVEL>' -- npx -y @cyanheads/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"courtlistener-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"COURTLISTENER_API_TOKEN": "<COURTLISTENER_API_TOKEN>",
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"courtlistener-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"COURTLISTENER_API_TOKEN": "<COURTLISTENER_API_TOKEN>",
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"courtlistener-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"COURTLISTENER_API_TOKEN": "<COURTLISTENER_API_TOKEN>",
"MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"courtlistener-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://courtlistener.caseyjhand.com/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http courtlistener-mcp-server https://courtlistener.caseyjhand.com/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"courtlistener-mcp-server": {
"url": "https://courtlistener.caseyjhand.com/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"courtlistener-mcp-server": {
"type": "http",
"url": "https://courtlistener.caseyjhand.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"courtlistener-mcp-server": {
"serverUrl": "https://courtlistener.caseyjhand.com/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
COURTLISTENER_API_TOKEN | Yes | CourtListener API token from your account settings. Required for API access. |
MCP_LOG_LEVEL | No | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |