πΊπΈ US Legal MCP Server
A comprehensive Model Context Protocol (MCP) server for US legal data, providing access to Congress bills, Federal Register documents, court opinions, and committee data.
β¨ Features
π Congress.gov Integration
Search bills and resolutions
Get recent legislation
Get committee information
Real-time legislative data
π Federal Register Integration
Search regulations and executive orders
Get recent agency documents
Full document text and metadata
βοΈ CourtListener Integration
Search court opinions (federal and state courts)
Get recent court decisions
Access Supreme Court, appellate, and state court data
Full case text and metadata
π³οΈ Congress Committees
Get committee information
Filter by chamber (House/Senate)
Legislative activity tracking
π Quick Start
Installation
Environment Variables (Optional)
Running the Server
MCP Configuration (Cursor/Claude)
To use this MCP server with Cursor or Claude Desktop, add the following configuration:
For Cursor
Create or edit ~/.cursor/mcp.json (or your Cursor MCP config location):
Important: Replace /absolute/path/to/legal-mcp with your actual project path.
For Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
See mcp-config-example.json in this repository for a reference configuration.
π οΈ Available Tools
search-congress-bills
Search for bills and resolutions in Congress.gov
Query: Search terms (e.g., "immigration", "healthcare")
Congress: Optional Congress number (100-120)
Limit: Number of results (1-50)
search-federal-register
Search Federal Register documents (regulations, executive orders)
Query: Search terms
Limit: Number of results (1-50)
search-all-legal
Comprehensive search across all working sources (Congress Bills, Federal Register, Court Opinions)
Query: Search terms
Limit: Results per source (1-50)
get-recent-bills
Get recently introduced bills
Congress: Optional Congress number
Limit: Number of results (1-50)
get-recent-regulations
Get recently published Federal Register documents
Limit: Number of results (1-50)
search-court-opinions
Search for court opinions and decisions
Query: Search terms (e.g., "constitutional", "copyright")
Court: Optional court filter (e.g., "scotus", "ca1", "ca2")
Limit: Number of results (1-50)
get-recent-court-opinions
Get the most recently published court opinions
Court: Optional court filter
Limit: Number of results (1-50)
get-congress-committees
Get list of Congressional committees
Congress: Optional Congress number (100-120)
Chamber: Optional filter ("House" or "Senate")
π Data Sources
Source | Description | API | Auth Required | Status |
Congress.gov | Bills, resolutions, committees | Optional | β | |
Federal Register | Regulations, executive orders | No | β | |
CourtListener | Court opinions, decisions | Optional | β |
Note: US Code and Regulations.gov integrations were removed due to persistent API reliability issues.
π API Keys
Congress.gov API Key (Optional)
Sign up for a free account
Get your API key
Set
CONGRESS_API_KEYenvironment variable
CourtListener API Key (Optional)
Create a free account
Get your API key from your profile
Set
COURT_LISTENER_API_KEYenvironment variable
Note: A pre-configured API key is included in the example MCP config file for quick setup.
π― Example Usage
Search for Immigration Bills
Search Federal Regulations
Comprehensive Legal Search
Search Court Opinions
Get Congressional Committees
π License
MIT License - see LICENSE file for details.
π€ Contributing
Contributions welcome! Please read the contributing guidelines and submit pull requests.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP server that provides comprehensive US legislation.