Like you, we often get questions asking if certain closing costs are tax deductible. Since we do not practice tax law, we usually refer the person to a tax adviser for those answers. You should do the same. However, here is a very short and good article by houselogic.com that answers what most clients need.

https://www.houselogic.com/finances-taxes/taxes/are-closing-costs-tax-deductible/