Skip to main content
Glama
amurshak

CongressMCP-full

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENABLE_AUTHNoEnable authenticationtrue
SUPABASE_URLNoSupabase project URL
ADMIN_API_KEYNoAdmin API key for key management
ENABLE_STRIPENoEnable payment integrationtrue
RESEND_API_KEYNoResend API key
ENABLE_DATABASENoEnable database featurestrue
CONGRESS_API_KEYYesYour Congress.gov API key (required)
FRONTEND_BASE_URLNoFrontend URL for magic links
LAWGIVER_API_KEYSNoAPI keys for user authentication (format: tier:user:key)
RESEND_FROM_EMAILNoFrom email address for Resend
STRIPE_SECRET_KEYNoStripe secret key
SUPABASE_ANON_KEYNoSupabase anonymous key
CONGRESSMCP_API_KEYNoYour API key for accessing the Congress.gov API
LAWGIVER_JWT_SECRETNoJWT secret for authentication
SUPABASE_SERVICE_KEYNoSupabase service role key
ENABLE_KEY_MANAGEMENTNoEnable admin key managementfalse
STRIPE_WEBHOOK_SECRETNoStripe webhook secret
STRIPE_PRICE_PRO_ANNUALNoStripe price ID for Pro annual
STRIPE_PRICE_PRO_MONTHLYNoStripe price ID for Pro monthly
MAGIC_LINK_EXPIRY_MINUTESNoMagic link expiry time60

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
billsB
Comprehensive Bills Tool - All bill operations in one focused interface.

FLEXIBLE BILL IDENTIFICATION (NEW):
Use bill_id for natural language references like 'HR 1234', 'H.R. 1234, 118th Congress', 
'hr1234-118', 'S 456', etc. Automatically parses to congress/bill_type/bill_number.

CORE OPERATIONS:
• Search & Discovery: search_bills, get_bills, get_recent_bills
• Details & Metadata: get_bill_details, get_bill_titles, get_bill_subjects
• Text & Content: get_bill_text, get_bill_text_versions, get_bill_content
• Summaries: get_bill_summaries
• Relationships: get_bill_related_bills, get_bill_amendments
• Legislative Process: get_bill_actions, get_bill_committees, get_bill_cosponsors
• Date-Based: get_bills_by_date_range

Args:
    operation: Specific operation to perform (see list above)
    bill_id: Flexible bill reference (e.g., 'HR 1234', 'H.R. 1234, 118th Congress', 'hr1234-118')
             Automatically parsed to populate congress, bill_type, bill_number
    keywords: Search keywords for content and metadata
    congress: Congress number (118 for current, 119 for next)
    bill_type: hr, s, hjres, sjres, hconres, sconres, hres, sres
    bill_number: Specific bill number within type and congress
    limit: Results limit (max 250 for API compliance)
    sort: updateDate+desc (newest first) or updateDate+asc
    fromDateTime/toDateTime: Date range (YYYY-MM-DDTHH:MM:SSZ)
    version: Text version for content operations
    
Returns:
    Formatted results specific to requested operation
    
Examples:
    Using flexible bill_id:
    {"operation": "get_bill_details", "bill_id": "HR 1234"}
    {"operation": "get_bill_details", "bill_id": "H.R. 1234, 118th Congress"}  
    {"operation": "get_bill_details", "bill_id": "hr1234-118"}
    
    Traditional parameters still work:
    {"operation": "get_bill_details", "congress": 118, "bill_type": "hr", "bill_number": 1234}
amendmentsB
Comprehensive Amendments Tool - All amendment operations in one focused interface.

CORE OPERATIONS:
• Search & Discovery: get_amendments, search_amendments
• Details & Metadata: get_amendment_details, get_amendment_sponsors
• Legislative Process: get_amendment_actions, get_amendment_amendments
• Content: get_amendment_text

SEARCH OPERATIONS:
- get_amendments: Core amendments API access with filtering
- search_amendments: Search amendments by keywords and parameters

DETAILS OPERATIONS:
- get_amendment_details: Complete amendment information and status
- get_amendment_sponsors: Sponsor and cosponsor information

PROCESS OPERATIONS:
- get_amendment_actions: Legislative actions and history
- get_amendment_amendments: Amendments to amendments (sub-amendments)

CONTENT OPERATIONS:
- get_amendment_text: Full amendment text and purpose

Args:
    operation: Specific operation to perform (see list above)
    congress: Congress number (118 for current, 119 for next)
    amendment_type: hamdt (House) or samdt (Senate)
    amendment_number: Specific amendment number within type and congress
    keywords: Search keywords for amendment content
    limit: Results limit (max 250 for API compliance)
    sort: updateDate+desc (newest first) or updateDate+asc
    fromDateTime/toDateTime: Date range (YYYY-MM-DDTHH:MM:SSZ)
    
Returns:
    Formatted results specific to requested operation
treaties_and_summariesB
Treaties and Summaries Tool - Focused access to treaties and bill summaries.

TREATIES OPERATIONS:
• Search & Discovery: search_treaties
• Legislative Process: get_treaty_actions, get_treaty_committees
• Content: get_treaty_text

SUMMARIES OPERATIONS:
• Search & Discovery: search_summaries

TREATIES:
- search_treaties: Find treaties by congress and parameters
- get_treaty_actions: Legislative actions on treaties
- get_treaty_committees: Committee assignments for treaties
- get_treaty_text: Full treaty text and resolutions

SUMMARIES:
- search_summaries: Search bill summaries by keywords and congress

Args:
    operation: Specific operation to perform (see list above)
    congress: Congress number (118 for current, 119 for next)
    treaty_number: Specific treaty number within congress
    treaty_suffix: Treaty suffix identifier
    keywords: Search keywords for content
    topic: Topic filter for summaries
    limit: Results limit (max 250 for API compliance)
    sort: updateDate+desc (newest first) or updateDate+asc
    fromDateTime/toDateTime: Date range (YYYY-MM-DDTHH:MM:SSZ)
    
Returns:
    Formatted results specific to requested operation
search_membersA
Search for members of Congress by various criteria.

Args:
    ctx: Context for API requests
    name: Member name to search for (partial matches supported)
    state: State code (e.g., 'CA', 'NY', 'TX')
    party: Political party ('D', 'R', 'I')
    chamber: Chamber ('House' or 'Senate')
    current_member: Whether to only show current members (True/False)
    limit: Maximum number of results to return

Returns:
    Structured response with member information and metadata
get_member_detailsB
Get detailed information about a specific member of Congress.

Args:
    ctx: Context for API requests
    bioguide_id: Unique bioguide identifier for the member (e.g., 'B000944')

Returns:
    Detailed member information including biographical data, terms served, etc.
get_member_sponsored_legislationB
Get legislation sponsored by a specific member of Congress.

Args:
    ctx: Context for API requests
    bioguide_id: Unique bioguide identifier for the member
    limit: Maximum number of sponsored bills to return

Returns:
    List of bills and resolutions sponsored by the member
get_member_cosponsored_legislationB
Get legislation cosponsored by a specific member of Congress.

Args:
    ctx: Context for API requests
    bioguide_id: Unique bioguide identifier for the member
    limit: Maximum number of cosponsored bills to return

Returns:
    List of bills and resolutions cosponsored by the member
get_members_by_congressB
Get members who served in a specific Congress.

Args:
    ctx: Context for API requests
    congress: Congress number (e.g., 118 for 118th Congress)
    current_member: Whether to only show current members
    limit: Maximum number of members to return

Returns:
    List of members who served in the specified Congress
get_members_by_stateB
Get members of Congress from a specific state.

Args:
    ctx: Context for API requests
    state_code: Two-letter state code (e.g., 'CA', 'TX', 'NY')
    current_member: Whether to only show current members (defaults to True)
    limit: Maximum number of members to return

Returns:
    List of members from the specified state
get_members_by_districtB
Get the member representing a specific congressional district.

Args:
    ctx: Context for API requests
    state_code: Two-letter state code (e.g., 'CA', 'TX', 'NY')
    district: Congressional district number within the state
    current_member: Whether to only show current member (defaults to True)

Returns:
    Member(s) representing the specified district
get_members_by_congress_state_districtA
Get the member representing a specific congressional district in a specific Congress.

Args:
    ctx: Context for API requests
    congress: Congress number (e.g., 118 for 118th Congress)
    state_code: Two-letter state code (e.g., 'CA', 'TX', 'NY')
    district: Congressional district number within the state

Returns:
    Member who represented the specified district in the specified Congress
search_committeesC
Search for congressional committees.

Args:
    ctx: Context for API requests
    chamber: Chamber ('House', 'Senate', or 'Joint')
    committee_type: Type of committee ('Standing', 'Select', etc.)
    limit: Maximum number of committees to return

Returns:
    List of matching committees with basic information
get_committee_billsB
Get bills referred to or reported by a specific committee.

Args:
    ctx: Context for API requests
    committee_code: Official committee code (e.g., 'HSJU', 'SSJU')
    limit: Maximum number of bills to return

Returns:
    List of bills associated with the committee
get_committee_reportsB
Get reports issued by a specific committee.

Args:
    ctx: Context for API requests
    committee_code: Official committee code (e.g., 'HSJU', 'SSJU')
    limit: Maximum number of reports to return

Returns:
    List of reports issued by the committee
get_committee_communicationsA
Get communications (letters, statements) from a specific committee.

Args:
    ctx: Context for API requests
    committee_code: Official committee code (e.g., 'HSJU', 'SSJU')
    limit: Maximum number of communications to return

Returns:
    List of communications from the committee
get_committee_nominationsB
Get nominations referred to a specific committee.

Args:
    ctx: Context for API requests
    committee_code: Official committee code (e.g., 'HSJU', 'SSJU')
    limit: Maximum number of nominations to return

Returns:
    List of nominations referred to the committee
voting_and_nominationsB
Congressional Voting and Nominations - Access House votes and presidential nominations.

HOUSE VOTING (6 operations):
• get_house_votes_by_congress/session, get_house_vote_details/enhanced
• get_house_vote_member_votes/xml - Individual member vote records

NOMINATIONS (7 operations):
• search_nominations, get_latest_nominations, get_nomination_details
• get_nomination_actions/committees/hearings/nominees, get_nominations_by_congress

Key params: operation, congress, session, vote_number, keywords, nomination_number
Returns structured vote/nomination data with member details and legislative actions.
records_and_hearingsB
Congressional Records and Hearings - Access legislative records, communications, and hearings.

CONGRESSIONAL RECORDS (3 operations):
• search_congressional_record/daily/bound - Search legislative records by date/volume

COMMUNICATIONS (8 operations):  
• House: search_house_communications/requirements, get_details/matching
• Senate: search_senate_communications, get_senate_communication_details
• Committee: get_committee_communication_details

HEARINGS (5 operations):
• search_hearings, get_hearings_by_congress/chamber, get_hearing_details/content

Key params: operation, year/month/day, keywords, congress, chamber, jacket_number
Returns structured record/hearing data with full text content and metadata.
committee_intelligenceC
Congressional Committee Intelligence - Professional access to committee documents and activities.

COMMITTEE REPORTS (7 operations):
• get_latest/by_congress/by_type, get_report_details/text_versions/content
• search_committee_reports - Advanced analytics with chunking support

COMMITTEE PRINTS (6 operations):
• get_latest/by_congress/by_chamber, get_print_details/text_versions
• search_committee_prints - Document intelligence with filtering

COMMITTEE MEETINGS (6 operations):
• get_latest/by_congress/by_chamber/by_committee, get_meeting_details
• search_committee_meetings - Process intelligence with scheduling data

Key params: operation, congress, chamber, committee_code, report_type, event_id
Returns structured committee data with enhanced metadata and content chunking.
research_and_professionalC
Congressional Research and Professional - Access CRS reports and enhanced Congress analytics.

CONGRESS INFORMATION (3 operations):
• get_congress_info - Basic Congress information and metadata
• get_congress_info_enhanced - Advanced analytics with detailed insights
• search_congresses - Historical Congress search with trend analysis

PROFESSIONAL RESEARCH (3 operations):
• search_crs_reports - Congressional Research Service report search
• get_congress_statistics - Statistical analysis across Congresses
• get_legislative_analysis - Advanced legislative trend analysis

Key params: operation, congress, keywords, report_number, start_year, end_year
Returns professional-grade research data with enhanced analytics and historical insights.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amurshak/congressMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server