Supported ultrasmall metal/metal oxide nanoparticles (UMNPs) with sizes in the range of 1-5nm exhibit unique properties in sensing, catalysis, biomedicine, etc. However, the metal-support and metal-metal precursor interactions were not as well controlled to stabilize the metal nanoparticles on/in the supports. Herein, DNA is chosen as a template and a ligand for the silica-supported UMNPs, taking full use of its binding ability to metal ions via either electrostatic or coordination interactions. UMNPs thus are highly dispersed in silica via self-assembly of DNA and DNA-metal ion interactions with the assistance of a co-structural directing agent (CSDA). A large number of metal ions are easily retained in the mesostructured DNA-silica materials, and their growth is controlled by the channels after calcination. Based on this directing concept, a material library, consisting of 50 mono- and 54 bicomponent UMNPs confined within silica and with narrow size distribution, is created. Theoretical calculation proves the indispensability of DNA with combination of several organics in the synthesis of ultrasmall metal nanoparticles. The Pt-silica and Pt/Ni-silica chosen from the library exhibit good catalytic performance for toluene combustion. This generalizable and straightforward synthesis strategy is expected to widen the corresponding applications of supported UMNPs.