RepoLens for LangChain
io.github.chapibunny/repolens
Architecture docs from a repo: overview, modules, API surface, routes, dependency graph, diffs.
client:LangChain
transport:stdio
runtime:npm
Install RepoLens in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"repolens": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@chappibunny/repolens"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs