# io.github.roeiba/pmd (npm · @springsoftware/pmd-mcp)

MCP server for PMD static code analyzer - run code analysis and detect duplicates

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

## Components

- npm · `@springsoftware/pmd-mcp`: 63/100 (this document), [markdown](https://verifymcp.io/servers/roeiba-pmd/springsoftware-pmd-mcp.md), [page](https://verifymcp.io/servers/roeiba-pmd/springsoftware-pmd-mcp)

## Channel facts

- Registry: `npm`
- Package: `@springsoftware/pmd-mcp`
- Version: `0.1.2`
- 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**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), 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 (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 32/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - License check failed: the license (BSD-4-Clause) isn't a recognized OSI-approved license.
  - Actively maintained (last published 237 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 355 tokens (~88/item across 4 items; 4 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 roeiba-pmd -- npx -y @springsoftware/pmd-mcp
```

### Codex

```bash
codex mcp add roeiba-pmd -- npx -y @springsoftware/pmd-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "roeiba-pmd": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@springsoftware/pmd-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add roeiba-pmd --command npx --arg -y --arg @springsoftware/pmd-mcp
```

### Hermes

```yaml
mcp_servers:
  roeiba-pmd:
    command: "npx"
    args: ["-y", "@springsoftware/pmd-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "roeiba-pmd": {
      "command": "npx",
      "args": [
        "-y",
        "@springsoftware/pmd-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 63, +22)

- [security regression] Known CVEs: partial → unverified
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional regression] Capabilities: pass → unverified
- [functional regression] Dependency health: partial → unverified
- [functional improvement] Schema quality: unverified → excellent

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

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

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

- [security regression] Malware scan: pass → unverified

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

First indexed and scored.

## MCP tools (4)

### `pmd_check` (~140 tokens)

Run PMD static code analysis on source files. Detects code quality issues, bugs, and style violations.

Input parameters:

- `excludes` (array): File patterns to exclude from analysis
- `language_version` (string): Language version (e.g., "java-21", "ecmascript-ES2022")
- `minimum_priority` (number): Minimum priority to report (1=highest, 5=lowest). Default: all
- `path` (string, required): Path to source file or directory to analyze
- `rulesets` (array): Rulesets to apply (e.g., ["rulesets/java/quickstart.xml"]). Defaults to quickstart.

### `pmd_cpd` (~138 tokens)

Run CPD (Copy-Paste Detector) to find duplicated code. Supports Python, Java, JavaScript, TypeScript, and more.

Input parameters:

- `excludes` (array): File patterns to exclude from analysis
- `ignore_identifiers` (boolean): Ignore identifier names when detecting duplicates
- `ignore_literals` (boolean): Ignore literal values when detecting duplicates
- `language` (string, required): Programming language (e.g., "python", "java", "typescript", "javascript")
- `minimum_tokens` (number): Minimum token count for duplication detection. Default: 50
- `path` (string, required): Path to source file or directory to analyze

### `pmd_list_languages` (~27 tokens)

List all programming languages supported by PMD for static analysis and copy-paste detection.

### `pmd_list_rulesets` (~50 tokens)

List available PMD rulesets for code analysis. Optionally filter by language.

Input parameters:

- `language` (string): Filter rulesets by language (e.g., "java", "ecmascript")

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/roeiba-pmd/springsoftware-pmd-mcp#diagnostics

## Score history

- 2026-08-03: 63
- 2026-08-02: 63
- 2026-08-01: 41
- 2026-07-31: 28
- 2026-07-29: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

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