LK

lyonzin/knowledge-rag

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

306 stars 51 forks 品質 93 トレンド 20MIT

lyonzin/knowledge-ragは、https://github.com/lyonzin/knowledge-rag.からインポートされたMCPサーバー候補です。

概要

lyonzin/knowledge-ragは、https://github.com/lyonzin/knowledge-rag.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Claude Code、Cursor、そしてすべてのAIエージェントのためのMCP初のローカルRAGサーバー。

ハイブリッド検索 ·クロスエンコーダーの再ランク付け ·35種類のファイルフォーマット ·100%ローカル ·ゼロクラウド ·エンタープライズグレードの配管機能内蔵。

クイックスタート · なぜ知識誌なのか · 比較 · エンタープライズ機能 · ドキュメンタリー


⭐ スターの歴史

チャートはGitHub Actionによって毎日更新されています


🎯 なぜ知識雑誌なのか

ほとんどのRAGフレームワークは3つの罠のいずれかに陥ります:(1) データをクラウドAPIに転送することを要求する、(2) 300個のビルディングブロックを渡し、意見の強いデフォルトはゼロ、(3) RAGをあなたが求めていないはるかに大きなプラットフォームの5%の機能としてバンドルしてしまうこと。

**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" } } } }