Gaffer hosts your test reports by link, and its MCP server lets Claude Code read them

Ask which tests are flaky or why a run failed. The assistant answers from the flip rates and grouped failures Gaffer keeps for every uploaded run.

No credit card on Free.

A failed run doesn't say if the test is flaky. 30 days of runs do.

Over MCP, the assistant can check a test's flip rate and recent errors before it changes any code.

Gaffer flaky tests table: four tests with flip rates of 23%, 18%, 14% and 11% over the last 30 days, with run counts and when each last flipped
get_flaky_tests returns this table.
Flaky Tests Detected on a Gaffer test run: two tests, opens the signup modal and returns results for partial matches, passed on retry after failing
get_flaky_tests returns this table.
Failure Patterns on a Gaffer test run: two patterns, a toHaveURL assertion tagged Product Bug and a toBeVisible locator timeout tagged Automation Bug
get_failure_clusters returns these groups.
Failure Patterns on a Gaffer test run: two patterns, one tagged Product Bug and one tagged Automation Bug, one test each
get_failure_clusters returns these groups.

Add Gaffer to Claude Code or Cursor with one block in the MCP config

Put this block in ~/.claude.json for Claude Code or .cursor/mcp.json for Cursor, with an API key from Account Settings > API Keys. The second block is the kind of script the assistant writes to answer questions.

The Gaffer MCP server entry for Claude Code, and the script an assistant runs through execute_code to read a project's health and its flaky tests.
~/.claude.json
{
  "mcpServers": {
    "gaffer": {
      "command": "npx",
      "args": ["-y", "@gaffer-sh/mcp"],
      "env": {
        "GAFFER_API_KEY": "gaf_your_api_key_here"
      }
    }
  }
}
execute_code, written by the assistant
const health = await codemode.get_project_health({ projectId: "proj_abc" });
if (health.flakyTestCount > 0) {
  const flaky = await codemode.get_flaky_tests({ projectId: "proj_abc" });
  return { health, flaky };
}
return { health };

Upload your first test run, then add the MCP server to your editor

The demo project needs no sign-up.