Skip to content
LangChain

MCP Memory Graph for LangChain

io.github.retrorobai/mcp-memory-graph

Authority-weighted memory graph for AI agents with conflict detection and semantic search.

client:LangChain transport:stdio runtime:pypi

Install MCP Memory Graph in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp-memory-graph": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["mcp-memory-graph"],
        }
})

tools = await client.get_tools()

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

MCP Memory Graph in other clients