A comprehensive Model Context Protocol (MCP) server for US legal data, providing access to Congress bills, Federal Register documents, US Code sections, and public comments on regulations.
- Search bills and resolutions
- Get recent legislation
- Access voting records and member information
- Real-time legislative data
- Search regulations and executive orders
- Get recent agency documents
- Access public comments
- Full document text and metadata
- Search federal statutes
- Browse by title and section
- Historical versions
- Complete legal text
- Search public comments
- Access rulemaking documents
- Agency information
- Public input on regulations
npm install
npm run build
# For enhanced Congress.gov access (free tier available)
export CONGRESS_API_KEY="your_congress_api_key"
# For Regulations.gov access
export REGULATIONS_GOV_API_KEY="your_regulations_gov_api_key"
npm start
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 documents (regulations, executive orders)
- Query: Search terms
- Limit: Number of results (1-50)
Search US Code sections (federal statutes)
- Query: Search terms
- Title: Optional title number (1-54)
- Limit: Number of results (1-50)
Search public comments on regulations
- Query: Search terms
- Limit: Number of results (1-50)
Comprehensive search across all sources
- Query: Search terms
- Limit: Results per source (1-50)
Get recently introduced bills
- Congress: Optional Congress number
- Limit: Number of results (1-50)
Get recently published Federal Register documents
- Limit: Number of results (1-50)
Get information about available data sources
Source | Description | API | Auth Required |
---|---|---|---|
Congress.gov | Bills, resolutions, voting records | https://api.congress.gov/v3 | Optional |
Federal Register | Regulations, executive orders | https://www.federalregister.gov/api/v1 | No |
US Code | Federal statutes | https://uscode.house.gov/api | No |
Regulations.gov | Public comments | https://api.regulations.gov/v4 | Yes |
- Visit https://api.congress.gov/
- Sign up for a free account
- Get your API key
- Set
CONGRESS_API_KEY
environment variable
- Visit https://api.regulations.gov/
- Sign up for an account
- Get your API key
- Set
REGULATIONS_GOV_API_KEY
environment variable
{
"tool": "search-congress-bills",
"arguments": {
"query": "immigration",
"congress": 118,
"limit": 10
}
}
{
"tool": "search-federal-register",
"arguments": {
"query": "environmental protection",
"limit": 5
}
}
{
"tool": "search-us-legal",
"arguments": {
"query": "healthcare",
"limit": 20
}
}
MIT License - see LICENSE file for details.
Contributions welcome! Please read the contributing guidelines and submit pull requests.