Skip to content
Gemini CLI

perf mcp for Gemini CLI

io.github.perf-ai/perf-mcp

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

client:Gemini CLI transport:stdio runtime:npm

Install perf mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

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

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

perf mcp in other clients