# PixelCheck MCP server

> Provides AI agents with browser primitives to see, act, extract, judge, and compare web pages using vision and semantic actions.

- Repository: https://github.com/xcodethink/pixelcheck
- Page: https://hostedmcp.org/servers/xcodethink/pixelcheck
- Transport: stdio
- Stars: 7
- License: MIT
- Latest version: 2.1.0

## Install

### Claude Code

```sh
claude mcp add --env 'ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY>' pixelcheck -- npx -y pixelcheck
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "pixelcheck": {
      "command": "npx",
      "args": [
        "-y",
        "pixelcheck"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "pixelcheck": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pixelcheck"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"pixelcheck","type":"stdio","command":"npx","args":["-y","pixelcheck"],"env":{"ANTHROPIC_API_KEY":"<YOUR_ANTHROPIC_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "pixelcheck": {
      "command": "npx",
      "args": [
        "-y",
        "pixelcheck"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add pixelcheck --env 'ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY>' -- npx -y pixelcheck
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.pixelcheck]
command = "npx"
args = ["-y", "pixelcheck"]

[mcp_servers.pixelcheck.env]
ANTHROPIC_API_KEY = "<YOUR_ANTHROPIC_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY>' pixelcheck npx -- -y pixelcheck
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "pixelcheck": {
      "command": "npx",
      "args": [
        "-y",
        "pixelcheck"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `ANTHROPIC_API_KEY` | yes | yes | Anthropic API key. Required for LLM-backed primitives (judge, extract-with-schema) and the audit_url / explore_url presets. Meta tools (list_personas, list_scenarios, get_last_report) work without it. |
| `LOG_LEVEL` | no | no |  |
| `LOG_PRETTY` | no | no |  |

## Tools (16)

- `audit_url`
- `explore_url`
- `see`
- `act`
- `extract`
- `judge`
- `compare`
- `list_personas`
- `list_scenarios`
- `list_capabilities`
- `calibrate_critic`
- `get_last_report`
- `goto`
- `screenshot`
- `note`
- `custom`

## FAQ

### Is my data kept private?

Yes, PixelCheck is local-first and runs entirely on your machine with zero telemetry or remote storage.

### Does PixelCheck replace E2E tests?

No, it is designed to run after E2E tests to evaluate product experience, UX, and localization rather than just code logic.

### What is the Audit Preset?

It is a CLI-first composition that uses 18 personas across 15 countries to review your product like real users.
