# io.github.ryudi84/code-quality (npm · sovereign-code-quality-mcp)

MCP server for code quality: complexity, duplicates, naming, refactoring.

- Trust score: 64/100 (medium)
- Change this week: +18
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `sovereign-code-quality-mcp`: 64/100 (this document), [markdown](https://verifymcp.io/servers/ryudi84-code-quality/sovereign-code-quality-mcp.md), [page](https://verifymcp.io/servers/ryudi84-code-quality/sovereign-code-quality-mcp)

## Channel facts

- Registry: `npm`
- Package: `sovereign-code-quality-mcp`
- Version: `1.0.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 158 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 258 tokens (~51/item across 5 items; 5 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add ryudi84-code-quality -- npx -y sovereign-code-quality-mcp
```

### Codex

```bash
codex mcp add ryudi84-code-quality -- npx -y sovereign-code-quality-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ryudi84-code-quality": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "sovereign-code-quality-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add ryudi84-code-quality --command npx --arg -y --arg sovereign-code-quality-mcp
```

### Hermes

```yaml
mcp_servers:
  ryudi84-code-quality:
    command: "npx"
    args: ["-y", "sovereign-code-quality-mcp"]
```

### Other

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

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 64, +30)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 34, +13)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Schema quality: unverified → good
- [functional improvement] MCP protocol: unverified → pass

### 2026-07-31 (score 21, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (5)

### `analyze_complexity` (~63 tokens)

Calculate cyclomatic complexity of code. Counts decision points (if, for, while, case, &&, ||, ternary).

Input parameters:

- `code` (string, required): Source code to analyze
- `language` (string): Language hint (js, ts, py, auto)

### `find_duplicates` (~47 tokens)

Find duplicate/similar code blocks (potential code clones).

Input parameters:

- `code` (string, required): Source code to analyze
- `min_lines` (number): Minimum number of lines for a duplicate block

### `check_naming` (~46 tokens)

Check naming conventions (camelCase, snake_case, PascalCase) in code.

Input parameters:

- `code` (string, required): Source code to check
- `convention` (string): Expected naming convention

### `measure_file` (~47 tokens)

Measure file metrics -- lines of code, comments, blank lines, comment ratio.

Input parameters:

- `code` (string, required): Source code to measure
- `language` (string): Language for comment style detection

### `suggest_refactor` (~28 tokens)

Analyze code and suggest refactoring improvements.

Input parameters:

- `code` (string, required): Source code to analyze

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/ryudi84-code-quality/sovereign-code-quality-mcp#diagnostics

## Score history

- 2026-08-03: 64
- 2026-08-02: 64
- 2026-08-01: 34
- 2026-07-31: 21
- 2026-07-30: 28
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/sovereign-code-quality-mcp
- Socket report: https://socket.dev/npm/package/sovereign-code-quality-mcp
- Repository: https://github.com/ryudi84/sovereign-mcp-servers
- Changelog RSS feed: https://verifymcp.io/servers/ryudi84-code-quality/sovereign-code-quality-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/ryudi84-code-quality/sovereign-code-quality-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/ryudi84-code-quality/sovereign-code-quality-mcp
