Skip to content
LangChain

hpo mcp for LangChain

io.github.mrfentmen/hpo-mcp

Search HPO phenotype terms, read definitions and explore the phenotype hierarchy - keyless.

client:LangChain transport:stdio runtime:npm

Install hpo mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

hpo mcp in other clients