# SonarQube

> Use this tool when you need to integrate code quality analysis into your AI workflows, solving problems such as identifying bugs, vulnerabilities, and code smells in development projects. It takes in project queries and returns code metrics, issues, and quality gate statuses, providing valuable insights for development teams. By leveraging SonarQube's capabilities, AI agents can enhance their understanding of code quality and provide informed assistance to developers.

Canonical page: https://skillsregistry.net/skills/sapientpants-sonarqube  
JSON: https://api.skillsregistry.net/v1/skills/sapientpants-sonarqube

## Description

SonarQube MCP Server integrates SonarQube's code quality analysis capabilities with AI assistants through the Model Context Protocol. Built in Rust, it provides tools for retrieving code metrics, accessing issues (bugs, vulnerabilities, code smells), checking quality gate statuses, and analyzing project quality over time. The server exposes a set of tools that allow AI assistants to query SonarQube projects, making it valuable for development teams who want their AI assistants to have awareness of code quality metrics and issues without leaving their conversation interface.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

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

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/sapientpants-sonarqube)
- **Repository:** <https://github.com/sapientpants/sonarqube-mcp-server>

## 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": "sapientpants-sonarqube"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/sapientpants-sonarqube` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/sapientpants-sonarqube/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
