MCP Servers / development / Code Reaper

Code Reaper

JSON →
nonedevelopment

CodeReaper is an AI-driven MCP tool for Cursor that finds and removes dead JavaScript by exploring real UIs and capturing V8 coverage

Install
How to run this server
[ { "cmd": "pip install codereaper", "imports": [] } ]
server path: code-reaper
Tools
What this server exposes
find_dead_code
Full pipeline: scan + analyze. Returns dead-code report with file paths, line numbers, risk scores, and removal recommendations.
scan_website
Scan only (no analysis). Returns scan_id for later use.
analyze_dead_code
Analyze a completed scan. Takes scan_id.
generate_patches
Generate unified diffs to remove dead code (conservative / balanced / aggressive).
get_patch_diff
Retrieve the combined diff for a patch.
apply_patch
Apply a patch to source files (stores snapshots for rollback).
verify_patch
Re-run the browser agent to check for regressions after patching.
rollback_patch
Restore original files from pre-patch snapshots.
list_scans
List recent scans.
get_scan_status
Get detailed status of a scan.
Configuration
Environment & auth
authnone
envGEMINI_API_KEY
Resources
Code Reaper — MCP Server · libregistry