This paper explores the application of Cat Swarm Optimization (CSO) in optimizing the Selective Harmonic Elimination (SHE) algorithm for Current Source Inverters (CSI) to minimize Total Harmonic Distortion (THD). The study highlights the effectiveness of CSO in tuning switching parameters, improving the output quality of CSIs by eliminating low-order harmonics in the inverter's waveform. Simulations conducted in MATLAB demonstrate significant improvements in harmonic elimination, validating the proposed methodology.