BERLIN — The German government on Thursday banned two clubs linked to an anti-Semitic movement that refuses to recognize the modern German state, with the Interior Ministry ordering raids on the homes of the groups’ leaders in 10 states as part of a crackdown on Germany’s far right.

“We relentlessly continue the fight against right-wing extremism even in times of crisis,” Horst Seehofer, Germany’s interior minister, said in a statement. “We are dealing with an association that distributes racist and anti-Semitic writings and thus systematically poisons our liberal society,” Mr. Seehofer added.

After years of focusing on threats from Islamist extremists, the German authorities have started to train their resources on combating homegrown far-right extremists. There have been three major attacks in the last nine months, including the killing of a politician, a failed attack on a synagogue and the killing in February of nine Germans with immigrant backgrounds, all three of which were carried out by far-right extremists.

“Far-right terror is the biggest threat to our democracy right now,” Christine Lambrecht, the country’s justice minister, said after the February attacks. On Thursday, she said the decision to ban the clubs brought the fight against far-right extremism and racism to the “highest political level.”