# Tetrad

> Tetrad is an open-source MCP server. Quadruple consensus MCP server for code validation using Codex, Gemini, and Qwen. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/samoradc/tetrad
- **MCP Registry name:** io.github.SamoraDC/tetrad
- **Listing updated:** 2026-11-13

## About

Quadruple consensus MCP server for code validation using Codex, Gemini, and Qwen

## Install

### Claude Code (Terminal)

```sh
claude mcp add tetrad -- npx -y @samoradc/tetrad
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "tetrad": {
      "command": "npx",
      "args": [
        "-y",
        "@samoradc/tetrad"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "tetrad": {
      "command": "npx",
      "args": [
        "-y",
        "@samoradc/tetrad"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "tetrad": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@samoradc/tetrad"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "tetrad": {
      "command": "npx",
      "args": [
        "-y",
        "@samoradc/tetrad"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "tetrad": {
      "command": "npx",
      "args": [
        "-y",
        "@samoradc/tetrad"
      ]
    }
  }
}
```

## FAQ

### Is Tetrad free?

Yes. Tetrad is open source, so you can use and self-host it for free.

### How do I add Tetrad to Claude Code?

Run this command in your terminal: claude mcp add tetrad -- npx -y @samoradc/tetrad

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/tetrad
