  We explore a class of models which can provide a common origin for the
recently observed evidence for lepton flavor universality violation in $b \to s
l^+ l^- $ decays, the dark matter (DM) problem and the long-standing muon
$(g-2)$ anomaly. In particular, both anomalies in the $B$ meson decays and the
muon $(g-2)$ can be explained by the additional one-loop diagrams with DM
candidates. We first classify several simple models according to the new
fields' quantum numbers. We then focus on a specific promising model and
perform a detailed study of both DM and flavor physics. A random scan over the
relevant parameter space reveals that there is indeed a large parameter space
which can explain the three new physics phenomena simultaneously, while
satisfying all other flavor and DM constraints. Finally, we discuss some of the
possible new physics signatures at the Large Hadron Collider.
