Merchant category codes (MCCs) are used by credit card companies to classify businesses, track consumer spending and allocate rewards. On the other hand, North American Industry Classification System (NAICS) codes are another way of classifying businesses. However, NAICS codes are used by federal agencies wishing to collect data and statistics about the U.S. economy.