sphere for LangChain
io.getsphere/sphere
Log meals, check calories and macros, set up a nutrition plan, and search foods.
client:LangChain
transport:streamable-http
Install sphere in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"sphere": {
"transport": "streamable_http",
"url": "https://api.getsphere.io/functions/v1/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs