maven-tools-mcp: Command for Claude Code

.claude/commands/deps-health.md

deps-health is a command for Claude Code from arvindand/maven-tools-mcp. It costs 10 tokens per session (328 once invoked), scanned A, original, MIT.

A project audit for software libraries, including their age, known security vulnerabilities, and license types. Software libraries are reusable code packages that a project depends on.

In plain words
What is it for?
Use it to inspect dependencies from a Maven build file or a supplied list, scan for CVEs, review licenses, score project health, and prioritize upgrades.
Why use it?
It finds outdated or risky dependencies and flags licenses that may need legal review before changes are made.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is arvindand/maven-tools-mcp's own configuration. It tells Claude Code how to work on maven-tools-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything maven-tools-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arvindand/maven-tools-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/arvindand/maven-tools-mcp/main/.claude/commands/deps-health.md
Clone the repo
git clone --depth 1 https://github.com/arvindand/maven-tools-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deps-health

README.md
[![agentmods](https://agentmods.dev/badge/commands/arvindand/maven-tools-mcp/deps-health/github.svg)](https://agentmods.dev/commands/arvindand/maven-tools-mcp/deps-health)
Your own site
<a href="https://agentmods.dev/commands/arvindand/maven-tools-mcp/deps-health"><img src="https://agentmods.dev/badge/commands/arvindand/maven-tools-mcp/deps-health/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deps-health

Your own site · 80×15
<a href="https://agentmods.dev/commands/arvindand/maven-tools-mcp/deps-health"><img src="https://agentmods.dev/badge/commands/arvindand/maven-tools-mcp/deps-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.00328
Opus 5 $0.00005 $0.00164
Sonnet 5 $0.00002 $0.00066
Haiku 4.5 $0.00001 $0.00033

Measured 3d ago against content hash d6e4de5f4124, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

deps-health scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/deps-health.md · 42 lines

What it actually says

Perform a full dependency health analysis using the maven-tools-mcp MCP server.

Dependencies to analyze: $ARGUMENTS

If no dependencies are specified, extract them from the project's build file (pom.xml or build.gradle).

Analysis Steps:

  1. Call analyze_project_health with:

    • includeSecurityScan: true - Check for CVE vulnerabilities via OSV.dev
    • includeLicenseScan: true - Detect license types and compliance issues
    • stabilityFilter: PREFER_STABLE - Focus on production-ready versions
  2. Summarize findings in these sections:

Health Score Overview:

  • Per-dependency healthScore values (0-100); label any calculated average as client-derived
  • Do not interpret the 3.2.2 analysis_date value as a date: it currently contains a health label
  • Dependency age breakdown (fresh/current/aging/stale counts)

Security Findings:

  • Total vulnerabilities found
  • Critical/High severity issues requiring immediate action
  • Dependencies with known CVEs

License Compliance:

  • License type distribution (permissive/copyleft/unknown)
  • Any licenses requiring legal review

Recommendations:

  • Prioritized list of dependencies to upgrade
  • Flag dependencies that likely need documentation review before a major upgrade
  • If the user wants a concrete upgrade path after the audit, suggest compare_dependency_versions as a follow-up step
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +1 lines d6e4de5f4124
  2. 11d ago First seen · 41 lines · 10 tokens per session scan A 447cfc0468b9

Subscribe to this mod's changes

deps-health is a command published in the GitHub repository arvindand/maven-tools-mcp (32 stars, last pushed 4d ago), licensed MIT. It adds 10 tokens to every session and 328 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.