Analyze Coverage MCP Server

MCP Server that bridges LCOV coverage reports to AI agents

Local serverstdio

What is the Analyze Coverage MCP Server?

MCP Server that bridges LCOV coverage reports to AI agents

What you get

MCP server that bridges LCOV coverage reports to AI agents. It runs locally and gives agents precise, structured visibility into test coverage — which lines are hit, which branches are missed, and where to focus testing efforts.

LCOV is a standard text format for code coverage data. It records which lines, functions, and branches were executed during tests. The format is widely supported by test runners (Vitest, Jest, Istanbul, etc.) and is typically written to lcov.info. Each record describes coverage for a source file: line hits, branch hits, and function hits.

Configuration and credentials

All MCP tools (get_coverage_overview, list_uncovered_regions, get_annotated_source) require these parameters in every call. They identify which coverage report to load and how to resolve source file paths. | Parameter | Requirement | |-----------|-------------| | lcov_path | Must be an absolute path. The file must exist on disk. | | project_root | Must be an absolute path. In

More MCP options

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

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_coverage_overviewAggregated and per-file coverage stats (lines, functions, branches %). Supports filtering by directory prefix, threshold, and sort order.
list_uncovered_regionsUncovered lines (merged into ranges) and uncovered branches for a specific file.
get_annotated_sourceFull source file annotated line-by-line with [COVERED], [NOT COV], or [NO DATA]. Supports start_line/end_line windowing.

How to install the Analyze Coverage MCP Server

{
  "mcpServers": {
    "analyze-coverage": {
      "command": "npx",
      "args": [
        "-y",
        "@sofia-open-source/analyze-coverage-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

All MCP tools (get_coverage_overview, list_uncovered_regions, get_annotated_source) require these parameters in every call. They identify which coverage report to load and how to resolve source file paths. | Parameter | Requirement | |-----------|-------------| | lcov_path | Must be an absolute path. The file must exist on disk. | | project_root | Must be an absolute path. In

Example prompts to try

  • “Use Analyze Coverage MCP to get coverage overview.”
  • “Use Analyze Coverage MCP to list uncovered regions.”
  • “Use Analyze Coverage MCP to get annotated source.”

Frequently asked questions

MCP Server that bridges LCOV coverage reports to AI agents Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.