Active photocatalysts with an efficiency of 99% were prepared for the degradation of the industrial dye, methylene blue (MB), under visible light irradiation. These photocatalysts comprised Co/Ni-metal–organic frameworks (MOFs), to which bismuth oxyiodide (BiOI) was added as a filler to prepare Co/Ni-MOF@BiOI composites. The composites exhibited remarkable photocatalytic degradation of MB in aqueous solutions. The effects of various parameters, including the pH, reaction time, catalyst dose, and MB concentration, on the photocatalytic activity of the prepared catalysts were also evaluated. We believe that these composites are promising photocatalysts for the removal of MB from aqueous solutions under visible light.