Skip to content
LangChain

Calories & Recipes | Nutrista for LangChain

io.github.peternagy1332/nutrista

Count calories, log meals and recipes, and message real registered dietitians.

client:LangChain transport:streamable-http tools:10

Install Calories & Recipes | Nutrista in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "nutrista": {
            "transport": "streamable_http",
            "url": "https://nutrista.app/api/ai/chatgpt/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Calories & Recipes | Nutrista in other clients