This morning I asked myself if I could make Spotlight on my Mac talk to Claude. Just a small experiment.
I ended up building a minimal MCP server that exposes Spotlight’s index—files, apps, recent items—as JSON-RPC tools. With that in place, Claude could search my folders, read files, and understand what a project is about.
I tested it on a real directory. It worked. Claude read through the files and summarised the purpose of the whole project in seconds. Something that would usually take me a while to piece together manually.
The whole thing took a few hours. Nothing fancy. But it opened an interesting door.
Here’s a quick demo:
PS: as usual, I didn’t write any code. In this case I was assisted by Claude. Which was kind of funny, we writing and testing the tool in the same thread. At some point I wrote “hey, now you can read files”, and it seemed pleased. ;)
One thought on “Spotlight → MCP”