An implantable scaffold and magnetic probes capture circulating tumor cells directly in the bloodstream, eliminating over 90% of captured cells in rabbits and goats.