Nowadays, the renewable energy sources (RES) are widely utilized in micro-grids due to technical development and emission increase, which make the planning the micro-grids integrated the RES very important. To obtain the optimal planning strategy and evaluating efficiency of the RES in micro-grids, a mixed integer programming (MIP) planning framework for a gridconnected micro-grid is presented in this study. The understudy micro-grid consists of the wind turbines and photovoltaic systems, which are connected to utility grid through the point of common coupling (PCC). The objective function is minimizing the life cycle cost of object comprising of the investment and operation cost of the RES, the energy purchased cost from the utility grid, the emission taxes cost and the replacement cost or residual value of equipment at the end of the planning period. The uncertainties of load, electrical price, wind speed and solar radiation are taken into consideration and then a combinable model with the clustering technique is utilized to integrate them. Finally, numerical simulations for a test grid-connected micro-grid are made to validate the effectiveness of the proposed model and show efficiency of the RES to can apply to practical micro-grids.