What library? Is it a registered 501 (3)c non-profit organization? If not, your donations are not tax deductible. Also, if the value of the donations added to your other itemized deductions do not exceed your standard deductions, claiming them on your tax return will have no benefit.
See Its Deductible under Music: CDs are a $5.00 dpnation to the likes of Goodwill. The same to your public library.
Libraries that are accessible by the general public and are generally funded from public sources, such as taxes are not charities and donations to them would not be deductible.
Donations to the library generally qualify for tax deductions. IRS Publication 526 states that “Money or property given to federal, state, and local governments, if your contribution is solely for public purposes” is deductible . Donations to the library are deductible if the library is a department of a local department, and donations would be for public purposes.
Charitable contributions to governmental units are taxdeductible
under section 170(c)(1) of the Internal Revenue Code if made for a public purpose.