Skip to main content
Glama
nimra-pixel

CodeAudit Agent

by nimra-pixel

๐Ÿ” 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

Related MCP server: code-graph-mcp

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

GitHub

Also built: MedAgent ยท DeepResearch ยท VEMA


MIT License

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nimra-pixel/codeaudit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server