Codecov MCP Server

MCP server for querying Codecov coverage data with configurable URL support

Remote serverstreamable-httpGo

What is the Codecov MCP Server?

MCP server for querying Codecov coverage data with configurable URL support

What you get

A Model Context Protocol (MCP) server that provides tools for querying Codecov coverage data. Supports both codecov.io and self-hosted Codecov instances with configurable URL endpoints.

  • File-level coverage — Get detailed line-by-line coverage data for specific files
  • Commit coverage — Retrieve coverage statistics for individual commits
  • Repository coverage — Get overall coverage metrics for repositories
  • Pull request coverage — Analyze coverage changes and impact for pull requests
  • Coverage comparison — Compare coverage between branches, commits, or tags
  • Configurable URL — Point to any Codecov instance (codecov.io or self-hosted)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_file_coverage
get_commit_coverage
get_repo_coverage
get_pull_request_coverageGet coverage data for a specific pull request, including coverage changes and file-level impact.
compare_coverageCompare coverage between two git references (branches, commits, or tags).

How to install the Codecov MCP Server

claude mcp add codecov --env CODECOV_BASE_URL=your-value --env CODECOV_TOKEN=your-value -- npx -y @egulatee/mcp-codecov

Configuration

VariableDescriptionRequired
CODECOV_BASE_URLEndpoint or connection string the server talks to.Yes
CODECOV_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Codecov to get file coverage.”
  • “Use Codecov to get commit coverage.”
  • “Use Codecov to get repo coverage.”

Frequently asked questions

MCP server for querying Codecov coverage data with configurable URL support Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.