get_granule

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

Fetch summary metadata for a single granule (sub-unit) within a GovInfo package, given package_id and granule_id (both from list_granules). Returns title, class, and provenance fields from the GovInfo summary endpoint.

Parameters

NameTypeRequiredDescription
package_idstringyesGovInfo packageId
granule_idstringyesGranule ID

Example call

Arguments

{
  "package_id": "FR-2024-05-12",
  "granule_id": "2024-05-12-1"
}

curl

curl -X POST https://gateway.pipeworx.io/govinfo/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_granule","arguments":{"package_id":"FR-2024-05-12","granule_id":"2024-05-12-1"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_granule', {
  "package_id": "FR-2024-05-12",
  "granule_id": "2024-05-12-1"
});

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Granule metadata for sub-unit within package"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026