
Perf Mcp
io.github.Perf-AI由 GitHub 帳號 Perf-AI 發布v0.1.1更新於 Nov 10, 2026
Fact-check and fix AI outputs. Hallucination detection, schema validation, auto-repair.
概覽
查核並修正 AI 產生的輸出:偵測幻覺、依 schema 驗證並自動修復 JSON,還能把對話請求路由到合適的模型。
- 可以做什麼
- 查核 LLM 產生的文字,回傳修正後的说法與信心分數
- 依 schema 驗證產生的 JSON,並自動修復型別、列舉與缺漏欄位錯誤
- 對一般輸出做糾錯,先判定錯誤類型(幻覺、schema 違規、語意不一致、指令偏離)
- 以 OpenAI 相容格式把對話請求路由到 20 多個模型之一
- 適用情境
- 適合在助理輸出要呈現給使用者或交給下游系統之前,再做一次事實與 JSON 格式檢查的情境。也適合想用同一介面依請求自動挑選模型的使用者。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js。需要 Perf API 金鑰,放在 PERF_API_KEY 環境變數中;可選用 PERF_BASE_URL 覆寫 API 位址。需要能連線到 Perf 服務的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Perf Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
perf-mcp
Fact-check and fix AI outputs. Catches hallucinations, repairs broken JSON, corrects errors — before they reach users.
Works with Claude Code, Cursor, Windsurf, Cline, and any MCP-compatible client.
Quick Start
Add to your MCP client config:
Get your API key at dashboard.withperf.pro — 200 free verifications, no credit card.
Tools
perf_verify
Detect and repair hallucinations in LLM-generated text. Uses multi-channel verification (web search, NLI models, cross-reference) — not just another LLM check.
perf_validate
Validate LLM-generated JSON against a schema and auto-repair violations. Fixes malformed enums, wrong types, missing fields, hallucinated properties.
perf_correct
General-purpose output correction. Classifies the error type and applies the right fix — hallucination, schema violation, semantic inconsistency, or instruction drift.
perf_chat
Route LLM requests to the optimal model automatically. Selects between GPT-4o, Claude, Gemini, and 20+ models based on task complexity. OpenAI-compatible format.
Setup by Client
Claude Code
Add to your project's .mcp.json:
Cursor
Settings → MCP → Add Server:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Environment Variables
Pricing
1 tool call = 1 credit. Get started at dashboard.withperf.pro.
License
MIT
來源:README.md,提交 e0e678a
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分