My local hardware stores have a decent selection of metric hardware, much much better than Home Depot/Lowes.
If they don't have it, McMaster-Carr.
I do a lot of 3d printing, so I buy kits of assorted metric screws off Amazon to use in various projects.