Industrial development leads to an increasing amount of pollutants including heavy metal ions in surface and subsurface waters. For instance, wastewater from battery manufacturing, paint manufacturing or metal plating, contain heavy metals in high concentrations. The heavy metals are typically non-biodegradable and not-easy to excrete. Their presence within the organisms causes damage and failure of different organs. Consequently, the permissible concentrations of heavy metal ions in drinking water set by the World Health Organization are on a ppb level.In this work, electrode materials based on metal-organic frameworks (MOFs) are prepared and studied for sensing of heavy metals in aqueous media. These involved MOFs in their pristine form, composites of pristine MOFs and conducting polymer polyaniline as well as their carbonized derivatives. Cadmium and lead ions were used as model pollutants. Thorough physico-chemical characterization of the prepared materials was done using scanning electron microscopy, Raman spectroscopy, and dynamic light scattering. Electroanalytical performance was scrutinized using anodic stripping voltammetry and correlated with materials’ structural, morphology and textural properties. Limits of detection and sensitivity were determined upon optimization of the experimental conditions to identify the best material. Moreover, materials proved to be suitable for two heavy metal ions sensing in real river samples. Acknowledgments This work was supported by the Science Fund of the Republic of Serbia, grant number 7750219, Advanced Conducting Polymer-Based Materials for Electrochemical Energy Conversion and Storage, Sensors and Environmental Protection-AdConPolyMat (IDEAS programme).