whereismyai
Leftovers
Leftovers is a menu-bar app for macOS that monitors process footprints and cleans up processes, caches, and files left by apps and coding agents.
Leftovers is a macOS menu-bar and Dock application that detects memory leaks and leftover processes caused by applications and coding agents. It measures total process footprint—including RAM, compressed, and swapped memory—to show the resources macOS actually pays for. The tool tracks sessions from agents like Claude Code, Codex, Gemini CLI, Cursor Agent, Aider, and OpenCode, identifying duplicate tool servers and abandoned background jobs. It safely clears developer caches, unused AI models from Ollama, Hugging Face, and LM Studio, stopped Docker containers, old node_modules, and merged git worktrees. Leftovers also provides a CLI that outputs raw text or JSON for scripts and agents.
Leftovers at a glance
- Best for: Software engineer
- Runs on: macOS, CLI, open source
- Pricing: Free and open source.
- Released: September 2026
- Category: AI productivity tool
- Website: github.com/arpwal/leftovers
Key features
- Reads total memory footprint including RAM, compressed, and swapped memory
- Tracks agent sessions and duplicate MCP tool servers
- Identifies likely memory leaks with plain-language explanations and safe quit options
- Clears rebuildable developer caches from Xcode, npm, pip, Cargo, and Homebrew
- Removes downloaded models from Ollama, Hugging Face, and LM Studio
- Cleans unused Docker images, stopped containers, build cache, and old node_modules
- Finds and safely deletes merged git worktrees with no uncommitted changes
- Provides a command-line interface that outputs data as text or JSON
Use it for
- Closing orphaned development servers and idle MCP tool servers left by coding agents
- Reclaiming disk space by emptying developer package caches and unused simulator runtimes
- Identifying and quitting memory-hoarding processes that hold large swapped footprints
- Automating Mac system cleanup from scripts or agents via JSON CLI output
Alternatives to Leftovers
- Macaroni — Tracks folder changes made by AI agents without writing to files.
- Devbroom — Sorts leftover agent files by evidence and moves them safely to the trash.
- Putaway — Files your Downloads into existing folders using local AI models or API keys.
- Ballast — Finds hidden developer clutter across more than 60 tools and safely reclaims disk space.
- Lisorto — Previews every move before execution and provides one-click undo capabilities.
- Baa — Monitors memory pressure and clears idle background processes in one click.
- OpenUsage — Monitors AI usage limits locally to prevent service interruptions.
- Mcd Wrapped — Explores MCP tools and generates personal consumption reports and data analytics.
- Tidzy — Find any screenshot or document by its text and clean up storage with full undo support.
- Git To Big Mac Hedger — It uses objective git stats instead of subjective work hours to calculate rewards.
- Orbit — It keeps all project repositories, tasks, notes, and files together in one local workspace.
- MangoDisk — Free and open source disk cleanup tool with optional AI explanations.
All Leftovers alternatives