Skip to content
LangChain

Maindex Smart Memory Service for LangChain

io.maindex/smart

Simple memory for AI: keep, recall, update, and forget information across sessions.

client:LangChain transport:streamable-http

Install Maindex Smart Memory Service in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "smart": {
            "transport": "streamable_http",
            "url": "https://maindex.io/mcp",
        }
})

tools = await client.get_tools()

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

Maindex Smart Memory Service in other clients