
Tetrad
Brings three AI code validators (OpenAI Codex, Google Gemini CLI, and Alibaba Qwen) into Claude's workflow to enforce quadruple consensus before accepting any code changes. Written in Rust with parallel execution, it exposes tetrad_review_code and related tools that automatically score and approve or reject code snippets based on unanimous agreement across all four models (the three external evaluators plus Claude itself). The system maintains a ReasoningBank with SQLite persistence to learn patterns across sessions, caches results in an LRU store, and runs as a stdio JSON-RPC server. You'd reach for this when shipping code where a single AI's judgment isn't enough and you want multiple models catching edge cases, security issues, or logic errors before anything gets written to disk.
- GitHub stars
- 1
- tools
- 6
- transport
- STDIO
- last updated
- Jan 26, 2026
Tools
6 toolsPublic tool metadata for what this MCP can expose to an agent.
tetrad_review_planReview implementation plans before coding
Review implementation plans before coding
No parameter schema in public metadata yet.
tetrad_review_codeReview code before saving
Review code before saving
No parameter schema in public metadata yet.
tetrad_review_testsReview tests before finalizing
Review tests before finalizing
No parameter schema in public metadata yet.
tetrad_confirmConfirm agreement with received feedback
Confirm agreement with received feedback
No parameter schema in public metadata yet.
tetrad_final_checkFinal verification before commit
Final verification before commit
No parameter schema in public metadata yet.
tetrad_statusCheck health of evaluators
Check health of evaluators
No parameter schema in public metadata yet.
Sponsors
Readme
Tetrad
Quadruple Consensus MCP Server for Claude Code
Tetrad is a high-performance MCP (Model Context Protocol) server written in Rust that orchestrates three AI-powered CLI code evaluation tools (Codex, Gemini CLI, Qwen) to validate all code produced by Claude Code.
The system implements a quadruple consensus protocol where no code or plan is accepted without approval from four intelligences: the three external evaluators + Claude Code itself.
Features
Details
- Repository
- github.com/samoradc/tetrad
- Category
- AI & LLM Tools
- Package
@samoradc/tetrad- Transport
- STDIO
- Registry
- MCP registry, active