Skip to content
LangChain

Graph Advocate for LangChain

io.github.paulieb14/graph-advocate

Routes plain-English onchain data questions to the right subgraph or API, with a query.

client:LangChain transport:streamable-http tools:3

Install Graph Advocate in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "graph-advocate": {
            "transport": "streamable_http",
            "url": "https://graphadvocate.com/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

Graph Advocate in other clients