MCP server for AI code reviews, security analysis, test generation, explanations, and HTML reports using Groq.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Code Sanitizer.
Strict AI-powered code reviewer for Claude Desktop, Cursor, VS Code, and Claude Code CLI. Finds bugs, vulnerabilities, and security issues β powered by Groq (free API).
| Tool | What it does |
|---|---|
analyze_code | Strict review β bugs, security issues, score 0β100 |
compare_code | Compares two versions, detects regressions, recommends merge/request_changes |
explain_code | Step-by-step explanation for junior / middle / senior audience |
generate_tests | Generates pytest / jest / go test β happy path, edge cases, security |
analyze_file | Analyzes a whole file from disk with parallel chunking |
generate_report | Builds an HTML report from any analysis result |
cache_info | Cache statistics and clearing |
Prerequisite: Get a free Groq API key at console.groq.com/keys β no credit card required.
| OS | Config file |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):
Requires VS Code 1.99+ with GitHub Copilot. Create .vscode/mcp.json in your project:
Or add globally via Ctrl+Shift+P β "MCP: Add Server".
Don't have
uvx? Install it withpip install uv, then use the commands above.
If you prefer cloning the repo:
Then point the client config to:
Add AI code review to any repository in 5 lines. The action posts a structured comment on every PR with score, issues, and fix suggestions.
Add GROQ_API_KEY to your repository secrets β Settings β Secrets β Actions.
The action automatically:
After connecting, just write naturally:
Or call tools explicitly:
All settings via .env or environment variables:
| Variable | Default | Description |
|---|---|---|
GROQ_API_KEY | β | Required. Get at console.groq.com |
GROQ_MODEL | llama-3.3-70b-versatile | Groq model to use |
CACHE_TTL | 3600 | Cache TTL in seconds |
CACHE_MAX | 200 | Max cached entries |
| Model | Speed | Quality |
|---|---|---|
llama-3.3-70b-versatile | Fast | Best (default) |
llama-3.1-8b-instant | Fastest | Good |
mixtral-8x7b-32768 | Fast | Great |
PRs and Issues are welcome. Most wanted:
MIT β do whatever you want. A star would be appreciated.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/notasandy-mcp-code-sanitizer)<a href="https://allmcps.com/mcp/notasandy-mcp-code-sanitizer"><img src="https://allmcps.com/api/badge/notasandy-mcp-code-sanitizer?style=directory" alt="MCP Code Sanitizer on AllMCPs" /></a>