Skip to main content
Glama

🚀 Code Quality MCP Server

Hybrid Code Quality Analysis - Combines logic-based checks with AI-powered deep analysis

MCP (Model Context Protocol) system for code quality analysis. Supports two modes:

  • Fast Mode: Quick logic-based checks

  • 🤖 Deep Mode: AI-powered deep analysis (Claude)


🔧 Installation

npm install
npm run build

Related MCP server: Tech Debt MCP Server

▶️ Running the Server

Option 1: Direct Run

npm start

Option 2: Via Claude Desktop

Add to ~/.config/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "code-quality": {
      "command": "node",
      "args": ["/absolute/path/to/code-quality-mcp/dist/index.js"]
    }
  }
}

📚 API Tools

🔍 Analysis Tools

1. check_quality - Full Code Quality Check

{
  "tool": "check_quality",
  "arguments": {
    "projectPath": ".",
    "deepAnalysis": false,     // true = AI mode
    "checkUnusedCode": true,
    "checkComplexity": false,  // requires AI
    "checkSecurity": false,    // requires AI
    "page": 1,                 // pagination
    "pageSize": 50             // items per page
  }
}

Returns: Complete list of issues with pagination


2. get_smart_summary - Smart Summary ⭐

Instead of 500 issues, get a focused summary:

{
  "tool": "get_smart_summary",
  "arguments": {
    "projectPath": "."
  }
}

Returns:

📊 Score: 68/100
📈 Issues: 500 (120 critical)
⏱️ Fix Time: 2 days

🔥 Top Problems:
  • unused-code: 300 (60%)
  • security: 50 (10%)

📁 Hotspot Files:
  🔴 UserService.ts - 45 issues

3. get_quick_wins - Quick Wins ⚡

Get only actions that provide maximum impact in minimum time:

{
  "tool": "get_quick_wins",
  "arguments": {
    "projectPath": "."
  }
}

Returns:

⚡ Quick Wins:
1. Remove 50 unused vars (10 min) → +15 points
2. Fix 30 console.log (5 min) → +8 points
3. Translate Hebrew comments (15 min) → +5 points

Total: 30 minutes → +28 points!

4. get_trends - Progress Tracking 📈

See how code quality improves over time:

{
  "tool": "get_trends",
  "arguments": {
    "projectPath": "."
  }
}

Returns:

📈 Trends:
  ✅ Score: 45 → 68 (+23)
  ✅ Fixed: 120 issues
  ⚠️ New: 15 issues

Improving:
  • unused-code: 300 → 180 (-120)
  • security: 10 → 5 (-5)

Degrading:
  • code-style: 50 → 65 (+15)

🔧 Other Tools

5. analyze_project - Project Type Detection

{
  "tool": "analyze_project",
  "arguments": {
    "projectPath": ".",
    "deep": true
  }
}

6. get_recommendations - Quick Recommendations

{
  "tool": "get_recommendations",
  "arguments": {
    "projectPath": ".",
    "language": "en"  // or "he" for Hebrew
  }
}

⚡ Fast vs Deep Mode

Feature

Fast Mode

Deep Mode

Speed

~20ms

~1000ms

Cost

Free

API calls

Accuracy

Good

Excellent

AI insights

When to use Fast Mode:

  • During development

  • Before commits

  • In CI/CD pipelines

When to use Deep Mode:

  • Before Pull Requests

  • Code reviews

  • Security audits


📖 Examples


🌍 Supported Platforms

  • Node.js / TypeScript

  • React / React Native

  • Next.js / NestJS

  • Firebase / AWS Amplify

  • Java / .NET / Angular


🚀 Key Features

Smart Ignore Patterns - Automatically skips:

  • node_modules, build, dist, .git

  • React Native: android/gradle, ios/Pods, native build folders

  • Only scans your code, not auto-generated files

Pagination - Handle large projects with many issues

Smart Summaries - Get actionable insights instead of overwhelming lists

Quick Wins - Find high-impact, low-effort fixes

Trend Tracking - Monitor code quality improvements over time


Built with ❤️ using MCP and Claude

F
license - not found
-
quality - not tested
D
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.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Provides comprehensive codebase analysis including project structure evaluation, cross-language duplicate detection, microservices validation, and configuration optimization with AI-powered pattern learning that generates actionable improvement reports.
    Last updated
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A server for analyzing technical debt across multiple programming languages, integrating with MCP-compatible tools to detect code quality issues and provide prioritized recommendations.
    Last updated
    16
    40
    7
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that provides local code quality analysis for AI coding assistants, supporting file analysis, git diff review, and full project scanning with quality scoring.
    Last updated
    4
    2
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Provides comprehensive code quality analysis with quantitative metrics, historical trends, and refactoring risk prediction for C#, Python, and TypeScript codebases.
    Last updated
    4
    MIT

View all related MCP servers

Related MCP Connectors

  • Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.

  • Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.

  • AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).

View all MCP Connectors

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/zoharazr/code-quality-mcp'

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