ABSTRACT The power quality (PQ) variations due to the introduction of electric vehicles (EVs) and Electric Vehicle Charging Stations (EVCS) into the power system network is the foremost limitation which is holding back the push for a complete overhaul of fossil fuel-based internal combustion (IC) engine vehicles by EVs. With the emergence of EVs into the mainstream in the automobile sector, this research article proposes a system wherein distributed energy resources (DERs) like Fuel-Cells (FCs) are integrated to grid in order to supply for the additional power demand created by the EVs such that the current injected from FC compensates the grid current harmonics maintain the grid current THD ≤ 5% as per IEEE519 standards. A Particle Swarm Optimized (PSO) based PI current controller and a Fuzzy-logic-based controller are proposed for a grid connected fuel cell so as to mitigate the grid current deterioration caused due to the presence of existing nonlinear loads as well as EVCS. In addition, the parameters like grid voltage distortion and frequency variance are considered simultaneously to ascertain the capability of proposed controllers. This work is carried out in the MATLAB/SIMULINK environment.