get_bill

Pack: congress · Endpoint: https://gateway.pipeworx.io/congress/mcp

Get full details for a congressional bill by its ID. Returns text, sponsors, cosponsors, committee assignments, actions, and vote history.

Parameters

NameTypeRequiredDescription
idnumberyesGovTrack bill ID (numeric)

Example call

Arguments

{
  "id": 3456789
}

curl

curl -X POST https://gateway.pipeworx.io/congress/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_bill","arguments":{"id":3456789}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_bill', {
  "id": 3456789
});

Response shape

Always returns: id

FieldTypeDescription
idnumberBill ID
bill_typestring | nullBill type code
bill_type_labelstring | nullBill type label
numbernumber | nullBill number
congressnumber | nullCongress number
titlestring | nullFull bill title
title_without_numberstring | nullBill title without number prefix
statusstring | nullCurrent status code
status_labelstring | nullCurrent status label
status_datestring | nullDate of current status
introduced_datestring | nullBill introduction date
sponsor_namestring | nullPrimary sponsor name
linkstring | nullGovTrack bill URL
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "description": "Bill ID"
    },
    "bill_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "Bill type code"
    },
    "bill_type_label": {
      "type": [
        "string",
        "null"
      ],
      "description": "Bill type label"
    },
    "number": {
      "type": [
        "number",
        "null"
      ],
      "description": "Bill number"
    },
    "congress": {
      "type": [
        "number",
        "null"
      ],
      "description": "Congress number"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full bill title"
    },
    "title_without_number": {
      "type": [
        "string",
        "null"
      ],
      "description": "Bill title without number prefix"
    },
    "status": {
      "type": [
        "string",
        "null"
      ],
      "description": "Current status code"
    },
    "status_label": {
      "type": [
        "string",
        "null"
      ],
      "description": "Current status label"
    },
    "status_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date of current status"
    },
    "introduced_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Bill introduction date"
    },
    "sponsor_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Primary sponsor name"
    },
    "link": {
      "type": [
        "string",
        "null"
      ],
      "description": "GovTrack bill URL"
    }
  },
  "required": [
    "id"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "congress": {
      "url": "https://gateway.pipeworx.io/congress/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026