Skip to content
LangChain

lake-meter for LangChain

io.github.getlake/lake-meter

Per-step model recommendations and cost estimates for coding-agent plans.

client:LangChain transport:stdio runtime:npm

Install lake-meter in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

lake-meter in other clients