Coveralls now includes an MCP server. 🎉 MCP stands for Model Context Protocol, the open standard that AI agents (like Claude Code, Cursor, ChatGPT) use to call a product’s tools over HTTPS.
Coveralls MCP Server v0.1, our first release as of 2026-11-20, focuses on a long-awaited feature: Management Reporting (aka. Cross-Org Reporting, aka. Team Reporting). Given the ubiquity of LLMs and AI agents, we have decided to release these features via MCP, first.
To get management-level reporting about coverage across all of your projects at Coveralls, connect your agent to Coveralls once; then you can ask it about your coverage in plain language:
planning/route.py lost coverage in the last build?”backend subproject are weakest?”The agent calls the server’s seven tools, reads the numbers, and writes the answer, as a table you can paste into a report, or as data it can formulate into a dashboard.
https://coveralls.io/mcpAuthorization: Bearer <token>v0.1 of the Coveralls MCP Server does not doRequests to the MCP server are authenticated with a Personal API Token from your Coveralls Account Page. Under Personal API Tokens, create a token and copy it; it is shown once.

The agent will see exactly the repositories your account can see. For a shared gateway, create the token under a service account rather than a personal one.
The token travels in the Authorization header as a bearer token:
Authorization: Bearer <your token>
Keep the token out of chats, tickets and committed files. If a token leaks, revoke it on the Account Page and create a new one.
Nothing is installed. The server is part of coveralls.io, so connecting is one entry in your agent’s MCP settings.
One command does it (type it in a terminal):
claude mcp add --transport http --scope user coveralls https://coveralls.io/mcp --header "Authorization: Bearer <your token>"
Then type /mcp inside Claude Code: coveralls should show as connected with seven tools. Ask the agent “what can you tell me from Coveralls?” to confirm.
These take the same address and header in their own MCP settings. The entry is an HTTP (sometimes called “streamable HTTP”) MCP server at https://coveralls.io/mcp with the header Authorization: Bearer <your token>. Here is the shape most clients accept in their JSON settings file:
{
"mcpServers": {
"coveralls": {
"type": "http",
"url": "https://coveralls.io/mcp",
"headers": {
"Authorization": "Bearer <your token>"
}
}
}
}
Check your client’s documentation for the exact file name and location.
You never call these yourself. The agent reads their descriptions from the server and picks the right one. Knowing what they answer helps you ask good questions.
| Tool | The question it answers | Example question |
|---|---|---|
list_repos |
Which repositories can this token see, and what is each one's latest coverage? | "List our repos and their coverage." |
get_repo_coverage |
What is one repository's coverage on a branch, per branch and per subproject? | "What is planner at on main?" |
get_build |
Is this build done, what did it report, and how does it compare with the build it is measured against? | "Is build 1234 finished? Did coverage go up?" |
list_files |
Which files in a build are lowest, which changed, which left new lines uncovered? | "Show me the ten least-covered files in the latest build." |
list_directories |
Which folders in a build are weakest? | "Which folders under planning/ are below 70 percent?" |
get_file_coverage |
Which lines of one file are covered, and which lines lost or gained coverage since the base build? | "Which lines of planning/route.py lost coverage?" |
get_owner_coverage |
Is each owner meeting its coverage target, across repositories? | "Are all owners above 80 percent?" |
This is the kind of question the server was built for. It takes one request and returns JSON easily formatted into one table, or any artifact your agent chooses to create.
Use our CODEOWNERS file for
github/acme/planner. Target 80 percent. The docs owner’s target is 50 percent. Also,@acme/perceptionowns all ofgithub/acme/perception.
The agent reads the CODEOWNERS file from the repository:
* @acme/platform
/planning/ @acme/planning
/perception/ @acme/perception
/docs/ @acme/docs
*.proto @acme/platform @acme/perception
It turns each line into one segment per owner named on the line. A segment is “this repository, optionally this branch, optionally this pattern, optionally this subproject.” A line with two owners gives both owners the same segment. Then it adds the targets you gave and the extra repository for @acme/perception, and sends one request to get_owner_coverage. Each repository is reported on its default branch unless you name another branch. The server uses the latest finished build on that branch.
| Owner | Repository | Segment | Covered / relevant lines | Percent | Change | Pass |
|---|---|---|---|---|---|---|
| @acme/platform | planner | * |
8,410 / 10,250 | 82.0 | ||
*.proto |
120 / 160 | 75.0 | ||||
| owner total | 8,410 / 10,250 | 82.0 | +0.4 | yes | ||
| @acme/planning | planner | /planning/ |
2,980 / 3,400 | 87.6 | ||
| owner total | 2,980 / 3,400 | 87.6 | +1.1 | yes | ||
| @acme/perception | planner | /perception/ |
2,105 / 2,900 | 72.6 | ||
*.proto |
120 / 160 | 75.0 | ||||
| perception | whole repository | unavailable: no finished build on main |
||||
| owner total | 2,225 / 3,060 | 72.7 | — (1 repository unavailable) | |||
| @acme/docs | planner | /docs/ |
310 / 540 | 57.4 | ||
| owner total | 310 / 540 | 57.4 | +2.3 | yes |
@acme/platform owns * and *.proto. The .proto files are already inside *, so the owner total is 10,250 relevant lines, not 10,410. Overlapping segments never double-count..proto files appear under @acme/platform and under @acme/perception. The server reports coverage, not exclusive ownership.yes or no against the target you gave. It is empty (null) when there is not enough data to judge: no target was given, no file matched, or one of the owner’s repositories was unavailable. Null is not a failure. It says “part of this owner’s code was not measured, so there is no verdict.”You can ask for the same table every week, or ask the agent to keep the CODEOWNERS mapping and the targets in a file in your repository so the question becomes “run the coverage report.”
planner pass our 80 percent check?” The agent fetches the pull request’s latest build, reads its total and its change against the base build, and lists the changed lines that are still uncovered. The patch coverage percent itself (coverage of only the changed lines) is not returned yet; it is planned for a later release.planning/route.py lost coverage in the latest build on main?” The agent gets the file’s lines for this build and for its base build and reports lines that lost coverage, lines that gained it, and lines still uncovered. The lists are computed by the server, not guessed by the agent.backend subproject are below 60 percent?” The agent lists the directories of that one parallel job, lowest first.| What you see | What it usually means | What to do |
|---|---|---|
| The agent says it has no Coveralls tools. | The client entry is missing or disabled. | Check the entry (address and header), then restart the agent. |
| "401" or "unauthorized". | The token is missing, mistyped or was revoked. | Create a new token and update the entry. |
| "Repository not found, or not visible to this token." | The token's user cannot see that repository. | Add the repository to that user, or use a token from a user who can see it. |
| An owner's repository is "unavailable." | No finished build on that branch yet, or the build is too large for per-owner reporting. | Push a build to that branch; or ask on the branch that has builds. |
| "503, try again." | More than two agent requests at once on one web server. | Nothing; agents retry. If it is frequent, tell us. |
| Numbers differ from the Coveralls page. | The agent and the page are looking at different builds or branches. | Ask the agent which build it used, and compare with the build the page shows. |
| A percent is a few points off, every time. | The repository's "Include branch coverage in the coverage percentage" setting. Every answer says which rule it used (percent_includes_branches). |
Compare with the same setting on; or turn the setting on, rerun the build, and ask again. |
If none of these fits, send us the question you asked and the agent’s answer at support@coveralls.io, and we will look at it with you.
The full guide for engineering managers, with the worked example above and more, is a five-page PDF: Coveralls MCP Server v0.1 User Guide, Coveralls Cloud edition.
v0.1 is the first release: management reporting and its foundation. Later releases add the troubleshooting workflows engineers asked for (why a build is slow or stuck, settings and history) and, further out, carefully scoped write actions. Tell us which question you most want the agent to answer next; email us at support@coveralls.io or leave a comment in the associated Announcement.