Weight Class for LangChain
io.github.tayoaki/weight-class
Calories and protein at 100 US restaurant chains, from each chain's own numbers, plus USDA foods.
client:LangChain
transport:streamable-http
tools:6
Install Weight Class in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"weight-class": {
"transport": "streamable_http",
"url": "https://api-production-174d.up.railway.app/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs