Integration

Congress.gov API integration

Read-only legislative data of the U.S. Congress from the Library of Congress: bills, resolutions and laws with their actions, cosponsors, committees, CRS summaries, text versions and titles; amendments; members of Congress and their sponsored legislation; House roll call votes; committees, committee reports, prints, meetings and printed hearings; the daily and bound Congressional Record; House and Senate communications and House requirements; presidential nominations and nominees; treaties; and Congressional Research Service reports. Records name members of Congress, nominees, hearing witnesses and report authors as published in the public congressional record. Lists return 20 records by default and at most 250 per call (limit and offset). The rate limit is 5,000 requests per hour per key. Authentication is a free api.data.gov key (sign up at api.congress.gov/sign-up), sent in the X-Api-Key header.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Congress.gov API.Built from the 108 Congress.gov API tools below, on the connection you add once.

What you can do with Congress.gov API

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Committee, 9 operations

  • get_committeeGet committeeGETReturns one committee by chamber and system code (such as hspw00): names over time, type, subcommittees, parent, website and counts of its bills, reports and communications.
  • get_committee_by_congressGet committee by congressGETReturns one committee as it stood in one Congress, by chamber and system code.
  • list_bill_committeesList bill committeesGETLists the committees and subcommittees with activity on one bill or resolution, with each activity (referred, hearings, markup, reported) and its date. Pages with limit and offset.
  • list_committeesList committeesGETLists congressional committees and subcommittees with system code, chamber, type and parent. Pass chamber and systemCode to get_committee. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committees_by_chamberList committees by chamberGETLists the committees and subcommittees of one chamber (house, senate or joint). Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committees_by_congressList committees by congressGETLists the committees and subcommittees that existed in one Congress. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committees_by_congress_and_chamberList committees by congress and chamberGETLists the committees and subcommittees of one chamber in one Congress. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_nomination_committeesList nomination committeesGETLists the Senate committees that handled one nomination, with each activity and its date. Pages with limit and offset.
  • list_treaty_committeesList treaty committeesGETLists the Senate committees associated with one treaty, with each activity and its date. Pages with limit and offset.

Amendment, 6 operations

  • get_amendmentGet amendmentGETReturns one amendment: the bill or amendment it amends, sponsors, purpose, chamber, submitted date, latest action and counts of its actions, cosponsors and text versions.
  • list_amendmentsList amendmentsGETLists amendments from every Congress, sorted by date of latest action, with number, type, purpose and latest action. Pass congress, type and number to get_amendment. Pages with limit and offset.
  • list_amendments_by_congressList amendments by congressGETLists the amendments of one Congress, sorted by date of latest action. Pages with limit and offset.
  • list_amendments_by_typeList amendments by typeGETLists the amendments of one type (hamdt, samdt or suamdt) in one Congress, sorted by date of latest action. Pages with limit and offset.
  • list_amendments_to_amendmentList amendments to amendmentGETLists the amendments offered to one amendment. Pages with limit and offset.
  • list_bill_amendmentsList bill amendmentsGETLists the amendments offered to one bill or resolution, with number, type, purpose and latest action. Pass congress, type and number of an item to get_amendment. Pages with limit and offset.

Action, 5 operations

  • list_amendment_actionsList amendment actionsGETLists the actions taken on one amendment, with date, text, type and any recorded votes. Pages with limit and offset.
  • list_bill_actionsList bill actionsGETLists the actions taken on one bill or resolution (introduction, referrals, votes, passage, signature), with date, text, type and source chamber. Pages with limit and offset.
  • list_nomination_actionsList nomination actionsGETLists the actions taken on one nomination (received, referred, hearings, confirmed or withdrawn), with date and text. Pages with limit and offset.
  • list_partitioned_treaty_actionsList partitioned treaty actionsGETLists the actions taken on one part of a partitioned treaty (treaty number plus letter suffix). Pages with limit and offset.
  • list_treaty_actionsList treaty actionsGETLists the actions taken on one treaty, with date, text, type and committee. Pages with limit and offset.

Bill, 5 operations

  • get_billGet billGETReturns one bill or resolution: introduced date, sponsors, policy area, latest action, laws, CBO cost estimates, and counts of its actions, cosponsors, committees, summaries, text versions and titles.
  • list_billsList billsGETLists bills and resolutions from every Congress, sorted by date of latest action, with number, type, title and latest action. Pass congress, type and number to get_bill for the full record. Pages with limit and offset.
  • list_bills_by_congressList bills by congressGETLists the bills and resolutions of one Congress, sorted by date of latest action. Pass congress, type and number of an item to get_bill for the full record. Pages with limit and offset.
  • list_bills_by_typeList bills by typeGETLists the bills or resolutions of one type (hr, s, hjres, sjres, hconres, sconres, hres, sres) in one Congress, sorted by date of latest action. Pages with limit and offset.
  • list_committee_billsList committee billsGETLists the bills and resolutions associated with one committee, with the relationship type and date. The list is under the response key committee-bills. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.

Hearing, 5 operations

  • get_hearingGet hearingGETReturns one printed hearing by jacket number: title, citation, committees, hearing dates, associated meeting and links to its text files.
  • list_hearingsList hearingsGETLists printed committee hearings, with congress, chamber and jacket number. Pass them to get_hearing. Pages with limit and offset.
  • list_hearings_by_chamberList hearings by chamberGETLists the printed hearings of one chamber in one Congress. Pages with limit and offset.
  • list_hearings_by_congressList hearings by congressGETLists the printed hearings of one Congress. Pages with limit and offset.
  • list_nomination_hearingsList nomination hearingsGETLists the printed hearings associated with one nomination, with citation, chamber, date and jacket number. Pages with limit and offset.

House communication, 5 operations

  • get_house_communicationGet house communicationGETReturns one House communication: abstract, committees it was referred to, legal authority, submitting agency and matching requirements. The record is under the response key house-communication.
  • list_committee_house_communicationsList committee house communicationsGETLists the House communications (executive communications, memorials, presidential messages, petitions) referred to one House committee. Pages with limit and offset.
  • list_house_communicationsList house communicationsGETLists House communications (executive communications, memorials, presidential messages, petitions). Pass congress, type and number to get_house_communication. Pages with limit and offset.
  • list_house_communications_by_congressList house communications by congressGETLists the House communications of one Congress. Pages with limit and offset.
  • list_house_communications_by_typeList house communications by typeGETLists the House communications of one type (ec, ml, pm or pt) in one Congress. Pages with limit and offset.

Member, 5 operations

  • get_house_vote_member_votesGet house vote member votesGETReturns how each member voted on one House roll call vote (yea, nay, present, not voting), with party and state. The vendor marks this endpoint beta. Pages with limit and offset.
  • get_memberGet memberGETReturns one member of Congress by bioguide id: names, birth year, party history, terms, leadership positions, official website, Washington office contact and sponsored legislation counts.
  • list_membersList membersGETLists members of Congress, past and present, with bioguide id, name, party, state, district and terms. Pass bioguideId to get_member for the full profile. Pages with limit and offset.
  • list_members_by_districtList members by districtGETLists the members who represent or represented one congressional district of a state (district 0 for a state with a single district).
  • list_members_by_stateList members by stateGETLists the members of Congress who represent or represented one state or territory (two-letter code such as MI).

Nomination, 5 operations

  • get_nominationGet nominationGETReturns one nomination: citation, received date, organization, the positions and the number of nominees per position (ordinal), latest action and counts of actions, committees and hearings.
  • list_committee_nominationsList committee nominationsGETLists the presidential nominations referred to one Senate committee, with citation, description and latest action. Pages with limit and offset.
  • list_nominationsList nominationsGETLists presidential nominations sent to the Senate, sorted by date received, with citation, description, organization and latest action. Pass congress and number to get_nomination. Pages with limit and offset.
  • list_nominations_by_congressList nominations by congressGETLists the presidential nominations of one Congress, sorted by date received from the President. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_nomineesList nomineesGETLists the nominees for one position of a nomination, by the ordinal shown in get_nomination. Pages with limit and offset.

Senate communication, 5 operations

  • get_senate_communicationGet senate communicationGETReturns one Senate communication: abstract, the committees it was referred to, the date in the Congressional Record and the session.
  • list_committee_senate_communicationsList committee senate communicationsGETLists the Senate communications (executive communications, presidential messages, petitions or memorials) referred to one Senate committee. Pages with limit and offset.
  • list_senate_communicationsList senate communicationsGETLists Senate communications (executive communications, presidential messages, petitions or memorials). Pass congress, type and number to get_senate_communication. Pages with limit and offset.
  • list_senate_communications_by_congressList senate communications by congressGETLists the Senate communications of one Congress. Pages with limit and offset.
  • list_senate_communications_by_typeList senate communications by typeGETLists the Senate communications of one type (ec, pm or pom) in one Congress. Pages with limit and offset.

Bound congressional record, 4 operations

  • list_bound_congressional_recordsList bound congressional recordsGETLists bound Congressional Record issues, most recent first, with date, volume, congress and session. Pages with limit and offset.
  • list_bound_congressional_records_by_dateList bound congressional records by dateGETReturns the bound Congressional Record of one day, with its Daily Digest sections and their PDF links. Pages with limit and offset.
  • list_bound_congressional_records_by_monthList bound congressional records by monthGETLists the bound Congressional Record issues of one month. Pages with limit and offset.
  • list_bound_congressional_records_by_yearList bound congressional records by yearGETLists the bound Congressional Record issues of one year. Pages with limit and offset.

Committee meeting, 4 operations

  • get_committee_meetingGet committee meetingGETReturns one committee meeting: title, type, date, status, committees, room, related bills, nominations and treaties, witnesses, and meeting and witness documents.
  • list_committee_meetingsList committee meetingsGETLists committee meetings, hearings and markups, with event id. Pass congress, chamber and eventId to get_committee_meeting. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committee_meetings_by_chamberList committee meetings by chamberGETLists the committee meetings of one chamber in one Congress. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committee_meetings_by_congressList committee meetings by congressGETLists the committee meetings of one Congress. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.

Committee print, 4 operations

  • get_committee_printGet committee printGETReturns one committee print by jacket number: title, citation, committees, associated bills and a count of its text files.
  • list_committee_printsList committee printsGETLists committee prints, with congress, chamber and jacket number. Pass congress, chamber and jacketNumber to get_committee_print. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committee_prints_by_chamberList committee prints by chamberGETLists the committee prints of one chamber in one Congress. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committee_prints_by_congressList committee prints by congressGETLists the committee prints of one Congress. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.

Committee report, 4 operations

  • get_committee_reportGet committee reportGETReturns one committee report, one entry per part: citation, title, committees, associated bills and treaties, issue date and whether it is a conference report.
  • list_committee_reportsList committee reportsGETLists committee reports (House, Senate and executive reports), with citation and number. Pass congress, type and number to get_committee_report. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committee_reports_by_congressList committee reports by congressGETLists the committee reports of one Congress. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_committee_reports_by_typeList committee reports by typeGETLists the committee reports of one type (hrpt, srpt or erpt) in one Congress. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.

Congress, 4 operations

  • get_congressGet congressGETReturns one Congress (for example 118) with its start and end years and its sessions per chamber.
  • list_congressesList congressesGETLists the Congresses with their start and end years and their sessions (chamber, number, type, start and end dates). Pages with limit and offset.
  • list_members_by_congressList members by congressGETLists the members who served in one Congress. For a past Congress the vendor advises currentMember=false for the most complete list. Pages with limit and offset.
  • list_members_by_congress_and_districtList members by congress and districtGETLists the members who represented one congressional district in one Congress; it can include a member redistricted away. currentMember=true keeps only the current one.

House vote, 4 operations

  • get_house_voteGet house voteGETReturns one House roll call vote: question, vote type, result, legislation and the yea, nay, present and not voting totals per party. The vendor marks this endpoint beta.
  • list_house_votesList house votesGETLists House of Representatives roll call votes, with the legislation voted on, the question, the result and the date. Beta: covers votes on legislation in the 118th and 119th Congresses. Pages with limit and offset.
  • list_house_votes_by_congressList house votes by congressGETLists the House roll call votes of one Congress, with the legislation voted on, the result and the date. Pages with limit and offset.
  • list_house_votes_by_sessionList house votes by sessionGETLists the House roll call votes of one session (1 or 2) of one Congress. Pages with limit and offset.

Summary, 4 operations

  • list_bill_summariesList bill summariesGETLists the CRS summaries of one bill or resolution, one per version (introduced, reported, passed...), with the summary text as HTML and its action date. Pages with limit and offset.
  • list_summariesList summariesGETLists CRS bill summaries from every Congress, sorted by date of last update, each with the bill it summarizes and the summary text as HTML. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_summaries_by_congressList summaries by congressGETLists the CRS bill summaries of one Congress, sorted by date of last update. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_summaries_by_typeList summaries by typeGETLists the CRS bill summaries for one bill type in one Congress, sorted by date of last update. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.

Text, 4 operations

  • list_amendment_text_versionsList amendment text versionsGETLists the text versions of one amendment with links to their files. Text is available from the 117th Congress (2021) onwards. Pages with limit and offset.
  • list_bill_text_versionsList bill text versionsGETLists the text versions of one bill or resolution (introduced, reported, enrolled...), each with links to its formatted text, PDF and XML files. Pages with limit and offset.
  • list_committee_print_text_versionsList committee print text versionsGETLists the text files (formatted text, PDF, XML) of one committee print. Pages with limit and offset.
  • list_committee_report_text_versionsList committee report text versionsGETLists the text files (formatted text and PDF) of one committee report, with an errata flag. Pages with limit and offset.

Treaty, 4 operations

  • get_partitioned_treatyGet partitioned treatyGETReturns one part of a partitioned treaty (treaty number plus a letter suffix such as A), with the same fields as get_treaty.
  • get_treatyGet treatyGETReturns one treaty: topic, titles, countries and parties, transmitted and in-force dates, resolution text, index terms and counts of actions. For a partitioned treaty use get_partitioned_treaty.
  • list_treatiesList treatiesGETLists treaties submitted to the Senate, sorted by date of last update, with congress received, number, suffix and topic. Pass congress and number to get_treaty. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.
  • list_treaties_by_congressList treaties by congressGETLists the treaties of one Congress, sorted by date of last update. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.

Daily congressional record, 3 operations

  • get_daily_congressional_record_issueGet daily congressional record issueGETReturns one daily Congressional Record issue: date, congress, session, sections with their PDF and text links, and a count of its articles.
  • list_daily_congressional_record_issuesList daily congressional record issuesGETLists daily Congressional Record issues, most recent first, with volume, issue number and date. Pass volumeNumber and issueNumber to get_daily_congressional_record_issue. Pages with limit and offset.
  • list_daily_congressional_record_issues_by_volumeList daily congressional record issues by volumeGETLists the daily Congressional Record issues of one volume. Pages with limit and offset.

Law, 3 operations

  • get_lawGet lawGETReturns the bill record behind one public or private law, found by its law number as assigned by NARA (for example public law 117-108 is congress 117, pub, 108).
  • list_laws_by_congressList laws by congressGETLists the bills of one Congress that became public or private law, with their law numbers. Pass congress, law type and law number to get_law. Pages with limit and offset.
  • list_laws_by_typeList laws by typeGETLists the public laws (pub) or private laws (priv) enacted in one Congress, as bill records carrying their law numbers. Pages with limit and offset.

Cosponsor, 2 operations

  • list_amendment_cosponsorsList amendment cosponsorsGETLists the cosponsors of one amendment, with party, state and sponsorship date. Pages with limit and offset.
  • list_bill_cosponsorsList bill cosponsorsGETLists the cosponsors of one bill or resolution, with party, state, sponsorship date and whether they are an original cosponsor or withdrew. Pages with limit and offset.

Crsreport, 2 operations

  • get_crs_reportGet crs reportGETReturns one Congressional Research Service report: title, authors, summary, topics, status, version, publish date, related legislation and links to its PDF and HTML files.
  • list_crs_reportsList crs reportsGETLists Congressional Research Service reports, with id, title, status and publish date. Pass the id to get_crs_report. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.

House requirement, 2 operations

  • get_house_requirementGet house requirementGETReturns one House requirement: the legal authority, the nature and frequency of the required report, its parent agency and a count of matching communications.
  • list_house_requirementsList house requirementsGETLists House requirements (reports that federal law requires agencies to send to the House), with requirement number. Pass it to get_house_requirement. Pages with limit and offset.

Article, 1 operation

  • list_daily_congressional_record_articlesList daily congressional record articlesGETLists the articles of one daily Congressional Record issue, grouped by section, each with title, start and end page and links to its text. Pages with limit and offset.

Congressional record, 1 operation

  • list_congressional_record_issuesList congressional record issuesGETLists issues of the Congressional Record, most recent first, each with volume, issue, publish date and PDF links per section. Filter by publish date with y, m and d. Pages with limit and offset.

Cosponsored legislation, 1 operation

  • list_member_cosponsored_legislationList member cosponsored legislationGETLists the bills, resolutions and amendments cosponsored by one member of Congress. Pages with limit and offset.

Current, 1 operation

  • get_current_congressGet current congressGETReturns the current Congress with its start and end years and its sessions per chamber. Use its number as the congress input of the other tools.

Matching communication, 1 operation

  • list_house_requirement_communicationsList house requirement communicationsGETLists the House communications that were submitted to satisfy one House requirement. Pages with limit and offset.

Relatedbill, 1 operation

  • list_related_billsList related billsGETLists the bills related to one bill or resolution, as identified by CRS, the House and the Senate, with the type of each relationship. Pages with limit and offset.

Report, 1 operation

  • list_committee_reports_by_committeeList committee reports by committeeGETLists the committee reports issued by one committee, with citation and report number. Pages with limit and offset. Filter by update time with fromDateTime and toDateTime.

Sponsored legislation, 1 operation

  • list_member_sponsored_legislationList member sponsored legislationGETLists the bills, resolutions and amendments sponsored by one member of Congress. Pages with limit and offset.

Subject, 1 operation

  • get_bill_subjectsGet bill subjectsGETReturns the legislative subject terms and the policy area that CRS assigned to one bill or resolution. Pages with limit and offset.

Title, 1 operation

  • list_bill_titlesList bill titlesGETLists the titles of one bill or resolution (official, short and display titles, per chamber and text version). Pages with limit and offset.

Use Congress.gov API from Claude Code, Cursor or Codex

Connect Congress.gov API in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Congress.gov API operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Congress.gov API

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Congress.gov API once

    Add your Congress.gov API connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Congress.gov API integration FAQ

What can you do with the Congress.gov API integration?

LiveContext exposes 108 operations on Congress.gov API, covering committee, amendment, action and bill.

Popular integrations

Browse the whole catalog