Skip to content
LangChain

Us Elections for LangChain

io.github.pipeworx-io/us-elections

us-elections -- U.S. election results by county and precinct (fleet #2952).

client:LangChain transport:streamable-http tools:43

Install Us Elections in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "us-elections": {
            "transport": "streamable_http",
            "url": "https://gateway.pipeworx.io/us-elections/mcp",
        }
})

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

All 43 tools →

Us Elections in other clients