A Muon Collider represents a very interesting possibility for a future machine to explore the energy frontier in particle physics. However, to reach the needed luminosity, beam intensities of the order of 10 9−11 muons per bunch are needed. In this context, the Beam Induced Background must be taken into account for its effects on the magnets and on the detector. Several optimizations can be conceived with the aim to mitigate them. In this view, it is of crucial importance to develop a flexible tool that allows to easily reconstruct the machine geometry in a Monte Carlo code, allowing to simulate in detail the interaction of muon decay products in the machine, while being able to change the machine optics itself to find the best configuration. In this contribution, a possible approach to such a purpose is presented, based on FLUKA for the Monte Carlo simulation and on LineBuilder for the geometry reconstruction. First results for the 1.5 TeV machine optics developed by the MAP collaboration are discussed in this paper.