I’m probably not the only person who has a folder on their hard drive that should be cleaned up at some point. Mine happens to be called “Aufräumen” (Clean Up), and whenever I manage not just to keep filling it but actually want to clean it up, I’m overcome by a leaden fatigue after 2-3 files.
Anthropic’s Claude offers the possibility to connect a Large Language Model with external software through the Model Context Protocol. This means the LLM is no longer “just” limited to text output, but can make decisions or even execute actions. Claude already comes with some integrations, for example the ability to access the local file system (at the very bottom of the screenshot).

My prompt: “Can you please look at my ‘Aufräumen’ folder on the desktop and see how the files there could be sensibly organized?”
First, Claude got an overview of the files in the folder. With more than 600 files, Claude needed two attempts. In doing so, Claude only examined the file names, although it would have been possible to open at least some of the files. However, that would have taken even longer. Claude then came up with a proposal in which my files were divided into 12 categories. These made a lot of sense, I only gave Claude one note before the AI cheerfully started sorting my data:

Just for sorting the 600 files, nearly 4 hours were necessary, partly with longer breaks because my usage limit was exhausted and I had to wait until I could use Claude again. This waiting time is not included in the 4 hours. But even so, Claude needed breaks again and again, sometimes the server was unreachable, then a context window was full and I had to type the prompt again in a new chat, or a “Continue” button appeared that had to be pressed. The computer actually got hot, Claude required a lot of power, but really needed a lot of time for each file. Sometimes it looked like this:

For this to work at all and to avoid having to approve the action for each individual file, Claude needs approval for each action category. You should only do this if you also have a backup of your own files.
Did it work? A clear “partially”. Not all documents were correctly categorized. This is naturally also due to the fact that files were only categorized by their names. But it’s definitely a good pre-sorting, and in that time I probably would have fallen asleep several times out of self-defense. So it was worth it, even if the result isn’t perfect yet.
In the next step, I will build such a system with a locally installed LLM that also opens and reads files to sort them correctly.