Claude-Codex Review
Provides tools to start and continue OpenAI Codex review sessions for plans and implementation code, including structured feedback, session resume, and review history.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Claude-Codex Review
An MCP (Model Context Protocol) server that orchestrates iterative code reviews between Claude and OpenAI Codex. This enables a two-AI review workflow where Claude creates plans/implementations and Codex provides critical review feedback.
Features
Plan Review: Claude creates a plan → Codex reviews → iterate until approved
Implementation Review: Claude implements → Codex reviews against plan → iterate until approved
Session Persistence: Uses Codex CLI's native session resume for true conversation continuity
Review History: Tracks all iterations with concerns, suggestions, and responses
Configurable: Customize codebase conventions, timeouts, and iteration limits
Related MCP server: codex-mcp
Prerequisites
Python 3.10+
Codex CLI installed and authenticated
Claude Code CLI (or any MCP-compatible client)
Codex Configuration
Ensure your ~/.codex/config.toml has the model configured:
model = "gpt-5.2-codex"
model_reasoning_effort = "high"Installation
From PyPI (when published)
pip install claude-codex-reviewFrom Source
git clone https://github.com/goharanwar/claude-codex-review.git
cd claude-codex-review
pip install -e .Using uvx (recommended for MCP)
uvx claude-codex-reviewConfiguration
Environment Variables
Variable | Default | Description |
|
| Maximum review iterations per session |
|
| Timeout in seconds for Codex CLI calls |
| (none) | Directory to save finalized plans |
| (none) | Custom codebase conventions for reviews |
Claude Code Integration
Add to your ~/.claude.json:
{
"mcpServers": {
"claude-codex-review": {
"command": "uvx",
"args": ["claude-codex-review"],
"env": {
"CODEX_REVIEW_MAX_ITERATIONS": "5",
"CODEX_REVIEW_TIMEOUT": "300",
"CODEX_REVIEW_SAVE_PATH": "/path/to/save/plans",
"CODEX_REVIEW_CODEBASE_CONTEXT": "- Python with PEP8\n- Use type hints\n- Prefer composition over inheritance"
}
}
}
}Or run from local source:
{
"mcpServers": {
"claude-codex-review": {
"command": "python",
"args": ["-m", "claude_codex_review.server"],
"cwd": "/path/to/claude-codex-review/src",
"env": {
"CODEX_REVIEW_MAX_ITERATIONS": "5"
}
}
}
}Available Tools
start_plan_review
Start a Codex review session for a plan.
Parameters:
plan(required): The plan content to reviewuser_request: The user's original requestqa_context: Q&A during planningcontext: Additional project contextfocus_areas: Specific areas to focus review onmax_iterations: Override default max iterations
start_implementation_review
Start a Codex review session for implementation code.
Parameters:
code(required): The implementation codeoriginal_plan(required): The plan being implementeduser_request: The user's original requestqa_context: Q&A contextfile_paths: List of file paths being reviewedmax_iterations: Override default max iterations
continue_review
Continue an existing review session with Claude's response.
Parameters:
session_id(required): The Codex session IDclaude_response(required): Claude's response addressing feedback
get_review_status
Get current status of a review session.
get_review_summary
Get a markdown summary of the entire review conversation.
save_plan
Save finalized plan to configured path.
Parameters:
plan_content(required): The plan contentfilename(required): Filename (without extension)session_id: Include review summary if provided
end_review_session
Clean up a review session.
Usage Example
User: "Create a plan for adding user authentication"
Claude: [Creates authentication plan]
Claude: [Calls start_plan_review with plan and context]
Codex Response:
- Status: CHANGES_REQUESTED
- Concerns: ["Missing password hashing details", "No session timeout specified"]
Claude: [Updates plan to address concerns]
Claude: [Calls continue_review with updates]
Codex Response:
- Status: APPROVED
- Summary: "All concerns addressed. Plan approved."
Claude: [Calls save_plan to persist the reviewed plan]How It Works
Initial Review: Uses
codex exec --output-schemafor structured JSON responseSession Resume: Uses
codex exec resume <SESSION_ID>for follow-ups (preserves context)Response Parsing: Supports both JSON and
STATUS:prefix formatsHistory Tracking: Records all iterations for review summary generation
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run server locally
python -m claude_codex_review.serverLicense
MIT License - see LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Multi-brand AI code review for Claude: up to 12 reviewers and a judge, no install.
AI code governance and code review for Claude Code, Copilot and Cursor. Checks rules and security.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude to perform thorough code reviews by integrating with Codex and Gemini CLIs to provide senior-level feedback on code quality, security, performance, and best practices. Supports reviewing code snippets, individual files, or entire directories with automatic detection of available review tools.4MIT
- AlicenseAqualityBmaintenanceBridges Claude Code and OpenAI Codex CLI for an interactive plan-execute-review workflow, enabling Claude to interview, design, and review while Codex implements code changes.7565 npm4MIT
- AlicenseNot gradedqualityCmaintenanceOrchestrates Claude Code and OpenAI Codex to plan, implement, review, and verify code changes via pull requests with security controls.MIT
- AlicenseAqualityCmaintenanceEnables Claude Code to submit code, diffs, plans, and security or edge-case questions to Codex, Gemini, and GPT-OSS for read-only review, verifying each quoted line against the real files so fabricated findings are filtered before Claude reads them. It also runs multi-family councils that surface agreement, falls back across models when quotas run out, and supports optional hooks that block git push until edits have been reviewed.104MIT