codecov-mcp
A Codecov Model Context Protocol server
Documentation
Codecov MCP Server
A Codecov Model Context Protocol server in TypeScript.
- Tools for finding where your codebase is lacking tests.
- Prompts for suggesting which tests to write.
Features
Resources
- None yet
Tools
- `get_commit_coverage_totals` - Returns the coverage totals for a given commit and the
coverage totals broken down by file. Uses this api.
Prompts
- `suggest_tests` - Suggests tests to write based on Codecov report.
Installation
Usage: Ask your AI agent to "run the get_commit_coverage_totals tool" in your chat.
Configure: No need to install anything, just run with `npx` and put in your Codecov API key from here - Go to Settings -> Access.
And git url: `git remote get-url origin`
Cursor command: `npx -y codecov-mcp-server --api-key XXX --git-url XXX`
(On Windows) Cursor command: `cmd.exe /c npx -y codecov-mcp-server --api-key XXX --git-url XXX`
To use with Claude (or any AI), add the server config:
{
"mcpServers": {
"codecov-mcp-server": {
"command": "npx",
"args": [
"-y",
"codecov-mcp-server",
],
"env": {
"CODECOV_API_KEY": "XXX",
"GIT_URL": "XXX"
}
}
}
}Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.
Development
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchFrequently asked questions
What is codecov-mcp?
codecov-mcp is A Codecov Model Context Protocol server
How do I install codecov-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is codecov-mcp open source?
Yes — it is hosted on GitHub at https://github.com/stedwick/codecov-mcp and has 5 stars.
Related MCP tools
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
A model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
A server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP