We derive a formula for the generating function for the weight two compactly supported \mathbb S_n-equivariant Euler characteristics of the moduli spaces of curves \mathcal M_{g,n}, using graph complexes and calculations inspired by operadic methods.