The cost basis of a home includes only capital improvements. Ordinary expenses, such as utility costs and property taxes, do not increase basis.
If your provisional income exceeds a base amount, part of your Social Security benefits may be subject to tax.