Skip to content
LangChain

health-os for LangChain

io.github.andronaft/health-os

Local-first personal health record: labs, meds, wearables, food log, deterministic safety checks

client:LangChain transport:stdio runtime:oci

Install health-os in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "health-os": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/andronaft/health-os:0.2.1"],
        }
})

tools = await client.get_tools()

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

health-os in other clients