The present invention provides for MCHR1 antagonist compounds of formula (I)
and the pharmaceutically acceptable salts, solvates and prodrugs thereof, wherein the substituents are as defined herein, and the pharmaceutically acceptable salts, solvates and prodrugs thereof, which are useful in treating diseases or conditions wherein antagonism of the MCHR1 receptor is beneficial.