Skip to content
LangChain

TheYtree for LangChain

com.theytree/theytree

Public read-only MCP for the Y-chromosome haplogroup tree & Y-SNP resolution. 父系单倍群树查询与Y-SNP解析。

client:LangChain transport:streamable-http tools:9

Install TheYtree in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "theytree": {
            "transport": "streamable_http",
            "url": "https://www.theytree.com/api/v1/agent/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

TheYtree in other clients