gov.br APIs MCP
by github.com/thalisantunes · v0.2.0 · updated Oct 19, 2026
A catalog-driven gateway over Brazilian government APIs, loading OpenAPI specs on demand.
Run it locally
Install the package and point your AI client at it.
PyPI
uvx govbr-apis-mcp==0.2.0Environment variables
TRANSPARENCIA_API_KEYsecretAPI key for the Portal da Transparencia API
DATAJUD_API_KEYsecretAPI key for the CNJ DataJud API
DADOSGOV_API_KEYsecretAPI key for the dados.gov.br portal API (free, generated in the user profile)
SERPRO_CPF_CLIENT_IDsecretOAuth2 client ID for the Serpro CPF API (commercial contract)
SERPRO_CPF_CLIENT_SECRETsecretOAuth2 client secret for the Serpro CPF API (commercial contract)
SERPRO_CNPJ_CLIENT_IDsecretOAuth2 client ID for the Serpro CNPJ API (commercial contract)
SERPRO_CNPJ_CLIENT_SECRETsecretOAuth2 client secret for the Serpro CNPJ API (commercial contract)
SERPRO_DATAVALID_CLIENT_IDsecretOAuth2 client ID for the Serpro Datavalid API (commercial contract)
SERPRO_DATAVALID_CLIENT_SECRETsecretOAuth2 client secret for the Serpro Datavalid API (commercial contract)
MEIAENTRADA_CODIGO_ACESSOsecretAccess 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
More MCP servers
Thalovant MCP
github.com/thalovant
Connect MCP clients to Thalovant control-plane and hub runtime APIs over stdio or Streamable HTTP.
Phở Research Tools
github.com/thaohienhomes
Verifies AI-written references; finds real papers, evidence, datasets and research tools; PRISMA.
Latchkey
github.com/that-developer-kaveh
Triage failing GitHub Actions jobs and see what self-heal repaired, in natural language.
Overture Maps
github.com/thatapicompany
Overture Maps places (POIs), buildings and administrative boundaries, via the Overture Maps API.
Musicwire Mcp
github.com/thatdudealso
Paid MusicXML validation, rendering, and automated QC for MCP clients.
NZ Open Banking MCP (Akahu)
github.com/thatskiff33
Ask about your NZ bank accounts via Akahu open finance. Read-only by default, consent per write.