Skip to content
LangChain

Compiler for LangChain

com.usecompiler/compiler

Answers questions about how your product works, from your GitHub or GitLab code.

client:LangChain transport:streamable-http

Install Compiler in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "compiler": {
            "transport": "streamable_http",
            "url": "https://app.usecompiler.com/mcp",
        }
})

tools = await client.get_tools()

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

Compiler in other clients