
Mcp Code Sanitizer
Plugs Groq's free AI API into your editor to do strict code reviews. You get six tools: analyze_code scores snippets 0-100 and lists bugs, compare_code diffs two versions and recommends merge or request changes, explain_code breaks things down by experience level, generate_tests writes pytest or jest cases, analyze_file chunks large files and parallelizes review, and generate_report outputs HTML. Ships with a GitHub Action that auto-reviews PRs and posts structured comments. Uses llama-3.3-70b by default with in-memory caching. Reach for this when you want automated security and bug scanning without leaving Claude Desktop, Cursor, or VS Code. No credit card needed for the Groq key.
- GitHub stars
- 1
- tools
- 7
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- May 4, 2026
Tools
7 toolsPublic tool metadata for what this MCP can expose to an agent.
analyze_codeStrict review — bugs, security issues, score 0–100
Strict review — bugs, security issues, score 0–100
No parameter schema in public metadata yet.
compare_codeCompares two versions, detects regressions, recommends merge/request_changes
Compares two versions, detects regressions, recommends merge/request_changes
No parameter schema in public metadata yet.
explain_codeStep-by-step explanation for junior / middle / senior audience
Step-by-step explanation for junior / middle / senior audience
No parameter schema in public metadata yet.
generate_testsGenerates pytest / jest / go test — happy path, edge cases, security
Generates pytest / jest / go test — happy path, edge cases, security
No parameter schema in public metadata yet.
analyze_fileAnalyzes a whole file from disk with parallel chunking
Analyzes a whole file from disk with parallel chunking
No parameter schema in public metadata yet.
generate_reportBuilds an HTML report from any analysis result
Builds an HTML report from any analysis result
No parameter schema in public metadata yet.
cache_infoCache statistics and clearing
Cache statistics and clearing
No parameter schema in public metadata yet.
Sponsors
Configuration
GROQ_API_KEY*secretGroq API key from console.groq.com/keys
Readme
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).
Claude / Cursor / VS Code ──MCP──► code-sanitizer ──REST──► Groq API
(server.py) (llama-3.3-70b)
demo
Features
Details
- Repository
- github.com/notasandy/mcp-code-sanitizer
- Package
mcp-code-sanitizer- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active