There is unfortunately no single source where you can find a comprehensive collection of all municipal codes. The following is a list of places to check if looking for the codes, ordinances, bylaws, or measures of a specific locality or municipality. Always check any available currency information in the source you're referencing.
The Law Library of Congress also has a research guide on this topic, Municipal Codes: A Beginner's Guide (navigate using the menu on the left); this guide is particularly helpful if you are looking for older or superseded municipal codes, sample codes and guidance, or related secondary sources.