Skip to content
LangChain

BioCosm for LangChain

io.github.nhoverte/biocosm

Biotech intelligence for AI agents: drugs, targets, diagnostics, PoS estimates, and writeups.

client:LangChain transport:streamable-http tools:13

Install BioCosm in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "biocosm": {
            "transport": "streamable_http",
            "url": "https://biocosm-mcp.fly.dev/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

BioCosm in other clients