Skip to content
LangChain

google knowledge graph for LangChain

io.github.houtini-ai/google-knowledge-graph

Search Google's Knowledge Graph for structured information about real-world entities

client:LangChain transport:stdio runtime:npm

Install google knowledge graph in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "google-knowledge-graph": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@houtini/google-knowledge-graph-mcp"],
        }
})

tools = await client.get_tools()

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

google knowledge graph in other clients