With a simple google.com search: "calcium" "magnesium" "itchy" you can find
quite a bit.
Calcium phosphate: The balance of calcium and phosphate is ruined in kidney
disease. Your phosphorus gets higher because your kidneys can't get rid of it.
When calcium and phosphate combine, they form crystals that deposit in your skin.
This irritates your nerves and causes itching.
High Magnesium: Magnesium may build up in kidney disease. Magnesium binds
with phosphate and forms a crystal that acts the same as calcium – phosphate.
Magnesium may also cause the release of histamine.
Are your phosphorus levels high? You may need to cut back on them or take some phosphate binders.