The GovInfo API provides programmatic access to official U.S. Government publication content and metadata; its Search Service returns results similar to the GovInfo user interface.

MCPAPI

What your agent can do

  • Search official U.S. government publications and retrieve structured content metadata.

    Via MCP.

  • The Search Service allows for programmatic requests against the GovInfo search engine to return results similar to the results on the GovInfo user interface.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

MCP connection
MCP server URL
https://api.govinfo.gov/mcp

Authentication
Set the x-api-key header to a GovInfo or existing api.data.gov key.
API connection

Documentation & experience

  • 2 connection paths
View sources and checks
How documentation is checked