The present disclosure provides compositions and methods for treating an infection by human metapneumovirus (hMPV). In particular, the present disclosure provides methods that entail administering agents having an anchoring domain that anchors the compound to the surface of a target cell, and a sialidase domain that can act extracellularly to inhibit infection of a target cell by hMPV.