1. Conduid
  2. Developer Tools
  3. io.github.Perf-AI/perf-mcp
MCP server · Developer Tools

io.github.Perf-AI/perf-mcp

Fact-check and fix AI outputs. Hallucination detection, schema validation, auto-repair.

Unclaimed last commit 8 months ago devtools
37Low

Scored 7 months ago · breakdown

About io.github.Perf-AI/perf-mcp

io.github.Perf-AI/perf-mcp is an MCP server published by Perf-Technology in the Developer Tools category: fact-check and fix AI outputs. Hallucination detection, schema validation, auto-repair.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

Claude Code
claude mcp add io-github-perf-ai-perf-mcp -- npx -y perf-mcp
npx
npx -y perf-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about io.github.Perf-AI/perf-mcp

Powered by Claude · Grounded in docs

I know everything about io.github.Perf-AI/perf-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

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:

{
  "mcpServers": {
    "perf": {
      "command": "npx",
      "args": ["-y", "perf-mcp"],
      "env": {
        "PERF_API_KEY": "pk_live_xxx"
      }
    }
  }
}

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_verify({ content: "The Eiffel Tower was built in 1887." })
→ Corrected: "built in 1887" → "inaugurated in 1889" (89% confidence)

perf_validate

Validate LLM-generated JSON against a schema and auto-repair violations. Fixes malformed enums, wrong types, missing fields, hallucinated properties.

perf_validate({
  content: '{"name": "John", "age": "twenty"}',
  target_schema: { type: "object", properties: { name: { type: "string" }, age: { type: "number" } } }
})
→ Rejected: /age must be number

perf_correct

General-purpose output correction. Classifies the error type and applies the right fix — hallucination, schema violation, semantic inconsistency, or instruction drift.

perf_correct({ content: "The Great Wall was built in 1950.", correction_budget: "fast" })
→ Corrected: temporal_error + factual_error detected (87% confidence)

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:

{
  "mcpServers": {
    "perf": {
      "command": "npx",
      "args": ["-y", "perf-mcp"],
      "env": {
        "PERF_API_KEY": "pk_live_xxx"
      }
    }
  }
}

Cursor

Settings → MCP → Add Server:

{
  "mcpServers": {
    "perf": {
      "command": "npx",
      "args": ["-y", "perf-mcp"],
      "env": {
        "PERF_API_KEY": "pk_live_xxx"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "perf": {
      "command": "npx",
      "args": ["-y", "perf-mcp"],
      "env": {
        "PERF_API_KEY": "pk_live_xxx"
      }
    }
  }
}

Environment Variables

Variable Required Description
PERF_API_KEY Yes Your Perf API key (pk_live_xxx)
PERF_BASE_URL No Override API URL (for testing)

Pricing

Plan Credits Price
Free 200 verifications $0 (never expires)
Pro 1,000/mo $19/mo
Pay-as-you-go Unlimited $0.02/verification

1 tool call = 1 credit. Get started at dashboard.withperf.pro.

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.Perf-AI/perf-mcp

How do I install io.github.Perf-AI/perf-mcp?

Run claude mcp add io-github-perf-ai-perf-mcp -- npx -y perf-mcp, then add the server to your MCP client's configuration.

Is io.github.Perf-AI/perf-mcp safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.Perf-AI/perf-mcp still maintained?

The last commit was 8 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.