If you have a good kidney, it won't hurt the kidney.
Coffee can promote kidney function and help the body excrete excess sodium ions. So caffeine will be excreted in about two hours under the promotion of diuresis. People who have suffered from acute nephritis can still drink coffee under moderate circumstances as long as their renal function is normal.