MPGA is a script written in Python to search for the optimal ensemble from pre-generated structure pool, especially for large intrinsically disordered proteins. It is a mixed algorithm of matching pursuit and genetic algorithm, which takes advantages both from matching pursuit to reduce the search space and from genetic algorithm to free the requirement on the constraint types for structure determination.