The tax, designed to offset the cost of gun violence, was approved by the City Council last month and takes effect in January. It adds $25 to the price of each firearm sold in the city, plus 2 or 5 cents per round of ammunition. The revenue would be used for gun safety research and violence prevention.