smithery.ai

codecov

Check code coverage using Codecov MCP server.

First seen Mar 20, 2026

Installation

$ npx skills add https://smithery.ai

Summary

  • Check code coverage using Codecov MCP server.
  • Use when user asks to check coverage, find untested code, compare branch coverage, review PR coverage impact, or identify files needing tests.
  • Triggers on phrases like "check coverage", "what's the coverage", "which lines need tests", "coverage for this file", "compare coverage", "PR coverage".

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,739 B
  • docs SUMMARY.md 356 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Codecov Coverage Checks

Query Codecov data to check coverage before pushing, find untested code, and compare branches.

Prerequisites

Ensure the codecov MCP server is configured:

{
  "mcpServers": {
    "codecov": {
      "command": "npx",
      "args": ["@smart145/codecov-mcp-server"],
      "env": { "CODECOV_API_TOKEN": "..." }
    }
  }
}

Common Workflows

Check Repository Coverage

Use codecov_get_coverage_totals with owner and repo.
Report: coverage percentage, lines covered/missed, file count.

Check File Coverage

Use codecov_get_file_coverage with owner, repo, and path.
Report: coverage percentage, uncovered line numbers, total lines.
Suggest specific tests for uncovered lines if requested.

Pre-push Coverage Check

  1. Identify changed files from git status/diff
  2. For each changed file, call codecovgetfile_coverage
  3. Report files with <80% coverage
  4. Suggest which files need tests before pushing

Compare Branch Coverage

Use codecov_compare_coverage with owner, repo, and base/head branches.
Report: coverage change (+/-%), files with decreased coverage, patch coverage.

PR Coverage Review

Use codecov_compare_coverage with owner, repo, and pullid.
Report: overall coverage change, files with coverage drops, untested new code.

Find Low Coverage Areas

Use codecov_get_coverage_tree with owner, repo, and optional path/depth.
Report: directories/files sorted by coverage (lowest first).

Tool Reference

Tool Use For
codecovgetcoverage_totals Overall repo coverage
codecovgetfile_coverage Specific file line coverage
codecovgetcoverage_tree Browse coverage by directory
codecovcomparecoverage Compare commits/branches/PRs
codecovlistrepositories Find repos with coverage
codecovgetrepository Repo details and config
codecovlistcommits Commits with coverage data
codecovlistpulls PRs with coverage info

Output Format

Keep coverage reports concise:

## Coverage: owner/repo

**Overall**: 78.5% (1,234/1,571 lines)

### Files needing attention
- src/api/handler.ts: 45% (lines 23-45, 67-89 uncovered)
- src/utils/parser.ts: 62% (lines 12-18 uncovered)

### Recommendation
Add tests for handler.ts error paths before pushing.