VotePredictor Elections for LangChain
com.votepredictor/elections
2026 US election forecasts with a public accuracy record, plus congressional voting records.
client:LangChain
transport:streamable-http
tools:4
Install VotePredictor Elections in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"elections": {
"transport": "streamable_http",
"url": "https://votepredictor.com/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs