mcp-brasil
by Mcp-Brasil·★ 1,561·Score 56
Comprehensive MCP server providing access to 70 Brazilian public APIs with 533 tools for various government data sources.
Overview
The mcp-brasil server is a comprehensive tool that connects AI agents to Brazilian government data across multiple domains including economy, legislation, transparency, judiciary, elections, environment, health, education, and more. It offers 533 tools across 70 features with 131 resources and 102 prompts. The server implements smart discovery with BM25 search filtering and async execution capabilities with rate limiting. It supports optional API keys for 34 services while 66 APIs work without authentication.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server when you need comprehensive access to Brazilian public data for AI applications, especially if you're working with economic, legislative, or transparency data.
When NOT to choose this
Don't choose this if you need access to non-Brazilian data sources or if you require write capabilities to the underlying APIs, as this server only provides read access.
Tools this server exposes
12 tools extracted from the READMElistar_featuresList all available data features in the MCP server
recomendar_toolsGet tool recommendations based on a query
planejar_consultaCreate an execution plan combining multiple APIs
executar_loteExecute multiple queries in parallel in a single call
listar_datasets_disponiveisList available local datasets
query_camaraQuery Câmara dos Deputados data (deputies, proposals, voting, expenses)
query_transparenciaQuery Portal da Transparência data (contracts, expenses, servers)
query_tseQuery TSE election data (candidates, voting accounts)
query_ibgeQuery IBGE geographic and statistical data
query_bacenQuery Central Bank economic indicators (Selic, IPCA, PIB)
query_datajudQuery judicial processes from DataJud/CNJ
query_saudeQuery health data from CNES/DataSUS
Comparable tools
Installation
Install with pip or uv:
pip install mcp-brasil
uv add mcp-brasilFor Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"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",
"META_ACCESS_TOKEN": "seu-token-aqui"
}
}
}
}API keys are optional - without them, 36 APIs still function normally.
FAQ
- How many Brazilian APIs are covered?
- 70 APIs from various Brazilian government sources covering 15 thematic areas including economy, legislation, transparency, judiciary, elections, environment, health, education, public safety, and more.
- Can I use this server without API keys?
- Yes, 66 APIs don't require authentication keys. Only 4 APIs need free keys that can be obtained with a 1-minute registration process.
Compare mcp-brasil with
Last updated · Auto-generated from public README + GitHub signals.