WC-KB-Gen is a Python framework for programmatically constructing knowledge bases for whole-cell models. WC-KB-Gen helps modelers retrieve data from external sources, organize this data, and record the provenance of this data. In turn, WC-KB-Gen helps modelers scalably, reproducibly, and comprehensibly discover and aggregate data for whole-cell models.