
Ragdrift Mcp
io.github.MukundaKatta由 GitHub 帳號 MukundaKatta 發布v0.1.1更新於 Nov 3, 2026
Diagnose RAG drift: interpret scores, recommend thresholds, explain dimensions.
概覽
本機 MCP 伺服器,協助助理解讀 RAG 漂移分數、建議門檻並說明漂移維度。
- 可以做什麼
- 解讀指定維度的漂移分數,給出嚴重程度分類與建議的後續步驟
- 依樣本數與誤報預算建議門檻數值
- 以結構化參考說明五個漂移維度(資料、嵌入、回應、信心度、查詢)
- 適用情境
- 當收到 RAG 漂移告警,希望助理協助判斷分數是否值得擔心、下一步該查什麼時使用。它只是解讀層,實際的漂移偵測由 ragdrift 函式庫或你自己的遙測完成。
- 執行需求
- 以 stdio 在本機執行,通常透過 npx 從 npm 套件啟動。未宣告驗證、環境變數或標頭。僅支援桌面 MCP 用戶端,無法在網頁中執行。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Ragdrift Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@mukundakatta/ragdrift-mcp
MCP server for diagnosing RAG drift. Lets an LLM reason about drift scores without needing to install Rust or PyO3.
Sibling to the ragdrift crate +
ragdrift-py PyPI wheel — this MCP
server is the interpretation layer; the actual drift detection happens in
those libraries (or your existing telemetry).
Tools
interpret_drift_score(score, dimension, threshold?)— plain-English interpretation, severity classification, suggested next steps.recommend_thresholds(dimension, sample_size, false_positive_budget)— threshold values tuned to your sample size and FP budget.explain_drift_dimensions()— structured reference for all 5 dimensions (data, embedding, response, confidence, query).
When to install
Install when you want Claude Desktop / Cursor / Cline / Windsurf / Zed to help diagnose RAG drift alerts. Example session:
User: "Got an embedding-drift alert with score 0.27 on a sample of 500. Should I be worried?"
LLM (calling
interpret_drift_score): "Score 0.27 on the embedding dimension lands in the 'significant shift, investigate' band. The underlying methods are MMD² (RBF kernel) and sliced Wasserstein-1. Likely next steps: did the embedding model change? Was the corpus re-indexed? Compare baseline and current document samples."
Install — Claude Desktop
Install — Cursor / Cline / Windsurf / Zed
Same shape per tool. npx -y @mukundakatta/ragdrift-mcp over stdio.
License
MIT OR Apache-2.0.
來源:packages/ragdrift-mcp/README.md,提交 6fad5bb
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分