A mold tool for molding a semiconductor power module with an electrical contact pin comprising an electrical contact portion for contacting a substrate and a protruding portion being a top-sided pin connector, the mold tool comprising a first and a second mold die, which, when brought together for molding, form a cavity to be filled with a mold compound encapsulating electrical components of the semiconductor power module, and a recess in the first die communicating with the cavity, the recess being filled with a cushion-like soft material wherein the top-sided pin connector is pushed thereinto and completely surrounded by the soft material to form a sealing means so as to prevent contamination of the electrical contact portion of the electrical contact pin by the mold compound introduced into the cavity.