JamesANZ/us-legal-mcp

βš–οΈ Legal
0 Views
0 Installs

πŸ“‡ ☁️ - An MCP server that provides comprehensive US legislation.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "jamesanz-us-legal-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "jamesanz-us-legal-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

πŸ‡ΊπŸ‡Έ US Legal MCP Server

Comprehensive US legal data in your AI workflow. Search Congress bills, Federal Register documents, court opinions, and committees. No API keys required (optional for enhanced access).

An MCP (Model Context Protocol) server that brings authoritative US legal information into AI coding environments like Cursor and Claude Desktop.

Why Use US Legal MCP?

  • πŸ†“ No API Keys Required – Works out of the box (optional keys for enhanced access)
  • πŸ“œ Comprehensive Sources – Congress, Federal Register, CourtListener
  • ⚑ Easy Setup – One-click install in Cursor or simple manual setup
  • πŸ” Multi-Source Search – Search across all legal sources simultaneously
  • πŸ“Š Real-time Data – Recent bills, regulations, and court opinions

Quick Start

Ready to explore US legal data? Install in seconds:

Install in Cursor (Recommended):

πŸ”— Install in Cursor

Or install manually:

npm install -g us-legal-mcp
# Or from source:
git clone https://github.com/JamesANZ/legal-mcp.git
cd legal-mcp && npm install && npm run build

Features

πŸ“œ Congress.gov

  • search-congress-bills – Search bills and resolutions
  • get-recent-bills – Get recently introduced legislation
  • get-congress-committees – List Congressional committees

πŸ“‹ Federal Register

  • search-federal-register – Search regulations and executive orders
  • get-recent-regulations – Get recently published documents

βš–οΈ CourtListener

  • search-court-opinions – Search court opinions (federal and state)
  • get-recent-court-opinions – Get recent court decisions

πŸ” Multi-Source

  • search-all-legal – Comprehensive search across all sources
  • search_digital_asset_regulation – Aggregate search (Congress + Federal Register + all regulator feeds) scoped to crypto/stablecoin topics

πŸͺ™ Digital Asset & Crypto Legislation

  • get_genius_act_info – Curated reference for the GENIUS Act (S.1582, 119th Cong., Pub. L. 119-27) β€” US payment stablecoin framework
  • get_clarity_act_info – Curated reference for the Digital Asset Market CLARITY Act (H.R.3633, 119th Cong.) β€” SEC/CFTC digital-asset jurisdiction
  • get_curated_act – Fetch any curated act by slug (genius-act, clarity-act)
  • get_bill_details – Live Congress.gov metadata for any bill (by billId like s1582-119 or hr3633-119)
  • get_bill_actions – Full chronological action history for a bill
  • get_bill_text – All text versions (Introduced, Engrossed, Enrolled…) with PDF/HTML/XML links
  • get_public_law_text – GovInfo public law package + truncated full text (e.g., 119-27 for GENIUS Act)

πŸ›οΈ Regulator News Feeds

  • get_recent_regulator_news – Recent press releases from OCC, SEC, CFTC, Federal Reserve, Treasury, or FinCEN
  • search_regulator_news – Keyword search across any/all regulator press-release feeds

Installation

Cursor (One-Click)

Click the install link above or use:

cursor://anysphere.cursor-deeplink/mcp/install?name=legal-mcp&config=eyJsZWdhbC1tY3AiOnsiY29tbWFuZCI6Im5weCIsImFyZ3MiOlsiLXkiLCJ1cy1sZWdhbC1tY3AiXX19

Manual Installation

Requirements: Node.js 18+ and npm

# Clone and build
git clone https://github.com/JamesANZ/legal-mcp.git
cd legal-mcp
npm install
npm run build

# Run server
npm start

Claude Desktop

Add to claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "us-legal-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/legal-mcp/dist/index.js"],
      "env": {
        "CONGRESS_API_KEY": "",
        "COURT_LISTENER_API_KEY": "",
        "GOVINFO_API_KEY": ""
      }
    }
  }
}

Restart Claude Desktop after configuration.

Usage Examples

Search Congress Bills

Find bills related to a specific topic:

{
  "tool": "search-congress-bills",
  "arguments": {
    "query": "immigration",
    "congress": 118,
    "limit": 10
  }
}

Search Federal Regulations

Find regulations on a topic:

{
  "tool": "search-federal-register",
  "arguments": {
    "query": "environmental protection",
    "limit": 5
  }
}

Comprehensive Legal Search

Search across all sources simultaneously:

{
  "tool": "search-all-legal",
  "arguments": {
    "query": "healthcare",
    "limit": 20
  }
}

Search Court Opinions

Find court decisions:

{
  "tool": "search-court-opinions",
  "arguments": {
    "query": "immigration asylum",
    "court": "scotus",
    "limit": 10
  }
}

Data Sources

SourceDescriptionAPIAuth Required
Congress.govBills, resolutions, committees, bill actions, bill text versionshttps://api.congress.gov/v3Optional
Federal RegisterRegulations, executive ordershttps://www.federalregister.gov/api/v1No
CourtListenerCourt opinions, decisionshttps://www.courtlistener.com/api/Optional
GovInfoPublic laws, enrolled bill PDFs, XMLhttps://api.govinfo.govOptional (api.data.gov key)
OCCOffice of the Comptroller of the Currency news releaseshttps://www.occ.gov/rss/occ_news.xmlNo
SECSecurities and Exchange Commission press releaseshttps://www.sec.gov/news/pressreleases.rssNo
CFTCCommodity Futures Trading Commission (general, enforcement, speeches)https://www.cftc.gov/RSS/No
Federal ReserveFederal Reserve Board press releaseshttps://www.federalreserve.gov/feeds/press_all.xmlNo
TreasuryUS Treasury press releases (HTML listing)https://home.treasury.gov/news/press-releasesNo
FinCENFinancial Crimes Enforcement Network press releases (HTML listing)https://www.fincen.gov/news/press-releasesNo

API Keys (Optional)

Congress.gov API Key

  1. Visit https://api.congress.gov/
  2. Sign up for a free account
  3. Get your API key
  4. Set CONGRESS_API_KEY environment variable

CourtListener API Key

  1. Visit https://www.courtlistener.com/api/
  2. Create a free account
  3. Get your API key from your profile
  4. Set COURT_LISTENER_API_KEY environment variable

GovInfo API Key

  1. Visit https://api.data.gov/signup/ to request a free key
  2. Set GOVINFO_API_KEY environment variable. Without it the server falls back to DEMO_KEY (rate-limited).

Use Cases

  • Legal Researchers – Quick access to bills, regulations, and court opinions
  • Policy Analysts – Track legislation and regulatory changes
  • Lawyers – Reference tool for case law and regulations
  • Developers – Build apps with authoritative legal data

Technical Details

Built with: Node.js, TypeScript, MCP SDK
Dependencies: @modelcontextprotocol/sdk, superagent, zod
Platforms: macOS, Windows, Linux

Contributing

⭐ If this project helps you, please star it on GitHub! ⭐

Contributions welcome! Please open an issue or submit a pull request.

License

MIT License – see LICENSE file for details.

Support

If you find this project useful, consider supporting it:

⚑ Lightning Network

lnbc1pjhhsqepp5mjgwnvg0z53shm22hfe9us289lnaqkwv8rn2s0rtekg5vvj56xnqdqqcqzzsxqyz5vqsp5gu6vh9hyp94c7t3tkpqrp2r059t4vrw7ps78a4n0a2u52678c7yq9qyyssq7zcferywka50wcy75skjfrdrk930cuyx24rg55cwfuzxs49rc9c53mpz6zug5y2544pt8y9jflnq0ltlha26ed846jh0y7n4gm8jd3qqaautqa

β‚Ώ Bitcoin: bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp

Ξ Ethereum/EVM: 0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f

Related MCP Servers

ad0750/regintel-mcp

🐍 ☁️ - MCP server for the RegIntel API: structured regulatory data across 41 jurisdictions and 212 regulations (GDPR, MiCA, DORA, SEC, FINRA, FCA, APRA, ASIC, MAS). Tools for search, lookup, recent updates, and compliance checks.

βš–οΈ Legal0 views
ark-forge/mcp-eu-ai-act

πŸ“‡ ☁️ - EU AI Act compliance scanner that detects regulatory violations in AI codebases with risk classification and remediation guidance.

βš–οΈ Legal0 views
atomno-labs/mcp-sudact

🐍☁️ - Russian court practice (Sudact): case search by article, court, instance and dates; full decision text.

βš–οΈ Legal0 views
atomno-mcp/mcp-fssp

🐍☁️ - FSSP enforcement proceedings lookup for Russian debtors and compliance checks.

βš–οΈ Legal0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it β†’
β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.