
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 分