Prez.ai: 2028 presidential race odds for LangChain
io.github.gobblesmcflex/prez-ai
Who will win the 2028 US presidential election and each nomination: live prediction-market odds.
client:LangChain
transport:streamable-http
tools:4
Install Prez.ai: 2028 presidential race odds in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"prez-ai": {
"transport": "streamable_http",
"url": "https://prez.ai/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs