get_congressional_document_text

Pack: congressional-documents · Endpoint: https://gateway.pipeworx.io/congressional-documents/mcp

Read the actual text of a congressional document — the full transcript, report or

Parameters

NameTypeRequiredDescription
package_idstringyesGovInfo package id, e.g. “CHRG-116shrg42133” or “CREC-2025-09-10”
granule_idstringnoOptional granule id for one item within a package, e.g. “CREC-2025-09-10-pt1-PgS6557-4”
max_charsnumbernoCharacters of text to return (default 20000, max 200000)
offsetnumbernoCharacter offset to start from, for paging long transcripts
_apiKeystringnodata.gov API key (free at api.data.gov/signup)

Example call

Arguments

{
  "package_id": "CHRG-116shrg42133"
}

curl

curl -X POST https://gateway.pipeworx.io/congressional-documents/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_congressional_document_text","arguments":{"package_id":"CHRG-116shrg42133"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_congressional_document_text', {
  "package_id": "CHRG-116shrg42133"
});

More examples

{
  "package_id": "CREC-2025-09-10",
  "granule_id": "CREC-2025-09-10-pt1-PgS6557-4",
  "max_chars": 50000
}

Connect

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

{
  "mcpServers": {
    "congressional-documents": {
      "url": "https://gateway.pipeworx.io/congressional-documents/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 30, 2026