# Brazil 2026 Election: Official TSE Data — MCP server on mcp.ai > Ballot box reports, voting machine logs and official result releases from Brazil's electoral court (TSE) for the 2026 elections (1st and 2nd round), with file hash and source link, to look up and check with ChatGPT or Claude. Raw TSE data organized for lookup. Covers the 1st and 2nd round; the 2nd is the default. Every number comes with the TSE file, official link and SHA-256, with no opinion. Not an official report or analysis. Independent service, not affiliated with the TSE. Free. By: mcp.ai · official Page: https://new.mcp.ai/eleicoes ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_eleicoes?ms=1796396580000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_eleicoes ### Claude 1. Copy the Brazil 2026 Election: Official TSE Data link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name Brazil 2026 Election: Official TSE Data, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Brazil 2026 Election: Official TSE Data needs no other account: it works right after sign-in. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the Brazil 2026 Election: Official TSE Data link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name Brazil 2026 Election: Official TSE Data, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with Brazil 2026 Election: Official TSE Data. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Brazil 2026 Election: Official TSE Data needs no other account: it works right after sign-in. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the Brazil 2026 Election: Official TSE Data link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Brazil 2026 Election: Official TSE Data needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the Brazil 2026 Election: Official TSE Data link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Brazil 2026 Election: Official TSE Data needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Manus 1. Copy the Brazil 2026 Election: Official TSE Data link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Brazil 2026 Election: Official TSE Data needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Agents 1. Copy the Brazil 2026 Election: Official TSE Data link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. Brazil 2026 Election: Official TSE Data needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/eleicoes/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/eleicoes/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/eleicoes/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/eleicoes/skill.md Postman collection (v2.1): https://new.mcp.ai/eleicoes/postman.json ## Tools - eleicoes_buscar_candidato(ano?: integer, termos: string|number[], cargo?: string, uf?: string) — Candidates for every 2026 office (president, governor, senator, deputies) by ballot name or number: party, office, state, status and 1st round votes summed from the ballot box reports, with votes by city. - eleicoes_cobertura(ano?: integer, turno?: number) — How much data is available: sections with a ballot box report (BU) and with a voting machine log per state, out of the TSE total, and the time of the last sync. Use it before drawing conclusions from per-section data. - eleicoes_como_ler(ano?: integer) — Short, neutral glossary: ballot box report, voting machine log, load code, why some sections close after 5 pm, extension, time zones, aggregate biometrics, file versions and SHA-256. Also shows where each piece of data comes from. - eleicoes_comparar_turnos(ano?: integer, uf: string, municipio?: string, zona?: string|number, secao?: string|number, cargo?: string) — 1st and 2nd round side by side, numbers only: for Brazil, a state or a city (official totals) or a section (ballot box report), with the 2nd minus 1st difference in each field and a check that the changes add up. - eleicoes_conferir_bu_impresso(ano?: integer, codigo_carga?: string, turno?: number, uf?: string, municipio?: string, zona?: string|number, secao?: string|number, itens?: object[]) — Returns the official ballot box report of a section, field by field, to compare with a printed report. Find it by the load code printed on the paper or by state + city + zone + section. Does not read photos: the comparison is yours to make. - eleicoes_consulta_sql(ano?: integer, sql: string, limite?: integer) — Runs ONE read-only SELECT (or WITH … SELECT) on the public election tables (see eleicoes_esquema first). A pre-flight check on the query plan estimates the rows read and refuses above 5 million before running. - eleicoes_consultar_secao(ano?: integer, turno?: number, uf?: string, municipio?: string, zona?: string|number, secao?: string|number, secoes?: object[]) — Official ballot box report (BU) of an electoral section in the 2026 elections: votes per candidate, blank, null, eligible voters, turnout, opening and closing time (local and Brasília), aggregate biometrics, load code, urn number and type, and from the log the urn model, versions, signature checks, power-on time and load computer, with the source file and SHA-256. - eleicoes_esquema(ano?: integer) — Public tables and columns of this MCP's SQL database (secoes, municipios, totais_municipio, candidatos, votos_por_minuto, fontes), with the meaning of each column, 5 example queries and the source files. - eleicoes_estimar_sql(ano?: integer, sql: string) — Only the pre-flight check of eleicoes_consulta_sql, without running it: validates the SELECT, shows the plan, the estimated rows per table and whether it would be refused (limit of 5 million rows read). - eleicoes_exportar_csv(ano?: integer, turno?: number, uf: string, municipio?: string, filtros?: object[]) — Same slice as filtrar_secoes, for one state (optionally one city), exported as a full CSV: returns a link that expires in 24 h, the CSV's sha256 and the row count. Up to 200 thousand rows per export. - eleicoes_filtrar_secoes(ano?: integer, turno?: number, uf?: string, municipio?: string, filtros?: object[], agrupar_por?: string, metricas?: string[], ordenar?: object, limite?: integer, cursor?: integer) — Filters and aggregates sections (president) without SQL, on the server: filters {field, op, value} (e.g.: closing > '18:00', votos_13, turnout, abstention %, without-biometrics %, log votes since 5 pm), aggregations and pagination. - eleicoes_timeline_divulgacao(ano?: integer, uf?: string, cargo?: string, agrupar?: string, max_pontos?: integer, de?: string, ate?: string) — Release timeline of the 2nd round in Brazil or a state: each version of the results file published by the TSE (or one row per hour, with the votes added in that hour), with % of sections counted and votes per candidate. - eleicoes_totais(ano?: integer, turno?: number, nivel?: string, codigo?: string, uf?: string, municipio?: string, cargo?: string) — Official totals per candidate (votes, % of valid votes, blank, null, turnout, abstentions, sections counted) for Brazil, a state or a city, from the latest collected version of the results file. - eleicoes_verificar_hash(ano?: integer, sha256?: string, arquivo?: string, itens?: object[]) — Tells whether a SHA-256 matches an official TSE file available here and which file it is; or, given a file name (e.g.: o03221pr7691000660045-bu.dat, br-c0001-e006258-u.json), returns its recorded SHA-256 and official link. - eleicoes_votos_por_horario(ano?: integer, turno?: number, uf: string, municipio?: string, de?: string, ate?: string, intervalo_minutos?: number) — Votes cast per time slot (Brasília) in the 2nd round, counted from the voting machine logs, by state, by city or with uf 'BR' for all states side by side. States how many sections have a log available in each case. ## Example prompts - "Compare the 1st and 2nd round for president in Brazil: the change for each candidate, blank, null and abstention, and whether the changes add up to the change in the electorate. For each number, show the TSE file, official link and SHA-256." → eleicoes_comparar_turnos - "In the 2nd round voting machine logs, how many votes were cast between 5:30 pm and 7 pm, by state? Say how many sections have a log available in each state." → eleicoes_votos_por_horario - "I have a printed ballot box report with load code [CODE]. Find the section and show the votes, eligible voters, blank and null votes and closing time from the official file, so I can compare with the paper." → eleicoes_conferir_bu_impresso - "Show the 2nd round results release timeline for Brazil, one row per hour: % of sections counted and votes per candidate. Say from what time the data starts." → eleicoes_timeline_divulgacao - "For the state [CODE], compare the 1st and 2nd round for president: votes and valid-vote share for each candidate, abstention, blank and null votes, with the difference for each field." → eleicoes_comparar_turnos - "For the city [NAME] in [STATE], compare the 1st and 2nd round for president field by field, and check that candidates, blank and null votes add up to turnout in both rounds." → eleicoes_comparar_turnos - "In [CITY]/[STATE], pick a section that closed after 5:30 pm and show its ballot box report: opening, closing, votes per candidate and the log summary. Compare with the 1st round of the same section." → eleicoes_votos_por_horario, eleicoes_consultar_secao, eleicoes_comparar_turnos - "What was each candidate's share of valid votes in Santa Catarina in the 1st and 2nd round, and how many percentage points did it change? Do the same for Brazil." → eleicoes_comparar_turnos - "How many more voters turned out in the 2nd round than in the 1st in Brazil? Show next to it the change in votes for each candidate." → eleicoes_comparar_turnos - "What was the abstention in the 1st and 2nd round of 2026, in number and %? If earlier elections are not available, say so and point to where to check at the TSE." → eleicoes_totais - "For [STATE], show the votes cast in 30-minute slots between 4 pm and 7:30 pm from the voting machine logs, with log coverage. Repeat for [OTHER STATE] side by side." → eleicoes_votos_por_horario - "Check the SHA-256 [HASH] against the TSE files available: which file and version it belongs to, and how I can check the current file on the TSE website." → eleicoes_verificar_hash ## Links Docs: https://mcp.ai/docs/mcps/eleicoes Website: https://mcp.ai/mcps/eleicoes