Skip to content
LangChain

Life Dashboard for LangChain

io.github.owen282000/life-dashboard

Read-only health and screen time history from the Postgres of a self-hosted Life Dashboard Stack

client:LangChain transport:stdio runtime:oci

Install Life Dashboard in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "life-dashboard": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/owen282000/life-dashboard-mcp:1.1.2"],
        }
})

tools = await client.get_tools()

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

Life Dashboard in other clients