buscar_municipio
Buscar município
Encontra municípios pelo nome e devolve código IBGE, UF e total recebido em emendas parlamentares (gratuito).
nomerequiredio.github.projects-betanullPublished by GitHub account projects-betanullv1.2.0Updated Nov 7, 2026
Brazilian federal budget amendments by municipality, author and recipient. Paid via Lightning.
Remote MCP server for Brazilian federal parliamentary amendment (emenda) data by municipality, with free lookups and paid detail, rankings and contract tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.projects-betanull%2Fpainel-emendas/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"emendas-parlamentares-do-brasil": {
"type": "http",
"url": "https://painel-emendas.pages.dev/mcp"
}
}
}Baixa as emendas parlamentares do Portal da Transparência, liga cada linha ao município (código IBGE) e gera as tabelas do painel. Roda de graça todo dia no GitHub Actions.
data/out/ANO_INICIAL=2015 python -m etl.build muda o primeiro ano (padrão: 2020).
qualidade.R2_ACCOUNT_ID, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY e R2_BUCKET. Sem esses segredos o workflow só gera e guarda o relatório.etl/normalize.py, dicionário COLUNAS). Se o Portal mudar um rótulo, o build para e lista as colunas encontradas; basta acrescentar o novo nome ali.CIDADE - UF, CIDADE/UF, ESTADO (UF), REGIÃO (REGIÃO) e NACIONAL. O qualidade.json mostra o que sobrou; grafias diferentes entram em ALIASES_MUNICIPIO.Source: README.md at commit 0dcca82
Buscar município
Encontra municípios pelo nome e devolve código IBGE, UF e total recebido em emendas parlamentares (gratuito).
nomerequiredResumo de emendas do município
Resumo das emendas parlamentares recebidas por um município: total, por habitante e página. Com token pago, inclui por ano, autores, favorecidos (com CNPJ), áreas e tipos.
tokencodigo_ibgerequiredRanking de municípios
Ranking dos municípios que mais receberam emendas, no Brasil ou numa UF, por valor total e por habitante (municípios acima de 50 mil habitantes). Requer token pago.
uftokenrequiredContratos da prefeitura (PNCP)
Contratos dos últimos 12 meses publicados no PNCP pela prefeitura de um município: principais fornecedores (CNPJ) e contratos recentes. Requer token pago.
tokenrequiredcodigo_ibgerequiredComprar passe de 24 h
Gera uma fatura Lightning para um passe de 24 horas às ferramentas pagas. Pague a fatura e depois chame ativar_acesso com o id.
Takes no parameters.
Ativar passe
Confere o pagamento de uma fatura gerada por comprar_acesso e devolve o token de acesso de 24 horas.
fatura_idrequired90% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare a license in the repository or the registry entry.
python -m venv .venv && source .venv/bin/activatepip install -r requirements.txtpython -m pytest -q # testes com a amostra em tests/fixturespython -m etl.build # baixa os dados reais e gera data/out/