LK

lyonzin/knowledge-rag

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

306 stars 51 forks 품질 93 트렌드 20MIT

lyonzin/knowledge-rag는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

lyonzin/knowledge-rag는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

MCP 최초의 로컬 RAG 서버로, 클로드 코드, 커서, 모든 AI 에이전트를 위한 서버입니다.

하이브리드 검색 · 교차 인코더 재순위 · 35가지 파일 형식 · 100% 로컬 · 제로 클라우드 · 엔터프라이즈급 배관 내장 기능.

빠른 시작 · 왜 지식 잡지인가 · 비교 · 엔터프라이즈 기능 · 문서


⭐ 스타 히스토리

차트는 GitHub Action에서 매일 업데이트됩니다


🎯 왜 지식 잡지인가

대부분의 RAG 프레임워크는 세 가지 함정 중 하나에 빠집니다: (1) 데이터를 클라우드 API로 전송해야 한다는 요구, (2) 300개의 빌딩 블록과 의견 있는 기본값이 0개, 또는 (3) 요청하지 않은 훨씬 큰 플랫폼의 5% 기능으로 RAG를 번들로 제공한다.

**knowledge-rag는 Claude Code, Cursor, Windsurf, VS Code, Cline, Gemini CLI, Zed 등 클라이언트를 위한 MCP 네이티브 로컬 RAG 서버입니다. 선택적 베어러 인증, Prometheus 메트릭, 속도 제한, 건강 탐침, 구조화된 JSON 로깅, 스테이징 기반 재구축을 포함합니다. 계획된 배포에 맞는 전송 및 접근 제어를 구성하세요.

🔒 100% 로컬, 0% 구름

임베딩 생성, 인덱싱, 검색은 로컬에서 실행됩니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

knowledge-rag: local RAG server for Claude Code, Cursor and other MCP clients

knowledge-rag is a local retrieval-augmented generation (RAG) server for the Model Context Protocol (MCP). It indexes the documents and code on your machine and gives Claude Code, Cursor, VS Code and other MCP clients 13 tools to search them, using hybrid search (BM25 keywords plus vector similarity) with cross-encoder reranking on by default. Everything runs in one Python process with embedded ChromaDB and FastEmbed ONNX models: no Docker, no database server, no API key. Indexing and search work offline once the models are cached.

  • 11.1 ms median uncached hybrid query on CPU, 6.1 ms on CUDA: 36 queries over 149 chunks on one Windows host, reranker off (audit)
  • 0.03 ms median for a repeated query served from the cache, same workload (audit)
  • 75,016 chunks from 5,889 documents: full rebuild completed in a production reproduction (v4.8.3)
GitHub에서 전체 README 보기

설치

npx -y knowledge-rag
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "knowledge-rag": { "command": "npx", "args": ["-y", "knowledge-rag"], "env": { "KNOWLEDGE_RAG_DIR": "~/knowledge-rag" } } } }