The Cubs lost 3-2 to the Pirates on Tuesday but clinched a playoff berth for the fifth time in six years.