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.
To identify books, both in print and electronically, found in the Law Library, conduct an advanced catalog search with Subject is (exact) Local government -- Law and legislation -- United States.
The following periodicals have a primary focus on municipal law practice.