legal-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@legal-mcpsearch for Supreme Court cases on free speech in 2023"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Legal MCP Server
US case law search, citation parsing, practice management, and federal court filings for AI assistants — powered by FastMCP.
Hosted at https://legal-mcp-production.up.railway.app/mcp
Setup
Add the server to your Claude Code settings (~/.claude/settings.json):
{
"mcpServers": {
"legal-mcp": {
"type": "url",
"url": "https://legal-mcp-production.up.railway.app/mcp",
"headers": {
"X-CourtListener-Token": "YOUR_COURTLISTENER_TOKEN"
}
}
}
}Getting a CourtListener token
Create a free account at https://www.courtlistener.com/sign-in/
Go to your profile and copy your API token
Add it as the
X-CourtListener-Tokenheader above
Optional: Clio practice management
If you have a Clio account with API access, add your OAuth token:
"headers": {
"X-CourtListener-Token": "YOUR_COURTLISTENER_TOKEN",
"X-Clio-Token": "YOUR_CLIO_OAUTH_TOKEN"
}Available tools
Tool | Description |
| Search 4M+ US court opinions by topic, court, or date range |
| Get full text and details of a specific opinion |
| Get docket info — parties, attorneys, judges, procedural history |
| Find cases that cite a given opinion |
| Find cases cited by a given opinion |
| Parse Bluebook-format citations from text |
| List all US courts and their filter codes |
| Reference for reporter abbreviations (U.S., F.3d, etc.) |
| Search PACER for federal cases (requires PACER credentials) |
| Get federal case details from PACER |
| Get docket entries for a federal case from PACER |
| Search Clio contacts (requires Clio token) |
| Search Clio matters/cases |
| Get full matter details from Clio |
| Get billable hours from Clio |
| Get tasks for a matter in Clio |
| Search documents in Clio |
| Get calendar entries from Clio |
Self-hosting
git clone https://github.com/jscottym/legal-mcp.git
cd legal-mcp
pip install -r requirements.txt
python -m legal_mcp.serverOr with Docker:
docker build -t legal-mcp .
docker run -p 8000:8000 -e COURTLISTENER_TOKEN=your_token legal-mcpEnvironment variables
Variable | Description |
| Server port (default: 8000) |
| Fallback CourtListener API token |
| Fallback Clio OAuth token |
| PACER login |
| PACER password |
| Set to |
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jscottym/legal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server