Tailoring pristine metal-organic frameworks (MOFs) offered a great opportunity in exploring electrochemical sensing and energy storage applications. This study presents a novel Polyaniline@Bi/Ce MOF-Chitosan composite synthesized via a solvothermal method and chemical oxidative polymerization. PXRD, FTIR, SEM, EDAX, and TEM characterization confirmed its structural and morphological properties. Electrochemical performance was evaluated using cyclic voltammetry (CV), electrochemical impedance spectroscopy (EIS), and electrochemical surface area (ECSA) analysis. The composite exhibited excellent electrocatalytic activity for detecting azithromycin and toluene with low detection limits and broad concentration ranges, demonstrated by voltammetry and amperometry. It showed significant stability for long term applications. Additionally, the material's energy storage capabilities were assessed through CV and galvanostatic charge-discharge (GCD) studies, revealing a specific capacitance of 415.32 F/g at 1.0 A g-1 and 90.48 % capacity retention after 5000 cycles at 6 A g-1. These findings highlight the Polyaniline@Bi/Ce MOF-Chitosan composite as a promising candidate for electrochemical sensing and energy storage applications.