MEXICO and MEX are programs to calculate the lineshapes of exchanging systems with and without scalar coupling.