coverband
Ruby production code coverage collection and reporting (line of code usage)
Coverband is a Ruby production code coverage tool that includes an MCP server plugin enabling AI assistants to analyze real-world code usage patterns. It tracks which lines of code execute in production environments, storing metrics in Redis and exposing them through a web UI and programmatic interfaces. The MCP integration allows Claude and other AI assistants to query coverage summaries, identify dead code, analyze method usage, and review view/route/translation tracker data directly from your running application.
Key Features
Use Cases
- 01Query production code coverage from Claude to identify safe-to-remove dead code during refactoring sessions
- 02Analyze which routes and views are actually used in production to guide feature deprecation decisions
- 03Review translation key usage to find unused i18n strings across your application
- 04Investigate method-level coverage to understand which code paths execute in real-world scenarios
- 05Monitor storage health and data loss through AI-assisted diagnostics queries
- 06Generate reports on uncovered files to prioritize integration testing efforts
Related Plugins
View moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
coverband — FAQ
What is the Coverband MCP server?+
The Coverband MCP server is an optional Model Context Protocol interface that allows AI assistants like Claude to query production code coverage data collected by the Coverband gem. It provides tools for analyzing coverage summaries, dead code, method usage, and tracker data directly from your Ruby application.
How do I install and configure the MCP server?+
Add the 'mcp' gem to your Gemfile, then configure Claude Desktop or Claude Code with a .mcp.json file pointing to 'bundle exec coverband-mcp'. For remote access, set COVERBAND_MCP_HTTP=true and use mcp-remote to connect via HTTP on port 9023.
Which AI clients support this plugin?+
The MCP server works with Claude Desktop and Claude Code through stdio or HTTP transport. Any MCP-compatible client can connect using the standard Model Context Protocol.
What are the prerequisites?+
Requires Ruby 3.1+, Redis (or another ActiveSupport::Cache store), the Coverband gem in your application, and the 'mcp' gem. You must have coverage data already being collected by Coverband in your production or staging environment.
Is Coverband free to use?+
Yes, Coverband is open source under the MIT License. The MCP server integration is included at no additional cost.
What tools does the MCP server provide?+
It exposes 9 tools: get_coverage_summary, get_file_coverage, get_uncovered_files, get_dead_methods, get_view_tracker_data, get_route_tracker_data, get_translation_tracker_data, get_storage_health, and more for comprehensive coverage analysis.
How do I install coverband?+
Open the source repository on GitHub and follow its README. coverband is a plugin — MCP Agents Market links you directly to the official repo.
Is coverband free?+
coverband is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.