Situação Eleitoral (TSE) for LangChain
io.github.mcp-dir/situacao_eleitoral-mcp
Looks up a person's voter status at the Electoral Court (TSE) from the name, date of birth, CPF, and
client:LangChain
transport:streamable-http
tools:7
Install Situação Eleitoral (TSE) in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"situacao_eleitoral-mcp": {
"transport": "streamable_http",
"url": "https://api.mcp.ai/p_situacao_eleitoral",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs