# SonarQube Metrics

> Use this tool when you need to access code quality metrics from SonarQube to inform AI-assisted development workflows. It solves problems of code quality assessment and monitoring by providing project-level metrics such as bugs, vulnerabilities, and coverage. The tool accepts project identifiers and date filters as inputs and outputs detailed metrics, making it ideal for development teams seeking to integrate code quality insights into their workflows.

Canonical page: https://skillsregistry.net/skills/archai-labs-sonarqube-metrics  
JSON: https://api.skillsregistry.net/v1/skills/archai-labs-sonarqube-metrics

## Description

The fastmcp-sonarqube-metrics server provides AI assistants with access to SonarQube code quality metrics through the MCP protocol. Built by ArchAI-Labs, this implementation fetches project-level metrics like bugs, vulnerabilities, code smells, coverage, and duplication density using SonarQube's REST API. The server exposes four tools: listing available projects, retrieving current metrics for a specific project, accessing historical metric data with date filtering, and examining component-level metrics across files and directories. It's particularly valuable for development teams who want to incorporate code quality insights into their AI-assisted workflows without context switching.

## Trust

- **Trust score (0–1):** 0.87
- **Verification tier:** scanned
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** monitoring
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/archai-labs-sonarqube-metrics)
- **Repository:** <https://github.com/archai-labs/fastmcp-sonarqube-metrics>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "archai-labs-sonarqube-metrics"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/archai-labs-sonarqube-metrics` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/archai-labs-sonarqube-metrics/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
