home / mcp / us legal mcp server
An MCP server that provides comprehensive US legislation.
Configuration
View docs{
"mcpServers": {
"jamesanz-us-legal-mcp": {
"command": "node",
"args": [
"/absolute/path/to/legal-mcp/dist/index.js"
]
}
}
}This MCP server brings authoritative US legal data into your AI tooling. It aggregates Congress bills, the Federal Register, and CourtListener opinions so you can perform multi-source searches and stay up to date with recent laws, regulations, and decisions right from your development environment.
You run the US Legal MCP Server in your environment and connect your MCP client (such as Claude Desktop or Cursor) to it. Use the provided tools to search across Congress.gov, the Federal Register, and CourtListener, or run a comprehensive search that covers all sources. When you query, youβll get results from the selected sources, enabling you to incorporate current legal data into your AI workflows.
Prerequisites: Node.js 18+ and npm. You will install and run the MCP server locally so your AI tools can access it.
# Clone the MCP server repository
git clone https://github.com/JamesANZ/legal-mcp.git
cd legal-mcp
# Install dependencies
npm install
# Build the server (if required by the project setup)
npm run build
# Start the server
npm startConfigure your AI client to connect to the MCP server via the local stdio interface shown in the example configuration. You will provide environment variables for optional API keys to enable enhanced access.
{
"mcpServers": {
"us_legal": {
"command": "node",
"args": ["/absolute/path/to/legal-mcp/dist/index.js"],
"env": {
"CONGRESS_API_KEY": "",
"COURT_LISTENER_API_KEY": ""
}
}
}
}To use the MCP server with Claude Desktop, add a configuration entry for the server in Claudeβs settings so it can launch and query the MCP server. Restart Claude Desktop after adding the configuration.
Examples show how to perform typical searches once the MCP server is running and connected to your client.
Search Congress bills and resolutions
Retrieve recently introduced legislation
List Congressional committees
Search Federal Register regulations and orders
Get recently published federal regulations
Search CourtListener court opinions (federal and state)
Get recent CourtListener court decisions
Comprehensive search across all sources