Skip to content
LangChain

WattGap for Agents for LangChain

io.github.dfskid/agent-mcp

Sourced, dated US home-energy program truth by ZIP.

client:LangChain transport:streamable-http

Install WattGap for Agents in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agent-mcp": {
            "transport": "streamable_http",
            "url": "https://wattgap.com/api/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

WattGap for Agents in other clients