Back to Docs

Tools Reference

LegisMCP provides 15 tools that AI agents can use to access legislative data. All tools are available through both the local (stdio) and remote (Streamable HTTP) transports.

get-bill

Get detailed information about a specific bill, including its status, sponsors, and latest actions.

Parameters

NameTypeRequiredDescription
congressnumberrequiredCongress number (e.g., 119 for the 119th Congress)
billTypestringrequiredType of bill: hr, s, hjres, sjres, hconres, sconres, hres, sres
billNumbernumberrequiredThe bill number

Example

get-bill(congress: 119, billType: "hr", billNumber: 1)

list-recent-bills

List recently introduced or updated bills sorted by date of latest action, with optional filtering by congress and bill type.

Parameters

NameTypeRequiredDescription
congressnumberoptionalCongress number to filter by (defaults to current)
billTypestringoptionalFilter by bill type: hr, s, hjres, sjres, hconres, sconres, hres, sres
limitnumberoptionalNumber of results to return (default: 20, max: 100)
offsetnumberoptionalNumber of bills to skip for pagination

Example

list-recent-bills(congress: 119, limit: 10)

analyze-bill

Fetch comprehensive data about a bill from multiple Congress.gov API endpoints in parallel. Returns structured data including bill details, sponsor, status, cosponsors, committees, subjects, related bills, and full action history.

Parameters

NameTypeRequiredDescription
querystringrequiredBill identifier (e.g., "HR 1", "S 2345", "119 HR 5"). Text search is NOT supported.
congressnumberoptionalCongress number (defaults to current if not in query)
includeTextbooleanoptionalInclude links to full bill text (default: false)
includeRelatedbooleanoptionalInclude related bills and amendments (default: true)

Example

analyze-bill(query: "S 1234")

list-house-votes

List recent House of Representatives roll call votes. Returns vote results with roll call number, date, result, and related legislation. Data available for 118th Congress (2023–2024) onward. Note: only House votes are available (the Congress.gov API does not have a Senate vote endpoint).

Parameters

NameTypeRequiredDescription
congressnumberoptionalCongress number (min 118, defaults to current)
sessionnumberoptionalSession number (1 or 2). If omitted, returns votes from both sessions.
limitnumberoptionalMax votes to return (default: 20, max: 50)
offsetnumberoptionalNumber of votes to skip for pagination

Example

list-house-votes(congress: 119, limit: 10)

list-enacted-laws

List bills that have been enacted into law. Finds bills signed by the President or that otherwise became law, with public law numbers and enactment dates.

Parameters

NameTypeRequiredDescription
congressnumberoptionalCongress number (defaults to current)
timeframestringoptionalHow far back to search: "month", "quarter", "halfyear", "year", or "all" (default: "halfyear")
limitnumberoptionalMax enacted laws to return (default: 20, max: 50)

Example

list-enacted-laws(timeframe: "year", limit: 10)

congress-summary

Get a high-level summary of current congressional activity. Provides an overview including recent bill counts, enacted laws, House votes, and floor activity. Ideal for answering "what's going on in Congress?" questions.

Parameters

NameTypeRequiredDescription
congressnumberoptionalCongress number (defaults to current)

Example

congress-summary()

member-details

Get detailed information about a specific member of Congress, including sponsored/cosponsored legislation, leadership positions, and recent activity.

Parameters

NameTypeRequiredDescription
memberIdstringrequiredBioguide ID of the member (e.g., "P000197")
congressstringoptionalSpecific congress number (e.g., "118")
includeDetailsbooleanoptionalInclude detailed sub-resource data (default: true)

Example

member-details(memberId: "P000197")

subresource

Access sub-resources for any legislative resource using a URI-based lookup. Supports bill, member, and committee sub-resources.

Parameters

NameTypeRequiredDescription
parentUristringrequiredParent resource URI (e.g., "congress-gov:/bill/119/hr/1" or "congress-gov:/member/P000197")
subresourcestringrequiredSub-resource name: actions, amendments, cosponsors, committees, subjects, summaries, text, sponsored-legislation, etc.
formatstringoptionalOutput format: "detailed", "summary", or "raw" (default: "detailed")
limitnumberoptionalMax results to return (default: 20)
offsetnumberoptionalNumber of results to skip

Example

subresource(parentUri: "congress-gov:/bill/119/hr/1", subresource: "cosponsors")

list-committees

Browse and search congressional committees by chamber, type, and congress. Use committeeCode for detailed info including subcommittees, activity counts, and official website.

Parameters

NameTypeRequiredDescription
chamberstringoptionalFilter by chamber: "house", "senate", or "joint"
congressnumberoptionalCongress number (defaults to current)
querystringoptionalSearch filter on committee name (case-insensitive)
committeeCodestringoptionalGet detailed info for a specific committee by system code (e.g., "hspw00")
limitnumberoptionalMax results to return (default: 20, max: 100)
offsetnumberoptionalNumber of results to skip

Example

list-committees(chamber: "senate")

list-nominations

Track presidential nominations — judicial, cabinet, and agency positions. Browse nominations with status and committee referrals, or get full details for a specific nomination.

Parameters

NameTypeRequiredDescription
congressnumberoptionalCongress number (defaults to current)
nominationNumbernumberoptionalGet details for a specific nomination by number (e.g., 1064 for PN1064)
typestringoptionalFilter by type: "civilian" (judicial/cabinet) or "military"
limitnumberoptionalMax results to return (default: 20, max: 50)
offsetnumberoptionalNumber of results to skip

Example

list-nominations(type: "civilian", limit: 10)

list-hearings

Browse congressional hearings by chamber and congress. Use jacketNumber with chamber for full hearing details including title, committees, dates, and transcript links.

Parameters

NameTypeRequiredDescription
congressnumberoptionalCongress number (defaults to current)
chamberstringoptionalFilter by chamber: "house" or "senate"
jacketNumbernumberoptionalGet details for a specific hearing (requires chamber parameter)
limitnumberoptionalMax results to return (default: 20, max: 50)
offsetnumberoptionalNumber of results to skip

Example

list-hearings(chamber: "senate", congress: 119)

recent-summaries

Get recently published CRS (Congressional Research Service) bill summaries. A curated feed of what legislation is being actively analyzed, with plain-text summary excerpts.

Parameters

NameTypeRequiredDescription
congressnumberoptionalFilter by Congress number
billTypestringoptionalFilter by bill type: hr, s, hjres, sjres, hconres, sconres, hres, sres
fromDateTimestringoptionalStart of date range in ISO 8601 format (defaults to 7 days ago)
toDateTimestringoptionalEnd of date range in ISO 8601 format
limitnumberoptionalMax results to return (default: 20, max: 50)
offsetnumberoptionalNumber of results to skip

Example

recent-summaries(congress: 119, billType: "hr", limit: 10)

daily-congressional-record

Access the Daily Congressional Record — the official transcript of floor proceedings including debates, statements, and votes. Browse recent issues or view specific issue sections and articles.

Parameters

NameTypeRequiredDescription
volumeNumbernumberoptionalSpecific volume number (required with issueNumber for detail mode)
issueNumbernumberoptionalSpecific issue number (requires volumeNumber)
includeArticlesbooleanoptionalInclude article listings grouped by section (default: false)
limitnumberoptionalMax issues to return in list mode (default: 20, max: 50)
offsetnumberoptionalNumber of issues to skip

Example

daily-congressional-record(volumeNumber: 171, issueNumber: 1, includeArticles: true)