rag-rat for LangChain
io.github.cq27-dev/rag-rat
Repository intelligence, code graph, history, papertrail, and cross-agent memory for coding agents.
client:LangChain
transport:stdio
runtime:npm
Install rag-rat in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"rag-rat": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@rag-rat/bin"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs