  We derive finite rational formulas for the traces of cycle integrals of
certain meromorphic modular forms. Moreover, we prove the modularity of a
completion of the generating function of such traces. The theoretical framework
for these results is an extension of the Shintani theta lift to meromorphic
modular forms of positive even weight.
