This is a simple, python-based CLI utility that queries vCard files for a certain pattern. It's fairly easy to integrate with e.g. NeoMutt to look for contacts.