Eleições 2026: Dados Públicos do TSE for LangChain
io.github.mcp-dir/eleicoes-mcp
Brazil 2026 election data from the TSE: ballot box reports, logs, results, SHA-256 and source link.
client:LangChain
transport:streamable-http
tools:21
Install Eleições 2026: Dados Públicos do TSE in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"eleicoes-mcp": {
"transport": "streamable_http",
"url": "https://api.mcp.ai/p_eleicoes",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- eleicoes_consultar_secao
- eleicoes_votos_por_horario
- eleicoes_totais
- eleicoes_comparar_turnos
- eleicoes_timeline_divulgacao
- eleicoes_conferir_bu_impresso
- eleicoes_verificar_hash
- eleicoes_filtrar_secoes
- eleicoes_exportar_csv
- eleicoes_esquema
- eleicoes_consulta_sql
- eleicoes_estimar_sql
- eleicoes_buscar_candidato
- eleicoes_cobertura
- eleicoes_como_ler
- show_version
- report_bug
- connect
- toolkit_info
- marketplace
- authenticate