gov.br APIs MCP

io.github.thalisantunes/govbr-apis-mcp

A catalog-driven gateway over Brazilian government APIs, loading OpenAPI specs on demand.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "govbr-apis-mcp": {
      "command": "uvx",
      "args": [
        "govbr-apis-mcp"
      ],
      "env": {
        "TRANSPARENCIA_API_KEY": "<your TRANSPARENCIA_API_KEY>",
        "DATAJUD_API_KEY": "<your DATAJUD_API_KEY>",
        "DADOSGOV_API_KEY": "<your DADOSGOV_API_KEY>",
        "SERPRO_CPF_CLIENT_ID": "<your SERPRO_CPF_CLIENT_ID>",
        "SERPRO_CPF_CLIENT_SECRET": "<your SERPRO_CPF_CLIENT_SECRET>",
        "SERPRO_CNPJ_CLIENT_ID": "<your SERPRO_CNPJ_CLIENT_ID>",
        "SERPRO_CNPJ_CLIENT_SECRET": "<your SERPRO_CNPJ_CLIENT_SECRET>",
        "SERPRO_DATAVALID_CLIENT_ID": "<your SERPRO_DATAVALID_CLIENT_ID>",
        "SERPRO_DATAVALID_CLIENT_SECRET": "<your SERPRO_DATAVALID_CLIENT_SECRET>",
        "MEIAENTRADA_CODIGO_ACESSO": "<your MEIAENTRADA_CODIGO_ACESSO>"
      }
    }
  }
}
Environment 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

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.2.0
Registry
active
Published
10/19/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that gov.br APIs MCP is listed here — it’s also the link we check for a free listing.

gov.br APIs MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-thalisantunes-govbr-apis-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="gov.br APIs MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![gov.br APIs MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-thalisantunes-govbr-apis-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.