Abstract. We study a relation between the Artin conductor and the weight coming from the motivic integration over wild Deligne-Mumford stacks. As an application, we prove some version of the McKay correspondence, which relates Bhargava's mass formula for extensions of a local field and the Hilbert scheme of points.