International audienceContext. Thanks to the detections of more than 3000 exoplanets these last 20 yr, statistical studies have already highlighted some properties of the distribution of the planet parameters. Nevertheless, few studies have yet investigated the planet populations from short to large separations around the same star since this requires the use of different detection techniques that usually target different types of stars.Aims. We wish to develop a tool that combines direct and indirect methods so as to correctly investigate the giant planet populations at all separations.Methods. We developed the MESS2 code, a Monte Carlo simulation code combining radial velocity and direct imaging data obtained at different epochs for a giv...