In this study, a positively charged nanofiltration (NF) nanocomposite mixed matrix membrane (MMM) was developed by incorporating metal-organic frameworks (MOFs) (MIL-303) into P84 co-polyimide and cross-linking with hyperbranched polyethyleneimine (HPEI). A very thin selective layer was subsequently formed on the cross-linked membrane surface using trimesoyl chloride (TMC). The incorporation of MIL-303 introduced specific water channels, enhancing the permeance of the nanocomposite MMMs. Additionally, it improved hydrophilicity and influenced the diffusion of the TMC monomer through the channels. The cross-linker HPEI resulted in NF membranes with increased electro-positivity and a reduced mean pore diameter. The very thin crosslinked TMC layer further improved permeance and heavy metal ions rejection of the membrane. This optimized membrane exhibited excellent rejection for both bivalent and monovalent ions, as well as heavy metal ions, effectively overcoming the common trade-off between permeance and rejection in NF membranes. The membrane demonstrated a remarkable permeance of 13.0 LMH/bar, coupled with exceptional rejection for heavy metal ions (96.8 % for Zn²⁺, 95.2 % for Ni²⁺, 95.7 % for Cu²⁺, 93.2 % for Pb²⁺, and 92.9 % for Cd²⁺). The TMC/HPEI/MIL-303/P84 system presented in this study holds significant promise for customizing high-performance positively charged NF membranes for the removal of heavy metal ions from wastewater.