In this paper we study the automorphism group of the procongruence mapping class group through its action on the associated procongruence curve and pants complexes. Our main result is a rigidity theorem for the procongruence completion of the pants complex. As an application we prove that moduli stacks of smooth algebraic curves satisfy a weak anabelian property in the procongruence setting.