Let (Σg,x) be a pointed topological surface of genus g, and let MCG(g,1) be the mapping class group of this pointed surface. Then MCG(g,1) has a natural action on π1(Σg,x) MCG(g)→Aut(π1(Σg)) and hence acts on the set of irreducible characters of π1(Σg): γ:MCG(g,1)→Aut(Charirr(π1(Σg))).
Suppose ρ:π1(Σg)→GLn(C) is an irreducible representation of π1(Σg) which is fixed by this action, i.e. for every element τ of MCG(g,1), there exists a matrix φρ(τ) conjugating ρτ to ρ as a representation of π1(Σg). Because ρ is irreducible, φρ(τ) is well-defined up to scaling, and so we obtain a natural projective representation φρ:MCG(g,1)→PGLn(C). Choosing a representation of PGLn(C) (say, the adjoint representation), we obtain a representation of MCG(g,1) and hence a local system on the moduli space of pointed curves Mg,1.