Skip to content
LangChain

codeindex for LangChain

io.github.munhq/codeindex

Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.

client:LangChain transport:stdio runtime:npm

Install codeindex in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "codeindex": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@munhq/codeindex"],
        }
})

tools = await client.get_tools()

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

codeindex in other clients