Searching GovInfo
This skill guides the agent in using the mcp-govinfo tools (searchGovInfo and describePackageOrGranule) to query, analyze, and retrieve official U.S. government documents.
Available Tools
searchGovInfo: Initiates search requests using advanced query syntax and filters.describePackageOrGranule: Retrieves metadata, download URLs (PDF, XML, HTML), and content summaries for a specific package or granule ID.
Core Navigation
To perform advanced searches or see schemas and examples:
- API Reference & Collections: See REFERENCE.md for available collections and search syntax.
- Search Examples: See EXAMPLES.md for common query examples.
Key Search Invariants
- Query Syntax: Always specify
userQuery. Do not create dates or parameters the user did not specify. - Boolean and Field Filters: Use parentheses when combining fields (e.g.,
collection:BILLS AND (title:energy OR title:climate)). - Retrieving Documents: When a search returns results, use the
describePackageOrGranuletool with the correspondingpackageIdorgranuleIdto retrieve direct download links for PDF, XML, or Text.