QA Radar
Enables integration with GitHub Actions CI pipelines for automatic code quality analysis, diff-aware PR risk detection, and triggering re-analysis based on changes.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@QA RadarWhat should I test first?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
QA Radar
Give your AI coding agent the quality brain it doesn't have to grow from scratch.
QA Radar analyzes your codebase and produces a structured quality health report — combining git churn, test coverage, and test-to-source mapping into risk-scored modules. It works as an MCP server for AI coding agents (Claude Code, Cursor, Windsurf) and as a standalone CLI for humans and CI pipelines.
Built for developers who want their AI agent to write targeted tests, not generic ones.
Quick Start
Claude Code — one step:
/plugin marketplace add Muratkus/qaradar
/plugin install qaradar@qaradar-marketplaceThen ask your agent: "What should I test first?"
Or run directly without installing:
uvx qaradar serveRelated MCP server: Sverklo
What It Does
QA Radar answers the question every new team member (and every AI agent) asks: "What should I test first?"
It scans three signals and combines them into a per-file risk score:
Signal | What It Measures | Why It Matters |
Git Churn | Commit frequency, lines changed, recency | High-churn files are regression magnets |
Coverage Gaps | Line & branch coverage from existing reports | Low coverage = blind spots |
Test Mapping | Which source files have corresponding tests | No tests = no safety net at all |
The output is a ranked list of modules by risk level (critical → low), with human-readable reasons for each rating.
Why Not Just Let the Agent Do It?
A capable agent with bash access could run git log --numstat, parse coverage.xml, and glob for test files. So why an MCP server?
Concern | What QA Radar does instead |
Token cost |
|
Determinism | A weighted risk score computed ad-hoc in-context is unreliable. Code is reproducible. |
Speed | One tool call vs. 4–6 sequential bash calls + reasoning between each. |
Format normalization | LCOV / Cobertura / coverage.py JSON / Go cover profiles all parse differently. QA Radar normalizes across formats so the agent doesn't have to. |
Convention encoding |
|
Portability | The same MCP tools work across Claude Code, Cursor, and Windsurf without re-prompting. |
Install as Claude Code Plugin (Recommended)
The fastest path — one command wires up the MCP server and installs 4 slash commands. No manual config editing.
Step 0 — install uv (if you don't have it):
curl -LsSf https://astral.sh/uv/install.sh | sh
# or: pip install uvuv launches qaradar on demand from PyPI — you don't need to pip install qaradar separately.
Step 1 — add the marketplace:
/plugin marketplace add Muratkus/qaradarStep 2 — install:
/plugin install qaradar@qaradar-marketplaceWhat you get: 6 MCP tools auto-configured + 5 slash commands:
Command | What it does |
| Full health report — risk, coverage, untested files |
| Ranked list of riskiest files with reasons |
| Source files with no detected tests + scaffold suggestions |
| Prioritized test plan (chains 3 tools) |
| Which changed files in this PR are riskiest |
Example: after merging a big feature branch, run /qaradar:qa-check to see what regressed. Before opening a PR, run /qaradar:qa-pr-risk to see what you need to test first.
MCP Server (for AI Coding Agents)
Setup
Alternative: manual MCP config (if you prefer not to use the plugin):
Add to your Claude Code MCP config (~/.claude/mcp.json for user-level, or .mcp.json in the project root for project-level):
{
"mcpServers": {
"qaradar": {
"command": "uvx",
"args": ["qaradar", "serve"]
}
}
}Or start it manually:
uvx qaradar serveExample Prompts
Once connected, ask your agent:
"What should I test first in this repo?" "Which files are the riskiest right now?" "Show me the highest-churn files from the last month." "Which source files have no tests at all?" "Which of my changed files are risky?" ← diff-aware
Available MCP Tools
Tool | When the Agent Uses It |
| Full quality overview of a repository |
| What to test first; which files are riskiest |
| Hotspot detection; where regressions tend to occur |
| Files with low coverage; where the blind spots are |
| Source files with no corresponding test files |
| Which changed files in this PR need attention |
| After finishing work: should QA Radar re-analyze, and over the diff or the whole repo? |
Diff-aware: what's risky in this PR?
qaradar_pr_risk scores only the files changed between a base ref and HEAD — not the whole repo. It keeps risk scores calibrated by using full-repo normalization, so a file with 2 commits in a PR isn't falsely flagged CRITICAL just because it's the only changed file the agent knows about.
Ask your agent:
"Which of my changed files are risky?" "Do any of the files I changed lack tests?" "What should I review before opening this PR?"
Or from the CLI:
# Diff against main — shows only changed files
qaradar analyze . --base main
# Diff against a specific ref
qaradar analyze . --base origin/main --days 60qaradar_pr_risk auto-detects the base branch from GITHUB_BASE_REF (set automatically in GitHub Actions) or falls back to main/master. Pass base_ref explicitly to override.
CLI
# Full health check on current directory
qaradar analyze
# Analyze a specific repo with 180 days of history
qaradar analyze /path/to/repo --days 180
# Output as JSON (for piping to other tools)
qaradar analyze --json-output
# Show top 10 risky modules only
qaradar analyze --top 10
# Diff-aware: score only files changed since main
qaradar analyze . --base mainInstall
pip install qaradarOr run without installing:
uvx qaradar serveFrom source (for development):
git clone https://github.com/Muratkus/qaradar.git
cd qaradar
pip install -e .Language Support
All language support lives in one registry — qaradar/analyzers/languages.py — so
adding a language is a single entry (extensions, test-name convention, test-function
counter), consumed by both churn and test-mapping.
Tier 1 — First-class, tested
Language | Test detection | Coverage |
Python |
| coverage.py JSON + XML |
JavaScript / TypeScript |
| LCOV, Jest/Istanbul JSON |
Go |
| Go cover profile ( |
Swift |
| Cobertura / LCOV |
Kotlin |
| Cobertura / LCOV |
Dart / Flutter |
| LCOV ( |
Objective-C |
| Cobertura / LCOV |
Tier 2 — Best-effort, naming-based
Java, Ruby, Rust — test detection via naming conventions. Coverage via Cobertura XML or LCOV if emitted.
Coverage parsing is format-driven, so it spans more ecosystems than test-mapping detection, which is language-specific.
Monorepos: Istanbul/Jest reports are auto-discovered under packages/*/coverage and
apps/*/coverage, and absolute/package-relative coverage paths are normalized to
repo-relative so they join correctly against churn and test-mapping signals.
Supported Coverage Formats
Format | Tools |
coverage.py JSON | Python |
Istanbul / Jest JSON |
|
Cobertura XML | Python, Java/Gradle, .NET (Coverlet) |
LCOV | JS/TS, Flutter/Dart, C/C++, Rust (grcov) |
Go cover profile |
|
Example Output
╭──────────────── QA Radar Health Report ─────────────────╮
│ Repository: /home/user/my-service │
│ Source files: 47 Test files: 23 Ratio: 0.49 │
│ Avg coverage: 62.3% Tested: 31 Untested: 16 │
╰─────────────────────────────────────────────────────────╯
CRITICAL risk modules: 3
HIGH risk modules: 7
┌─────────────────────────────────────────────────────────┐
│ Risky Modules │
├──────────────────────┬──────────┬───────┬───────────────┤
│ File │ Risk │ Score │ Reasons │
├──────────────────────┼──────────┼───────┼───────────────┤
│ src/payments/core.py │ CRITICAL │ 0.87 │ High churn: │
│ │ │ │ 34 commits; │
│ │ │ │ No tests │
│ src/auth/tokens.py │ CRITICAL │ 0.82 │ Low coverage: │
│ │ │ │ 12.3%; Active │
│ │ │ │ recently │
└──────────────────────┴──────────┴───────┴───────────────┘Tracking Runs Over Time
By default QA Radar is stateless. Opt in to persistence to track a repo across runs and drive incremental re-analysis (daily/weekly, or after N diffs, or after an agent finishes work).
qaradar analyze . --save # record a snapshot to .qaradar/state.json (gitignore it)
qaradar should-run . # exit 0 if a re-run is warranted, 1 if not — prints JSON
qaradar status . # last run, commits/days since, current decision + risk deltashould-run is a gate, not a scheduler — wire it into whatever you already use:
# cron / CI / git hook: only do expensive work when criteria are met
qaradar should-run . && qaradar analyze . --saveIt reports scope: "full" (interval elapsed) or scope: "diff" (enough files changed),
so an agent calling the qaradar_should_run MCP tool knows whether to follow up with
qaradar_healthcheck or qaradar_pr_risk. State is one .qaradar/state.json per repo,
so a "collection of repos" is just a loop over repos in your own infra.
Tune the criteria in qaradar.toml:
[schedule]
interval_days = 7 # re-run the full healthcheck at least weekly
min_changed_files = 25 # ...or sooner, once this many files have changed--save also reports a delta vs the previous run — which files newly became risky,
which got worse, which improved or resolved.
Roadmap
v0.1.2 — Claude Code plugin + slash commands
v0.2.0 — Config file (
qaradar.toml), Tier 2 language validation, hardeningv0.3.0 — Diff-aware mode:
qaradar_pr_risk+--baseCLI flagv0.4.0 — Mobile/monorepo language coverage (Swift, Kotlin, Obj-C, Dart, React Native, Jest); run persistence + re-run criteria (
should-run,--save,qaradar_should_run)v0.5.0 — Flaky test detection from CI history (JUnit XML parsing)
Philosophy
QA Radar is built on three beliefs:
The bottleneck has moved. AI makes writing tests easy. Knowing which tests matter is the hard part.
Quality is a landscape, not a number. A single coverage percentage hides everything. Risk is per-module, per-signal, per-timeframe.
Agents need context. An AI coding assistant that doesn't know your repo's fragile areas will write generic tests. Give it the quality landscape and it writes targeted ones.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that transforms repositories into queryable knowledge by combining static code analysis with git history tracking. It allows users to investigate codebase structure, identify fragile files based on churn, and receive risk assessments through natural language queries.Last updated7
- AlicenseAqualityAmaintenanceLocal-first code intelligence MCP server with hybrid BM25 + ONNX vector search, symbol-level impact analysis, diff-aware PR review with risk scoring, and persistent memory tied to git state.Last updated3629676MIT
- AlicenseAqualityBmaintenanceAn MCP server that provides local code quality analysis for AI coding assistants, supporting file analysis, git diff review, and full project scanning with quality scoring.Last updated42MIT
- Alicense-qualityAmaintenanceMCP server for test impact analysis and code intelligence. Maps tests to code and git history to determine impacted tests, risk scores, and ownership for AI coding agents.Last updated2MIT
Related MCP Connectors
Repo intel for AI coding agents: overview, PRs, contributors, hot files, CI, deps. Remote MCP.
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MuratKus/qaradar'
If you have feedback or need assistance with the MCP directory API, please join our Discord server