Perf MCP Server

Fact-check and fix AI outputs. Catches hallucinations, repairs broken JSON, corrects errors — before they reach users.

Local serverstdioGo

What is the Perf MCP MCP server?

Fact-check and fix AI outputs. Catches hallucinations, repairs broken JSON, corrects errors — before they reach users. Exposed over MCP by the perf mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Its toolset

Everything the assistant can do here goes through one of these:

  • perf_verify — Detect and repair hallucinations in LLM-generated text. Uses multi-channel verification (web search, NLI models, cross-reference) — not just another
  • 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
  • perf_chat — Route LLM requests to the optimal model automatically. Selects between GPT-4o, Claude, Gemini, and 20+ models based on task complexity
  • Cursor — The Cursor tool exposed by this server
  • Windsurf — The Windsurf tool exposed by this server

Configuration

You will need 2 environment variables: PERF_API_KEY, PERF_BASE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the perf mcp mcp server does with a few real requests.

When to reach for it

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Perf MCP's toolset — perf_verify, perf_validate, perf_correct and 3 more — is a fair guide to whether it matches your workflow. It is maintained by perf-technology; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
perf_verifyDetect and repair hallucinations in LLM-generated text. Uses multi-channel verification (web search, NLI models, cross-reference) — not just another LLM check.
perf_validateValidate LLM-generated JSON against a schema and auto-repair violations. Fixes malformed enums, wrong types, missing fields, hallucinated properties.
perf_correctGeneral-purpose output correction. Classifies the error type and applies the right fix — hallucination, schema violation, semantic inconsistency, or instruction drift.
perf_chatRoute LLM requests to the optimal model automatically. Selects between GPT-4o, Claude, Gemini, and 20+ models based on task complexity. OpenAI-compatible format.
CursorThe Cursor tool exposed by this server.
WindsurfThe Windsurf tool exposed by this server.

How to install the Perf MCP MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PERF_API_KEYCredential the server authenticates with.Yes
PERF_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Perf MCP to perf verify.
  • Use Perf MCP to perf validate.
  • Use Perf MCP to perf correct.

Frequently asked questions

It connects Perf MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (perf_verify, perf_validate, perf_correct, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Perf MCP directly.