The Stefan problem is coupled with a spatially inhomogeneous and anisotropic Gibbs–Thomson condition at the phase boundary. We show the long-time existence of weak solutions for the non-degenerate Stefan problem with a spatially inhomogeneous and anisotropic Gibbs–Thomson law and a conditional existence result for the corresponding degenerate Stefan problem. To this end, approximate solutions are constructed by means of variational problems for energy functionals with spatially inhomogeneous and anisotropic interfacial energy. By passing to the limit, we establish solutions of the Stefan problem with a spatially inhomogeneous and anisotropic Gibbs–Thomson law in a weak generalised BV-formulation.