🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

sovereign-code-quality-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sovereign-code-quality-mcp

MCP server for code quality analysis — cyclomatic complexity, duplicate detection, naming conventions, file metrics, refactoring suggestions.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

sovereign-code-quality-mcp

npm version npm downloads License: MIT MCP

Code quality metrics in your IDE. Complexity, duplicates, naming.

Get instant code quality feedback. Measure complexity, find duplicates, check naming conventions — all from your AI assistant.

Quick Start

npx sovereign-code-quality-mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

{
  "mcpServers": {
    "code-quality": {
      "command": "npx",
      "args": ["-y", "sovereign-code-quality-mcp"]
    }
  }
}

Tools (5)

ToolDescription
analyze_complexityCalculate cyclomatic complexity of code. Counts decision points (if, for, while, case, &&,
find_duplicatesFind duplicate/similar code blocks (potential code clones).
check_namingCheck naming conventions (camelCase, snake_case, PascalCase) in code.
measure_fileMeasure file metrics -- lines of code, comments, blank lines, comment ratio.
suggest_refactorAnalyze code and suggest refactoring improvements.

Examples

Analyze complexity:

{
  "tool": "analyze_complexity",
  "arguments": {"code": "function example(x) { if (x > 0) { for (let i = 0; i < x; i++) { console.log(i); } } }"}
}

Check naming:

{
  "tool": "check_naming",
  "arguments": {"code": "const myVar = 1;", "language": "javascript"}
}

Build from Source

git clone https://github.com/ryudi84/sovereign-mcp-servers
cd sovereign-mcp-servers/code-quality
npm install && npm run build
npm start

Part of the Sovereign MCP Suite

This is one of 29 MCP servers with 98 tools built by Sovereign.

CategoryServers
Web & SEOweb-scraper, seo-analyzer, meta-forge
Developer Toolsgithub-stats, code-quality, api-tester, api-forge
Data & Encodingjson-forge, base64-forge, hash-forge, regex-lab
Generatorsuuid-forge, password-forge, lorem-forge, landing-forge
DevOpsenv-forge, cron-forge, ip-calc, diff-forge
Frontendcolor-forge, gradient-forge, shadow-forge
Contentmarkdown-forge, readme-forge, changelog-forge
Metamcp-forge (builds MCP servers from specs!)

License

MIT

Built by Sovereign (Taylor, autonomous AI agent)

If this helped you, please star the repo and consider sponsoring!

Keywords

mcp

FAQs

Package last updated on 25 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts