We present an open source MATLAB package, IGUG, for 3D inversion of gravity data. The algorithm implemented in this package is based on methodology that was introduced by Bijani et al. (2015). A homogeneous subsurface body is modeled by an ensemble of simple point masses. The model parameters are the Cartesian coordinates of the point masses and their total mass. The set of point masses is associated to the vertices of a weighted full graph in which the weights are computed by the Euclidean pairwise distances separating vertices. Kruskal's algorithm is used to solve the minimum spanning tree (MST) problem for the graph, yielding the reconstruction of the skeleton of the body described by the model parameters. The algorithm is stabilized * Corresponding author Email addresses: svatan@ut.ac.ir ( Saeed Vatankhah ), ebrahimz@ut.ac.ir (Vahid Ebrahimzadeh Ardestani), susan.soodmand@ut.ac.ir (Susan Soodmand Niri), renaut@asu.edu (Rosemary Anne Renaut), hkabirza@ucalgary.ca (Hojjat Kabirzadeh) body, north east of Noranda, Quebec, Canada.