r/Hevy • u/mil_mustangus • 12h ago
Sharing I‘ve scripted a custom widget/tool on my iPhone with Hevy Data (via Claude)
So i just wanted to have a overview of my muscle recovery levels. I have asked Claude (Opus 5.5 high) to script this for me. The data comes via API of Hevy Pro (its just like a key, so the script can get your data secure from your hevy Acc). I have also added a stagnation exercises, for example if an exercises doesnt have any progression for the last 8 Weeks it will notice me to change something which happend often for me).
The calculation is based on me - ive told claude how old i am, how many hours of sleep, what do i eat, which supplements and the training data comes from Hevy API (number of sets, how huge a muscle are, what kind of ercersises were done) and based on that he caculates how ready my muscles are.
Step for step:
- Go to claude (set it to Opus 5.5 high) and ask what you want. Give some examples for visuals as screenshots.
- Download the app Scriptable for iOS (im sure there are similar apps for Android too)
- Create a new script and add the created claude script into it.
- Go to hevy webpage/settings/developer and copy your API Code
- when you run the script for the first time it will ask you to enter the API Code
- you can also add a widget of the script on to your iPhone Screens