Skip to content
LangChain

ncbi gene mcp for LangChain

io.github.mrfentmen/ncbi-gene-mcp

NCBI Gene records: search by symbol, disease or chromosome and read names, location, aliases and

client:LangChain transport:stdio runtime:npm

Install ncbi gene mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

ncbi gene mcp in other clients