

<strong>Dashboard Overview</strong> – Clean, intuitive interface showing scan history and quick actions
Media Sweep: The Ultimate WordPress Media Library Cleaner
Media Sweep is a powerful WordPress plugin designed to help you reclaim valuable server space by identifying and safely removing unused media files from your WordPress site. Whether you’re dealing with orphaned attachments, forgotten uploads, or files left behind by themes and plugins, Media Sweep provides a comprehensive solution to keep your media library clean and organized.
Perfect for bloggers, agencies, e-commerce sites, and any WordPress website looking to optimize storage space and improve site performance.
🚀 Key Benefits:
✅ Reclaim Server Space – Remove unused files and free up valuable storage
✅ Improve Site Performance – Faster backups and reduced server load
✅ Safe & Reversible – Files moved to trash folder, not permanently deleted
✅ Smart Detection – Advanced algorithms identify truly unused files
✅ Batch Operations – Process multiple files efficiently
✅ Detailed Analytics – Comprehensive scan reports and file insights
✅ AI Assistant Ready – Audit scans and preview cleanups from Claude or Cursor over MCP; deleting stays off by default
Media Library Scan
* Scans all media attachments in your WordPress library
* Checks for usage in posts, pages, and custom fields
* Detects thumbnail and size variations
* Identifies gallery shortcodes and blocks
* Fast and efficient for large media libraries
* Recommended for most WordPress sites
File System Scan
* Deep scan of your uploads directory
* Finds orphaned files not in the media library
* Detects cache and temporary files
* Identifies theme and plugin generated files
* Comprehensive but may take longer to complete
* Best for sites with file management plugins
Step 1: Choose Scan Type
* Select Media Library or File System scan based on your needs
* Configure advanced options for thorough analysis
Step 2: Run the Scan
* Watch real-time progress as Media Sweep analyzes your files
* Pause and resume scans as needed without losing progress
Step 3: Review & Clean
* Browse detected files with detailed information
* Use bulk actions to efficiently process multiple files
* Restore files from trash if needed
Media Sweep registers its scan, report and cleanup operations with the WordPress Abilities API, which is part of WordPress core since 6.9. Install the free MCP Adapter plugin from the WordPress project and MCP clients that sign in with a WordPress Application Password (Claude Desktop, Claude Code, Cursor) can audit your Media Library in plain English. Verified with Claude Code.
What an AI assistant can do:
“Scan the Media Library and tell me how much space the unused files take.”
“Why is hero-2019.jpg marked as in use?”
“Preview a cleanup of the unused images from the last scan and show me the numbers.”
What it deliberately cannot do:
What you need: WordPress 6.9 or newer, the free MCP Adapter plugin (not bundled with Media Sweep and not required), and a WordPress Application Password for a dedicated admin user (Users > Profile > Application Passwords). WP-CLI works on the same machine. Nothing changes for sites that skip this: on older WordPress, or without the adapter, Media Sweep runs exactly as before, and nothing leaves your server.
Need help with Media Sweep? We’re here to assist!
Media Sweep can connect to WPCreatix’s own service at https://connect.wpcreatix.com (usage data and newsletter, both opt-in).
Nothing is sent unless you click one of these buttons. Skip sends nothing.
On Media Sweep’s settings page you can see what is sent, turn sharing off, or delete your site’s data at any time.
Terms: https://wpcreatix.com/terms-and-conditions/
Privacy policy: https://wpcreatix.com/privacy-policy/
Scans, cleanups and the trash all run locally on your server, and your files and media never leave it. Media Sweep contacts an outside service only in the cases listed under External services.
Media Sweep is crafted with ❤️ by the WPCreatix team. We’re passionate about creating tools that help WordPress users optimize and maintain their websites efficiently.
Special thanks to the WordPress community for their continuous feedback and support in making this plugin better.