Skip to content
LangChain

memhole for LangChain

io.github.nanafy/memhole

Search every chat with your coding agents by meaning and keyword. Local, no LLM at write time.

client:LangChain transport:stdio runtime:npm

Install memhole in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "memhole": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "memhole"],
        }
})

tools = await client.get_tools()

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

memhole in other clients