In the field of information technology, data clustering algorithms are widely used. In this paper, we proposed a new data clustering algorithm, named MADS, It is based on ant colony Optimization. MADS can automatically find clusters, depending on a few parameters that are not directly related to the data set. In addition, there are some existence technique was also utilized in our method, such as the density concept and cluster validity index (DB-index). The experiment results verified that MADS is able to discover clusters with varying shapes and is effective when applied to image segmentation.