Abstract : Contrast-enhanced stereotactic synchrotron radiation therapy (SSRT) is an innovative techniquebased on localized dose-enhancement effects obtained by reinforced photoelectric absorption inthe tumor. Medium energy monochromatic X-rays (50 - 100 keV) are used for irradiating tumorspreviously loaded with a high-Z element. Clinical trials of SSRT are being prepared at the EuropeanSynchrotron Radiation Facility (ESRF), an iodinated contrast agent will be used. In order tocompute the energy deposited in the patient (dose), a dedicated treatment planning system (TPS)has been developed for the clinical trials, based on the ISOgray TPS. This work focuses on the SSRTspecific modifications of the TPS, especially to the PENELOPE-based Monte Carlo dose engine. TheTPS uses a dedicated Monte Carlo simulation of medium energy polarized photons to compute thedeposited energy in the patient. Simulations are performed considering the synchrotron source, themodeled beamline geometry and finally the patient. Specific materials were also implemented inthe voxelized geometry of the patient, to consider iodine concentrations in the tumor. The computationprocess has been optimized and parallelized. Finally a specific computation of absolute dosesand associated irradiation times (instead of monitor units) was implemented. The dedicated TPSwas validated with depth dose curves, dose profiles and absolute dose measurements performedat the ESRF in a water tank and solid water phantoms with or without bone slabs.