The Germans used it in a role it was not designed for > ground attack.
The West German Luftwaffe received a total of 915 Starfighters (30 F-104Fs, 96 F-104Gs, and 136 TF-104Gs from Lockheed, 255 F/RF-104Gs from the North Group, 210 F-104Gs from the South Group, 88 F-104Gs from the West Group, 50 F/RF-104Gs from the Italian Group, plus 50 replacement F-104Gs from MBB to replace some of those lost in crashes).
During its period of service with the German armed forces, about 270 German Starfighters were lost in accidents, just under 30 percent of the total force. About 110 pilots were killed. However, the attrition rate in German service was not all that much greater than that of the F-104 in service with several other air forces, including the United States Air Force. Canada had the unenviable record of losing over 50 percent of its 200 single-seat CF-104s in flying accidents. The loss rate of Luftwaffe Starfighters was not all that extraordinary, since the Luftwaffe had suffered a 36 percent attrition rate with the Republic F-84F Thunderstreak, the Starfighter's immediate predecessor. There was nothing intrinsically dangerous about the Starfighter, since the Royal Norwegian Air Force operating identical F-104Gs suffered only six losses in 56,000 flying hours, and the Spanish Air Force lost not a single one of its Starfighters to accidents.