Neither the Capital One pre-qualifying tool nor the CardMatch tool will hurt your credit score.
Although you do have to provide a partial or full Social Security number when completing the forms, neither does a hard credit pull on your credit report, so your credit score is not affected.
Both are helpful tools for a no-risk look to see if you have any targeted credit card offers.