gov.br APIs MCP
A catalog-driven gateway over Brazilian government APIs, loading OpenAPI specs on demand.
The current version, v0.2.0, was published to the official MCP registry on 2026-10-19. It is distributed as govbr-apis-mcp on PyPI, filed under Other by this index, and declares 14 environment variables. Removals and unreachable sources are measured across every server this index tracks, contract drift across the servers that answer in consecutive snapshots; the index's current counts put this record in context.
Using gov.br APIs MCP in Claude, Cursor, Gemini CLI, Cline, or Zed?
MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts-before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).
Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less
uv tool install mcpindex-gate && mcpindex-config-wireVerdict not yet evaluated for this tool. The semantic screen takes adversarial cases first; coverage rolls out as the corpus expands. The deterministic conformance probe is built but has not yet run on the public corpus, so a recorded verdict here is REVIEW or UNVERIFIED, never a clearing ALLOW. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: the eval, four-state verdict, honest limits.
Own this server? Test a description on the public screen → It is a separate check from the verdict above, so the two can differ.
That verdict was true at screening time (snapshot 2026-10-20).
Contracts can change after screening, with no version bump. The gate pins gov.br APIs MCP’s tool contracts on first sight and holds any silent change before your agent acts - the check that keeps being true on Tuesday.
See your first HOLD in 2 minutes →
Related: how to trust an MCP server · screen before install · silent contract drift
TRANSPARENCIA_API_KEYAPI key for the Portal da Transparencia API
DATAJUD_API_KEYAPI key for the CNJ DataJud API
DADOSGOV_API_KEYAPI key for the dados.gov.br portal API (free, generated in the user profile)
SERPRO_CPF_CLIENT_IDOAuth2 client ID for the Serpro CPF API (commercial contract)
SERPRO_CPF_CLIENT_SECRETOAuth2 client secret for the Serpro CPF API (commercial contract)
SERPRO_CNPJ_CLIENT_IDOAuth2 client ID for the Serpro CNPJ API (commercial contract)
SERPRO_CNPJ_CLIENT_SECRETOAuth2 client secret for the Serpro CNPJ API (commercial contract)
SERPRO_DATAVALID_CLIENT_IDOAuth2 client ID for the Serpro Datavalid API (commercial contract)
SERPRO_DATAVALID_CLIENT_SECRETOAuth2 client secret for the Serpro Datavalid API (commercial contract)
MEIAENTRADA_CODIGO_ACESSOAccess code (codigoAcesso) for the CIE validator used for meia-entrada, issued to the venue or producer
GOVBR_CATALOG_DIRDirectory of catalog YAML files that replaces the packaged catalog (trusted input)
GOVBR_EXTRA_CATALOG_DIRDirectory of catalog YAML files whose entries are added to the catalog, overriding same-id ones
GOVBR_EXTRA_ALLOWED_HOSTSComma-separated extra hostnames catalog URLs may use; add one only if you trust it with the credentials sent there
XDG_CACHE_HOMEBase directory of the OpenAPI spec cache (a govbr-apis-mcp folder is created below it); defaults to ~/.cache
Test ideas, messages and ads with Human Digital Twins built from real people, in your AI assistant.
Bet slip grader: grade a parlay A+ to F- before you bet, track slips, history and Tail. 21+, US.
Connect MCP clients to Thalovant control-plane and hub runtime APIs over stdio or Streamable HTTP.