Skip to content
LangChain

memory for LangChain

com.leapmemory/memory

Long-term memory for AI assistants. Isolated per-user storage, recall across conversations.

client:LangChain transport:streamable-http

Install memory in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "memory": {
            "transport": "streamable_http",
            "url": "https://api.leapmemory.com/mcp",
        }
})

tools = await client.get_tools()

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

memory in other clients