CodeAudit Agent
FreeNot checkedMCP server for AI-powered code security, quality, and performance review. Enables auditing code directly from VS Code via right-click or MCP tools.
About
MCP server for AI-powered code security, quality, and performance review. Enables auditing code directly from VS Code via right-click or MCP tools.
README
🔍 CodeAudit Agent
AI-Powered Code Security, Quality & Performance Review
Python LangGraph MCP Groq Built by Nimra
Paste any code → Get security vulnerabilities, quality issues, performance bottlenecks, auto-fix, and a graded report.
Works as a Streamlit web app AND as an MCP server for VS Code.
What it detects
| Category | Checks |
|---|---|
| 🔒 Security | OWASP Top 10 · SQL injection · XSS · hardcoded secrets · eval() · weak crypto · debug mode |
| ✨ Quality | SOLID violations · cyclomatic complexity · naming · DRY · magic numbers · error handling |
| ⚡ Performance | O(n²) loops · N+1 queries · memory leaks · blocking I/O · string concat in loops |
Languages supported
Python · JavaScript · TypeScript · Java · C++ · C · C# · Go · Rust · PHP · Ruby · Swift · Kotlin · SQL · Bash
Architecture
Code input (Streamlit UI or VS Code via MCP)
↓
LangGraph orchestrator
↓ (parallel)
┌──────────────┬──────────────┬──────────────┐
│ Security │ Quality │ Performance │
│ Agent │ Agent │ Agent │
│ OWASP Top 10 │ SOLID/Clean │ Big-O/leaks │
└──────────────┴──────────────┴──────────────┘
↓
Fix Agent (auto-generates fixed code)
↓
Scorer (computes grade A+ → F)
↓
Report (.md + .json export)
Quick Start
git clone https://github.com/nimra-pixel/codeaudit.git
cd codeaudit
pip install -r requirements.txt
cp .env.example .env # add GROQ_API_KEY
streamlit run app.py
MCP Server (for VS Code)
python mcp/server.py
Then install the VS Code extension from vscode/ folder.
Right-click any code → CodeAudit: Audit This File
MCP Tools exposed
| Tool | Description |
|---|---|
audit_code |
Full security + quality + performance audit |
quick_security_scan |
Security only (faster) |
detect_code_language |
Detect programming language |
Works with LangGraph, CrewAI, Claude Desktop, and any MCP client.
Built by
Nimra Tariq — AI Engineer & Assistant Professor, Superior University Lahore, Pakistan
Also built: MedAgent · DeepResearch · VEMA
MIT License
Installing CodeAudit Agent
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/nimra-pixel/codeauditFAQ
Is CodeAudit Agent MCP free?
Yes, CodeAudit Agent MCP is free — one-click install via Unyly at no cost.
Does CodeAudit Agent need an API key?
No, CodeAudit Agent runs without API keys or environment variables.
Is CodeAudit Agent hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install CodeAudit Agent in Claude Desktop, Claude Code or Cursor?
Open CodeAudit Agent on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare CodeAudit Agent with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs