Skip to content
LangChain

Lithe for LangChain

io.github.alexdissi/lithe

Your sleep, recovery, HRV, resting heart rate, activity and workouts from your watch, for any AI.

client:LangChain transport:streamable-http

Install Lithe in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "lithe": {
            "transport": "streamable_http",
            "url": "https://api.lithe.health/mcp",
        }
})

tools = await client.get_tools()

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

Lithe in other clients