Skip to content
LangChain

Compound Labs MCP for LangChain

tech.thecompound/compound-mcp

Compound Labs: eleven keyless lookups. Model pricing, dep health, stack cost, registries.

client:LangChain transport:stdio runtime:npm

Install Compound Labs MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Compound Labs MCP in other clients