Skip to content
MCP server

Codecov

MCP server for querying Codecov coverage data with configurable URL support

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.1.0
Listing updated
4 days ago

About Codecov

Codecov is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add codecov --env CODECOV_TOKEN='<CODECOV_TOKEN>' -- npx -y mcp-server-codecov

Add to claude_desktop_config.json

{
  "mcpServers": {
    "codecov": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-codecov"
      ],
      "env": {
        "CODECOV_TOKEN": "<CODECOV_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codecov": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-codecov"
      ],
      "env": {
        "CODECOV_TOKEN": "<CODECOV_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "codecov": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-codecov"
      ],
      "env": {
        "CODECOV_TOKEN": "<CODECOV_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "codecov": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-codecov"
      ],
      "env": {
        "CODECOV_TOKEN": "<CODECOV_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "codecov": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-codecov"
      ],
      "env": {
        "CODECOV_TOKEN": "<CODECOV_TOKEN>"
      }
    }
  }
}

Configuration

  • CODECOV_TOKENCodecov API token for authenticationRequired
  • CODECOV_BASE_URLBase URL for self-hosted Codecov instances (optional, defaults to https://codecov.io)

Pricing

Open source

Codecov FAQ

Is Codecov free?

Yes. Codecov is open source, so you can use and self-host it for free.

How do I add Codecov to Claude Code?

Run this command in your terminal: claude mcp add codecov --env CODECOV_TOKEN='<CODECOV_TOKEN>' -- npx -y mcp-server-codecov