Anis was the president of the Justice Party (PKS) from 2013-2015 after having been the Secretary-General of PKS for four consecutive terms (1998-2013). He has spoken on the need for interfaith dialogue, and campaigns on the basis of conservative values. In 2019 he co-founded the Gelora Party, of which he is currently chairman.