code-quality-mcp

code-quality-mcp

Hybrid code quality analysis server combining fast logic-based checks with AI-powered deep analysis, offering tools for summaries, quick wins, and trend tracking.

Category
Visit Server

README

šŸš€ 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

ā–¶ļø 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


šŸ’” Smart Tools (Recommended!)

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured