loading…
Search for a command to run...
loading…
An MCP server that provides comprehensive US legislation.
An MCP server that provides comprehensive US legislation.
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.
Ready to explore US legal data? Install in seconds:
Install in Cursor (Recommended):
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
search-congress-bills – Search bills and resolutionsget-recent-bills – Get recently introduced legislationget-congress-committees – List Congressional committeessearch-federal-register – Search regulations and executive ordersget-recent-regulations – Get recently published documentssearch-court-opinions – Search court opinions (federal and state)get-recent-court-opinions – Get recent court decisionssearch-all-legal – Comprehensive search across all sourcessearch_digital_asset_regulation – Aggregate search (Congress + Federal Register + all regulator feeds) scoped to crypto/stablecoin topicsget_genius_act_info – Curated reference for the GENIUS Act (S.1582, 119th Cong., Pub. L. 119-27) — US payment stablecoin frameworkget_clarity_act_info – Curated reference for the Digital Asset Market CLARITY Act (H.R.3633, 119th Cong.) — SEC/CFTC digital-asset jurisdictionget_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 billget_bill_text – All text versions (Introduced, Engrossed, Enrolled…) with PDF/HTML/XML linksget_public_law_text – GovInfo public law package + truncated full text (e.g., 119-27 for GENIUS Act)get_recent_regulator_news – Recent press releases from OCC, SEC, CFTC, Federal Reserve, Treasury, or FinCENsearch_regulator_news – Keyword search across any/all regulator press-release feedsClick the install link above or use:
cursor://anysphere.cursor-deeplink/mcp/install?name=legal-mcp&config=eyJsZWdhbC1tY3AiOnsiY29tbWFuZCI6Im5weCIsImFyZ3MiOlsiLXkiLCJ1cy1sZWdhbC1tY3AiXX19
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
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.
Find bills related to a specific topic:
{
"tool": "search-congress-bills",
"arguments": {
"query": "immigration",
"congress": 118,
"limit": 10
}
}
Find regulations on a topic:
{
"tool": "search-federal-register",
"arguments": {
"query": "environmental protection",
"limit": 5
}
}
Search across all sources simultaneously:
{
"tool": "search-all-legal",
"arguments": {
"query": "healthcare",
"limit": 20
}
}
Find court decisions:
{
"tool": "search-court-opinions",
"arguments": {
"query": "immigration asylum",
"court": "scotus",
"limit": 10
}
}
| Source | Description | API | Auth Required |
|---|---|---|---|
| Congress.gov | Bills, resolutions, committees, bill actions, bill text versions | https://api.congress.gov/v3 | Optional |
| Federal Register | Regulations, executive orders | https://www.federalregister.gov/api/v1 | No |
| CourtListener | Court opinions, decisions | https://www.courtlistener.com/api/ | Optional |
| GovInfo | Public laws, enrolled bill PDFs, XML | https://api.govinfo.gov | Optional (api.data.gov key) |
| OCC | Office of the Comptroller of the Currency news releases | https://www.occ.gov/rss/occ_news.xml | No |
| SEC | Securities and Exchange Commission press releases | https://www.sec.gov/news/pressreleases.rss | No |
| CFTC | Commodity Futures Trading Commission (general, enforcement, speeches) | https://www.cftc.gov/RSS/ | No |
| Federal Reserve | Federal Reserve Board press releases | https://www.federalreserve.gov/feeds/press_all.xml | No |
| Treasury | US Treasury press releases (HTML listing) | https://home.treasury.gov/news/press-releases | No |
| FinCEN | Financial Crimes Enforcement Network press releases (HTML listing) | https://www.fincen.gov/news/press-releases | No |
CONGRESS_API_KEY environment variableCOURT_LISTENER_API_KEY environment variableGOVINFO_API_KEY environment variable. Without it the server falls back to DEMO_KEY (rate-limited).Built with: Node.js, TypeScript, MCP SDK
Dependencies: @modelcontextprotocol/sdk, superagent, zod
Platforms: macOS, Windows, Linux
⭐ If this project helps you, please star it on GitHub! ⭐
Contributions welcome! Please open an issue or submit a pull request.
MIT License – see LICENSE file for details.
If you find this project useful, consider supporting it:
⚡ Lightning Network
lnbc1pjhhsqepp5mjgwnvg0z53shm22hfe9us289lnaqkwv8rn2s0rtekg5vvj56xnqdqqcqzzsxqyz5vqsp5gu6vh9hyp94c7t3tkpqrp2r059t4vrw7ps78a4n0a2u52678c7yq9qyyssq7zcferywka50wcy75skjfrdrk930cuyx24rg55cwfuzxs49rc9c53mpz6zug5y2544pt8y9jflnq0ltlha26ed846jh0y7n4gm8jd3qqaautqa
₿ Bitcoin: bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp
Ξ Ethereum/EVM: 0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"jamesanz-us-legal-mcp": {
"command": "npx",
"args": []
}
}
}