Code Council
About
Your AI Code Review Council - Get diverse perspectives from multiple AI models in parallel.
Details
- Author
- klitchevo
- Categories
- Developer Tools, AI
Jump to
Setup
Install Code Council in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/klitchevo/code-council
Follow the installation instructions in the repository README, then restart your MCP client.
One AI can miss things. A council of AIs catches more.
Code Council runs your code through multiple AI models simultaneously, then shows you where theyagree, where theydisagree, and whatonly one model caught.
## Consensus Analysis ### Unanimous (All 4 models agree) - High Confidence Critical: SQL Injection Vulnerability Location: src/api/users.ts:42 The user input is directly interpolated into the SQL query without sanitization. Use parameterized queries instead. --- ### Majority (3 of 4 models) - Moderate Confidence High: Missing Input Validation Location: src/api/users.ts:38 The userId parameter is used without validation. Add type checking. --- ### Disagreement - Your Judgment Needed Session Token Expiration Location: src/api/auth.ts:28 - Kimi K2.5: "Tokens should expire after 24 hours" - DeepSeek V3.2: "Current 7-day expiration is reasonable for this use case" - Minimax M2.1: "No issue found" --- ### Single Model Finding - Worth Checking Low: Magic Number Location: src/utils/pagination.ts:12 Found by: GLM 4.7 The value 20 should be extracted to a named constant.
Different AI models have different strengths:
- One modelmight miss a security issue another catches
- Unanimous findingsare almost certainly real problems
- Disagreementshighlight where you should look closer
- Single-model findingsmight be noise, or might be the one model that saw something others missed
Think of it as getting 4 senior engineers to review your code at once.
MCP Server (Claude Desktop, Cursor, etc.)
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):
{ "mcpServers": { "code-council": { "command": "npx", "args": ["-y", "@klitchevo/code-council"], "env": { "OPENROUTER_API_KEY": "your-api-key-here" } } } }
That's it. Ask Claude:"Use review_code to check this function: [paste code]"
# Review git changes npx @klitchevo/code-council review git --review-type diff # Review with inline PR comments format (for GitHub Actions) npx @klitchevo/code-council review git --review-type diff --format pr-comments # Review code from stdin echo "function foo() {}" | npx @klitchevo/code-council review code # Review with custom models npx @klitchevo/code-council review git --models "anthropic/claude-sonnet-4,openai/gpt-4o" # Show help npx @klitchevo/code-council review --help
More setup options:SeeConfiguration Guidefor Cursor, VS Code, custom models, and advanced options.
Automatically review PRs with multiple AI models. Findings appear asinline commentson the exact lines of code. Code fixes use GitHub'ssuggestion syntaxfor one-click apply. Re-runs automatically clean up old comments.
Generate the workflow file automatically:
npx @klitchevo/code-council setup workflow
This creates.github/workflows/code-council-review.ymlwith inline PR comments enabled.
- --simple- Use markdown format instead of inline comments
- --force- Overwrite existing workflow file
name: Code Council Review on: pull_request: types: [opened, synchronize, ready_for_review, reopened] jobs: review: runs-on: ubuntu-latest if: github.event.pull_request.draft == false permissions: contents: read pull-requests: write steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-node@v4 with: node-version: '20' - name: Run Code Council Review env: OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }} run: | npx @klitchevo/code-council review git \ --review-type diff \ --format pr-comments \ > review.json - name: Post Review env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews \ --method POST \ --input review.json
AddOPENROUTER_API_KEYto your repository secrets (Settings > Secrets > Actions).
Full tool reference:SeeTools Referencefor all parameters and examples.
Code Council shows confidence levels for each finding:
Code Council works out of the box with sensible defaults. For customization:
- Configuration Guide- MCP client setup, config files, environment variables
- Model Selection- Choose models, pricing, performance tradeoffs
- Tools Reference- Detailed tool parameters and examples
{ "env": { "OPENROUTER_API_KEY": "your-api-key", "CODE_REVIEW_MODELS": ["anthropic/claude-sonnet-4.5", "openai/gpt-4o"] } }
Default models are chosen for cost-effectiveness (~$0.01-0.05 per review).
Swap in Claude/GPT-4 for higher quality at higher cost (~$0.10-0.30 per review).
SeeModel Selection Guidefor pricing details and optimization tips.
- Node.js >= 18.0.0
- OpenRouterAPI key
- MCP-compatible client (Claude Desktop, Cursor, etc.)
"OPENROUTER_API_KEY environment variable is required"Add the API key to theenvsection of your MCP client configuration.
Reviews are slowThis is expected when using multiple models. Consider using fewer models or faster models like Gemini Flash.
Models returning errorsCheck your OpenRouter credits and model availability atstatus.openrouter.ai.
Contributions welcome! Please open an issue or PR.
- Documentation- Full docs and examples
- OpenRouter- Multi-model AI API
- Model Context Protocol- MCP specification
- Claude Desktop- MCP-compatible AI assistant
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Performs complementary code analysis by combining Claude Code and Google's Gemini AI.
Provides AI-powered mentorship to LLM agents for tasks like code review, design critique, and brainstorming, using the Deepseek API.
An AI-powered server providing access to multiple models for code analysis, problem-solving, and collaborative development with guided workflows.
Orchestrates multiple AI models like Claude and Gemini for enhanced code analysis, problem-solving, and collaborative development.
AI-to-AI code review platform — Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.
A stateful LSP runtime for AI agents: warm language server sessions with 50+ tools for go-to-definition, find-references, diagnostics, rename, and more across 30+ languages.
Persistent code index using Tree-sitter for fast, precise code search. Replaces grep with ~50 token responses instead of 2000+.
AI-powered code quality analysis to detect best practice violations, security issues, and architectural problems in real-time.
Orchestrates a dual-AI engineering loop where a Primary AI plans and implements, while a Review AI validates and reviews, with continuous feedback for optimal code quality. Supports custom AI pairing (Claude, Codex, Gemini, etc.)
AmazingMCP — MCP Server for .NET / C# Codebases
An MCP server that gives AI agents deep understanding of C# codebases via Roslyn — type search, dependency graphs, usage analysis, and architecture overviews, all from a live in-memory compilation.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




