Skip to content
LangChain

themealdb mcp for LangChain

io.github.mrfentmen/themealdb-mcp

TheMealDB recipes, categories, and ingredient filters.

client:LangChain transport:stdio runtime:npm

Install themealdb mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

themealdb mcp in other clients