Skip to content
LangChain

madeleine for LangChain

io.github.fabianimv/madeleine

Involuntary memory for agents: time, place, sound and IoT cues surface memories unasked

client:LangChain transport:stdio runtime:pypi

Install madeleine in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

madeleine in other clients