Public data connector · elections (Brazil)

Brazilian elections, asked in plain English.

Votes by neighbourhood, electoral quotient, candidacies and campaign finance since 1994, with the TSE file each number came from.

R$ 19.90/month · 20 free queries

For Business Personal

Claude · Integras Hub · TSE connector Format example
Question

What was the electoral quotient for federal deputy in Minas Gerais in 2022?

Tool

tse_quociente_eleitoral ano=2022 cargo=deputado federal uf=MG

Answer

Valid votes: 11,181,098. Seats: 53. Electoral quotient: 210,964 (valid votes divided by the seats, the fraction dropped). Sixteen parties or federations won at least one seat, through the party quotient or the highest average, as the source records.

These are the numbers the TSE publishes. This is not an official query of the Electoral Court.

Origin
  • Open data of the TSE, organised by Singularidade’s public-data base
  • Date of the data, source file and SHA-256 of the package: in every answer
Period
1994 to the most recent election
Tools
40
Address
hub.integras.digital/tse/mcp
  • Nothing to install
  • Works on your phone
  • Curated data with its origin
  • Kept up to date

What you can do

  • Results by place

    • Votes by candidate and by party in a region, state, municipality, electoral zone, polling section or the neighbourhood of the polling place.
    • The elected, the coalitions and the party federations of each election.
  • Quotient and seats

    • The electoral quotient and each party’s seats for deputy and city councillor.
    • How many votes it took to be elected, and the vote goal of a candidacy.
  • Compare elections

    • Where votes were gained and lost between two elections, down to the polling section.
    • The renewal of an office, and representation over the years.
  • Candidacies and finance

    • The profile of the candidacies, declared assets and how they changed over time.
    • Campaign income, spending and donors, and the cost per vote.
  • Electorate

    • The profile of the electorate, and turnout and abstention by area.
    • The presence of women and Black people among candidates and the elected.
  • Polls and government plans

    • Registered opinion polls: the polling firm, who commissioned it and the dates (the court does not publish the results).
    • Search by topic in government plans since 2022.

Ready questions

Copy one, paste it with the connector on and change the place or period to yours. No example names a candidate, party or member of Congress. The data and the answers are about Brazil.

  1. How many votes did each party get for city councillor in Aracaju in 2024?

  2. What were turnout and abstention by neighbourhood in Contagem in the 2024 municipal election?

  3. What was the electoral quotient for federal deputy in Minas Gerais in 2022, and how many seats went to each party?

  4. How many women ran and how many were elected for city councillor in Sergipe from 2008 to 2024?

Show 4 more questions
  1. Which opinion polls were registered for mayor of Belo Horizonte in 2024, and who commissioned them?

  2. How did abstention in Salvador change between the 2016 and 2024 municipal elections?

  3. How much income and spending did the campaigns for mayor of Aracaju declare in 2024?

  4. Does this number I read in a news story match the TSE data? Which file did it come from?

How an answer is made

The AI does not guess: it calls a tool with parameters, reads the result and says where each number came from.

  1. You ask

    What was the electoral quotient for federal deputy in Minas Gerais in 2022?

    In plain words, as you would ask a colleague.

  2. The AI calls the tool

    tse_quociente_eleitoral ano=2022 cargo=deputado federal uf=MG

    With the parameters taken from the question.

  3. It reads the result and answers

    Valid votes: 11,181,098. Seats: 53. Electoral quotient: 210,964 (valid votes divided by the seats, the fraction dropped). Sixteen parties or federations won at least one seat, through the party quotient or the highest average, as the source records.

    These are the numbers the TSE publishes. This is not an official query of the Electoral Court.

    The numbers come from the query, not from the model’s memory.

  4. And says where it came from
    • Open data of the TSE, organised by Singularidade’s public-data base
    • Date of the data, source file and SHA-256 of the package: in every answer

    The source and the date, so you can check.

Tools 40

Taken from the connector’s code on November 25, 2026 and grouped by subject. The assistant picks them from your question; you do not need to know the names. The tool titles and groups are the connector’s own, in Portuguese.

40 tools

Resultados 19 tools
  • tse_eleicoes Eleições de um ano
  • tse_comparecimento Comparecimento e abstenção
  • tse_resultado_candidato Votos por candidato
  • tse_resultado_partido Votação por partido
  • tse_resultado_por_local Votos por lugar
  • tse_comparar_eleicoes Comparar duas eleições
  • tse_redutos Redutos eleitorais
  • tse_quociente_eleitoral Quociente eleitoral e vagas
  • tse_partido_historico História de um partido
  • tse_voto_por_perfil_de_area Voto por perfil de área
  • tse_resultado_por_bairro_oficial Resultado por bairro oficial (IBGE)
  • tse_voto_por_habitante Eleitores e votos por habitante
  • tse_voto_em_favela Voto em favelas e comunidades urbanas
  • tse_evolucao_por_area Onde ganhou e perdeu votos, por área
  • tse_perfil_do_eleitorado Perfil dos lugares onde teve votos
  • tse_sobreposicao Redutos sobrepostos de dois candidatos
  • tse_concentracao Concentração do voto
  • tse_candidatos_parecidos Candidatos votados em lugares parecidos
  • tse_meta_de_votos Meta de votos
Candidaturas 11 tools
  • tse_candidaturas Candidaturas e resultado
  • tse_eleitos Eleitos
  • tse_coligacoes Coligações e federações
  • tse_candidaturas_perfil Perfil das candidaturas
  • tse_candidato_historico Histórico de um candidato
  • tse_bens_declarados Bens declarados
  • tse_evolucao_patrimonial Evolução patrimonial de um candidato
  • tse_renovacao Renovação de um cargo
  • tse_serie_representacao Representação ao longo das eleições
  • tse_pesquisas_registradas Pesquisas eleitorais registradas
  • tse_planos_de_governo Planos de governo
Contas 4 tools
  • tse_contas_receitas Receitas de campanha
  • tse_contas_despesas Despesas de campanha
  • tse_contas_doadores Maiores doadores de campanha
  • tse_custo_por_voto Custo por voto
Eleitorado 5 tools
  • tse_eleitorado_perfil Perfil do eleitorado
  • tse_abstencao_por_area Abstenção por área
  • tse_alistamento_por_idade Alistamento por idade
  • tse_filiados Filiados a partidos
  • tse_comparecimento_perfil Comparecimento por perfil do eleitor
Auditoria 1 tool
  • tse_origem_do_dado Origem de um número

Every connector also brings relato_enviar and relato_listar, to report an error or ask for an improvement, and, when the account has a knowledge base, knowledge_search, knowledge_read_document and knowledge_save_note.

Limits and notices

  • Not an official TSE service.
  • Every answer carries the date of the data and the source file.
  • Numbers as the court publishes them, with a warning when something looks wrong.
  • It does not recommend votes or rank candidates (TSE Resolution 23.755/2026).
See all notices (7)
  • Not an official service of Brazil’s Superior Electoral Court (TSE). It queries the open data the court publishes, and every answer says so.
  • Source: the TSE open data portal. Every answer carries the date of the data; an election in progress comes in as soon as the court publishes it, marked as preliminary.
  • The numbers are the source’s, typing errors included; when something looks wrong, the answer warns.
  • Donors and suppliers who are individuals appear with the name partly hidden and with no document, and no contact details are shown.
  • The total of a state or of the country is the sum of the lines, never the average of percentages.
  • The original file of every source is kept, identified by its hash, so any number can be checked.
  • It is an analysis tool: it does not recommend votes or rank candidates or members of parliament by merit (TSE Resolution 23.755/2026).

How to connect and price

In Claude

  1. Create your Hub account

    With email or Google, no password and no card. Coming from this page, you go straight to the TSE connector.

  2. Click Add to Claude

    The Hub button opens Claude with hub.integras.digital/tse/mcp already filled in. Nothing to install or set up.

  3. Ask

    On the web, on your phone or on your computer, as you would ask a colleague.

In ChatGPT

The same address goes in as a custom connector (remote MCP server), with your Hub account, on the ChatGPT plans that offer it.

Price

For individuals, on Integras Hub
R$ 19.90 a month. 20 free queries to try it, then 50 a day. Cancel any time.
Try it free on the Hub
For companies
Free on every plan, at no extra cost, and counts as one of the active connectors. Plans from R$ 399/month, with 10 users.
Sign up Talk to sales

All prices

Ask your first question today.

Signing up takes a few minutes, and the connector shows up in Claude right after.

Frequently asked questions

Is it a TSE service?

No. It is an unofficial query of the open data that Brazil’s Superior Electoral Court publishes, organised by Singularidade’s public-data base. Every answer says so and cites the source.

How recent is the data?

Every answer carries the date of the data. New elections come in when the court publishes the files.

How do I check a number?

Ask for its origin: the tse_origem_do_dado tool shows the original file, the address at the source and the line the number came from.

Can I use it at my company?

Yes. The same connector is in the business catalogue: it is free on every plan and counts as one of the plan’s active connectors.