gov.br APIs MCP
io.github.thalisantunes/govbr-apis-mcp
v0.2.0Updated Oct 19, 2026stdio · PyPI
A catalog-driven gateway over Brazilian government APIs, loading OpenAPI specs on demand.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add govbr-apis-mcp -- uvx govbr-apis-mcp==0.2.0Configuration
14 settings.
TRANSPARENCIA_API_KEYEnv var· optional· secretAPI key for the Portal da Transparencia APIDATAJUD_API_KEYEnv var· optional· secretAPI key for the CNJ DataJud APIDADOSGOV_API_KEYEnv var· optional· secretAPI key for the dados.gov.br portal API (free, generated in the user profile)SERPRO_CPF_CLIENT_IDEnv var· optional· secretOAuth2 client ID for the Serpro CPF API (commercial contract)SERPRO_CPF_CLIENT_SECRETEnv var· optional· secretOAuth2 client secret for the Serpro CPF API (commercial contract)SERPRO_CNPJ_CLIENT_IDEnv var· optional· secretOAuth2 client ID for the Serpro CNPJ API (commercial contract)
Show 8 moreShow fewer
SERPRO_CNPJ_CLIENT_SECRETEnv var· optional· secretOAuth2 client secret for the Serpro CNPJ API (commercial contract)SERPRO_DATAVALID_CLIENT_IDEnv var· optional· secretOAuth2 client ID for the Serpro Datavalid API (commercial contract)SERPRO_DATAVALID_CLIENT_SECRETEnv var· optional· secretOAuth2 client secret for the Serpro Datavalid API (commercial contract)MEIAENTRADA_CODIGO_ACESSOEnv var· optional· secretAccess code (codigoAcesso) for the CIE validator used for meia-entrada, issued to the venue or producerGOVBR_CATALOG_DIREnv var· optionalDirectory of catalog YAML files that replaces the packaged catalog (trusted input)GOVBR_EXTRA_CATALOG_DIREnv var· optionalDirectory of catalog YAML files whose entries are added to the catalog, overriding same-id onesGOVBR_EXTRA_ALLOWED_HOSTSEnv var· optionalComma-separated extra hostnames catalog URLs may use; add one only if you trust it with the credentials sent thereXDG_CACHE_HOMEEnv var· optionalBase directory of the OpenAPI spec cache (a govbr-apis-mcp folder is created below it); defaults to ~/.cache
Links
Listed in the official MCP Registry since Oct 19, 2026. Mirrored daily; last checked Nov 26, 2026.