Sintered MgB2 powders constitute a porous ensemble of irregularly shaped agglomerates of tightly packedgrains. The low-field critical current density in such powders was experimentallyobserved to scale with the inverse of the average agglomerate size. Motivated bythis observation we consider a flux pinning model which accounts for theMgB2 powder porosity by focusing on a single finite-size agglomerate size. According to themodel the observed critical current density dependence on the agglomerate sizereflects the outward pull exerted on a vortex that is pinned in proximity to theagglomerate edges. The calculated critical current density replicates the observedscaling within agglomerate-size bounds. Implications of the model are discussed.