Those would be considered closing costs. They are not considered tax deductible, but will increase your cost basis which may benefit you in the event of a sale.
Just a reminder you are able to deduct the following:
- Mortgage interest paid
- Points (Loan origination fees)
- Real estate taxes (property tax)
- Mortgage insurance