Codecov MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODECOV_TOKEN | Yes | Codecov API token (not upload token). Required for authentication. | |
| CODECOV_BASE_URL | No | Base URL of the Codecov instance (must use https). For self-hosted instances, e.g., https://codecov.your-company.com. | https://codecov.io |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_file_coverageB | Get line-by-line coverage data for a specific file in a repository. Returns coverage percentages and line-level hit/miss information. |
| get_commit_coverageA | Get coverage data for a specific commit, including overall coverage percentage and file-level changes. |
| get_repo_coverageA | Get overall coverage statistics for a repository, optionally for a specific branch. |
| get_pull_request_coverageA | Get coverage data for a specific pull request, including coverage changes and file-level impact. |
| compare_coverageA | Compare coverage between two git references (branches, commits, or tags). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze_coverage | Get comprehensive coverage analysis for a repository |
| compare_commits | Compare coverage changes between two commits |
| find_low_coverage | Identify files with coverage below a threshold |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Getting Started Guide | Quick start guide for using the Codecov MCP server |
| GitHub Actions Integration | Example GitHub Actions workflow for Codecov |
| Common Query Patterns | Examples of common Codecov queries |
| Configuration Guide | How to configure CODECOV_BASE_URL and CODECOV_TOKEN |
TDQS
Scored across 5 tools
Each tool targets a distinct coverage aspect: repo, commit, file, pull request, or comparison between references. No functional overlap.
All tools follow a clear verb_noun pattern (get_<entity>_coverage, compare_coverage), with no mixing of styles.
Five tools cover the essential coverage operations for a code coverage server, neither too few nor excessive.
Covers repo, commit, file, PR, and comparison coverage queries. Minor gap: no tool for listing commits or historical trends, but core use cases are well supported.