@pipeworx/govinfo
Connect: https://gateway.pipeworx.io/govinfo/mcp · Install: one-click buttons
Tools: 5
GovInfo.gov MCP — full text of US government publications.
Tools
list_collections()search_packages(query, collections?, congress?, date_from?, date_to?, page_size?, offset_mark?)collectionstakes one code or several, comma- or space-separated ("CHRG","CHRG,CRPT"). Several codes search the union —"CHRG,CRPT"returns 9,239 hits for “Cooper”, exactly the 5,359 + 3,880 the two collections return on their own.page_sizealso answers tolimit.
get_package(package_id)list_granules(package_id, page_size?, offset_mark?)—page_sizealso answers tolimit.get_granule(package_id, granule_id)
Auth
- Platform key: reuses
PLATFORM_DATAGOV_KEY. - BYO:
?_apiKey=<key>(api.data.gov key).
Data source
https://api.govinfo.gov — ?api_key= query param.
Tools
- list_collections — List GovInfo collections (BILLS, CFR, USCODE, FR, CHRG, CRPT, HMAN, PLAW, SERIALSET, USCOURTS, etc.) with package counts. Use the collection code with search_packages to filter.
- search_packages — Full-text + faceted search across GovInfo. Filter by one or more collection codes (BILLS, FR, CFR, USCODE, CHRG, CRPT, CREC, PLAW, USCOURTS…), date range, congress, and free-text query. Several code
- get_package — Metadata for a single package by packageId (e.g., “BILLS-118hr1234ih”, “FR-2024-05-12”). Returns title, dates, citations, granule count, download links (PDF/XML/MODS).
- list_granules — List granules within a package — e.g., sections of a CFR title, individual entries in a Federal Register issue. Returns granule IDs + titles.
- get_granule — 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
Tools
-
get_granule— 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 -
get_package— Metadata for a single package by packageId (e.g., BILLS-118hr1234ih , FR-2024-05-12 ). Returns title, dates, citations, granule count, download links (PDF/XML/MODS). -
list_collections— List GovInfo collections (BILLS, CFR, USCODE, FR, CHRG, CRPT, HMAN, PLAW, SERIALSET, USCOURTS, etc.) with package counts. Use the collection code with search_packages to filter. -
list_granules— List granules within a package — e.g., sections of a CFR title, individual entries in a Federal Register issue. Returns granule IDs + titles. -
search_packages— Full-text + faceted search across GovInfo. Filter by one or more collection codes (BILLS, FR, CFR, USCODE, CHRG, CRPT, CREC, PLAW, USCOURTS...), date range, congress, and free-text query. Several code