Claude Code Timesheets: Track Your AI-Assisted Development Time
I’ve been freelancing and using Claude Code for client work. Claude saves your full conversation history w/timestamps on disk. I wrote cctimesheet to parse these files and give me data I can use for billing. Tracking 15 minute increments, it’s much more granular than the way I track it myself. Usage # Last 30 days pipx run cctimesheet 30 # Since October 1, 2025 pipx run cctimesheet 20251001 # Filter by client/project pipx run cctimesheet 20251001 -p "*acme*" -g Output ================================================================================ CLAUDE CODE TIMESHEET ================================================================================ Since October 01, 2025 | Filter: *client-project* WEEKLY SUMMARY -------------------------------------------------------------------------------- Oct 27 - Nov 02, 2025 19.75 hrs Oct 20 - Oct 26, 2025 21.50 hrs Oct 13 - Oct 19, 2025 5.25 hrs Oct 06 - Oct 12, 2025 11.00 hrs DAILY BREAKDOWN -------------------------------------------------------------------------------- Friday, Nov 01, 2025 client-project/api 3.50 hrs client-project/frontend 1.25 hrs ----------------------------------------------------------------- --------- Daily Total 4.75 hrs Thursday, Oct 31, 2025 client-project/api 5.00 hrs ----------------------------------------------------------------- --------- Daily Total 5.00 hrs [...] ================================================================================ TOTAL HOURS 57.50 hrs ================================================================================ Why 15-minute blocks? Messages are grouped into 15-minute intervals. Multiple messages in the same interval count as one block (0.25 hours). Gaps with no activity are automatically excluded. ...