
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@samoradc/tetrad
Advanced tools
Quadruple Consensus MCP Server for Claude Code - Validates code using Codex, Gemini and Qwen
Quadruple Consensus MCP Server for Claude Code
Tetrad is a high-performance MCP (Model Context Protocol) server that orchestrates three AI-powered CLI tools (Codex, Gemini CLI, Qwen) to validate all code produced by Claude Code.
npx @samoradc/tetrad init
This will:
tetrad.toml configuration file.tetrad/ directory for the database.tetrad/ to your .gitignore# Add as MCP server (available in all projects)
claude mcp add --scope user tetrad -- npx @samoradc/tetrad serve
# Or for current project only
claude mcp add tetrad -- npx @samoradc/tetrad serve
# Check version
npx @samoradc/tetrad version
# Check CLI availability
npx @samoradc/tetrad status
# Diagnose issues
npx @samoradc/tetrad doctor
npx @samoradc/tetrad init # Initialize config in current directory
npx @samoradc/tetrad serve # Start MCP server (used by Claude Code)
npx @samoradc/tetrad status # Show CLI status (codex, gemini, qwen)
npx @samoradc/tetrad config # Interactive configuration
npx @samoradc/tetrad doctor # Diagnose configuration issues
npx @samoradc/tetrad version # Show version
npx @samoradc/tetrad evaluate -c CODE # Manual code evaluation (without MCP)
npx @samoradc/tetrad history # Show evaluation history from ReasoningBank
Add to your .mcp.json:
{
"mcpServers": {
"tetrad": {
"type": "stdio",
"command": "npx",
"args": ["@samoradc/tetrad", "serve"]
}
}
}
Tetrad requires at least one of these AI CLI tools:
npm install -g @openai/codexnpm install -g @google/gemini-clipip install dashscopeAfter npx @samoradc/tetrad init, edit tetrad.toml:
[general]
log_level = "info"
timeout_secs = 60
[executors.codex]
enabled = true
command = "codex"
args = ["exec", "--json"]
[executors.gemini]
enabled = true
command = "gemini"
args = ["-o", "json"]
[executors.qwen]
enabled = true
command = "qwen"
[consensus]
default_rule = "strong" # golden, strong, weak
min_score = 70
max_loops = 3
[reasoning]
enabled = true
db_path = ".tetrad/tetrad.db"
[cache]
enabled = true
capacity = 1000
ttl_secs = 300
Full documentation: GitHub Repository
MIT
FAQs
Quadruple Consensus MCP Server for Claude Code - Validates code using Codex, Gemini and Qwen
We found that @samoradc/tetrad demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.