How I Built a Personal Screen Time Tracker for Mac and iPhone Using Claude

This post was co-written with Claude Code. I wanted to track my screen time across all my devices in a way that I actually owned the data. Apple&rsquo;s built-in Screen Time is fine, but you can&rsquo;t export it, query it, or build custom visualizations. So I sat down with Claude (in Claude Code) and we built a system that extracts screen time data from both my Mac and iPhone, stores it in a…