Skip to content
LangChain

CodeArchy for LangChain

io.github.codearchy/codearchy

Your codebase’s architecture for your AI agent: map, search, dependencies, request flows, code.

client:LangChain transport:stdio runtime:npm

Install CodeArchy in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

CodeArchy in other clients