I use egg shells in my soil. They provide calcium as well as other minerals. You can also use the water that you boiled eggs in too but I have personally never tried this. For magnesium, I use epson salts. During flowering I use more bone meal which is high in phosphorus.