Who tells the family if a military service member dies?

Generally, the branch will send a military chaplain (or priest) to the residence of the family (generally the spouse).
In rare cases, the serviceman's commanding officer may also fulfill the responsibility.