Skip to content
LangChain

CPG Knowledge Graph for LangChain

io.github.greencore-solutions/cpg-knowledge-graph

The MCP for the beauty, cosmetics and personal care sector

client:LangChain transport:streamable-http tools:14

Install CPG Knowledge Graph in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cpg-knowledge-graph": {
            "transport": "streamable_http",
            "url": "https://mcp.cpgknowledgegraph.ai/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

CPG Knowledge Graph in other clients