mcp-brasil

Level ALocal

MCP Server para 70 APIs públicas brasileiras

Overview

mcp-brasil is an MCP server that connects AI agents like Claude, GPT, and Copilot to 70 Brazilian public data sources across 15 areas including economy, legislation, transparency, judiciary, elections, environment, health, education, and public safety. It offers 533 tools, 131 resources, and 102 prompts; 66 APIs need no key and 4 use free keys. It supports local caching of large datasets, cross-API query planning, batch parallel execution, and smart tool discovery.

⭐ 1.9kDevelopment ToolsPythonRepo ↗Updated 2026-09-19

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "mcp-brasil-mcp-brasil": {
      "command": "uvx",
      "args": [
        "--from",
        "mcp-brasil",
        "python",
        "-m",
        "mcp_brasil.server"
      ],
      "env": {
        "TRANSPARENCIA_API_KEY": "sua-chave-aqui",
        "DATAJUD_API_KEY": "sua-chave-aqui"
      }
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/Mcp-Brasil/mcp-brasil

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "mcp-brasil-mcp-brasil": {
      "command": "uvx",
      "args": [
        "--from",
        "mcp-brasil",
        "python",
        "-m",
        "mcp_brasil.server"
      ],
      "env": {
        "TRANSPARENCIA_API_KEY": "sua-chave-aqui",
        "DATAJUD_API_KEY": "sua-chave-aqui"
      }
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers