MCP Directory

lyonzin/knowledge-rag

GitHub
Productivity

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.

Direct install

Run the underlying MCP server directly — without Agent-CoreX routing.

npx -y knowledge-rag

Use with Agent-CoreX

Agent-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"
      ]
    }
  }
}

Route lyonzin/knowledge-rag intelligently

Connect in 2 minutes. Only pay for the tools your agent actually uses.

Installation Guide

Use with Agent-CoreX

Recommended: intelligent tool routing, lower costs

uvx agent-corex mcp add knowledge-rag

Agent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.

Direct Install

Use lyonzin/knowledge-rag directly without routing

npx -y knowledge-rag

New to Agent-CoreX? View setup guide →

lyonzin/knowledge-rag MCP Server — Agent-CoreX