Local RAG system for Claude Code with hybrid search (BM25 + semantic), cross-encoder reranking, markdown-aware chunking, query expansion, and 12 MCP tools. Runs entirely offline with zero external servers.
Run the underlying MCP server directly — without Agent-CoreX routing.
npx -y knowledge-ragAgent-CoreX intelligently routes which tools from lyonzin/knowledge-rag your AI agent actually needs per request — reducing token usage and cost.
agent-corex.json
{
"mcpServers": {
"knowledge-rag": {
"command": "npx",
"args": [
"-y",
"knowledge-rag"
]
}
}
}Connect in 2 minutes. Only pay for the tools your agent actually uses.
Recommended: intelligent tool routing, lower costs
uvx agent-corex mcp add knowledge-ragAgent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.
Use lyonzin/knowledge-rag directly without routing
npx -y knowledge-ragNew to Agent-CoreX? View setup guide →