a Efficient charge separations and their mobility is a key challenge in metal-organic-frameworks (MOFs) based devices. In the present study, thin films of cobalt-based metal organic frameworks (MOFs) are synthesized using layer-by-layer technique, and their electrical/optoelectronic properties are studied. The as-prepared MOF films show electrically insulating behavior, which after hole doping demonstrate p-type conducting material. The measured HOMO-LUMO energy states of the MOF films are found to be well matched for sensitizing TiO2, and the photoluminescence quenching experiment demonstrates a facile photoelectron transfer path from the doped frameworks to TiO2. Consequently, the doped MOFs are employed successfully as a light harvesting and charge transporting active layer in a fully devised TiO2based solar cell. Two different organic ligands viz., benzene dicarboxylic acid, and naphthalenedicarboxylic acid are used to synthesize two kinds of Co-MOFs having different geometrical dimensions of unit cells and pores, and their influence on hole doping and charge transportation are studied. Under an optimized condition, the Co-MOF based device demonstrates the solar-to-electric energy conversion efficiency of 1.12 % with short circuit current of 2.56 mA.cm -2 , showing a promissing future prosprect on application of Co-MOFs in photovoltaics. Further, the photovoltaic performance of the Co-MOF based divice is comaparatively studied with the previously reported Cu-MOF and Ru-MOF based similar devices, and the influence of different metal centers to MOFs on their light harvesting performce is discussed.