BERLIN — A far-right German political party is calling on students and their families to report teachers who air their political views in school, leading to charges that the party has revived the methods of the dreaded East German state police.

A website run by the Alternative for Germany party, also known as the AfD, urges students and parents to send information about teachers violating the country’s neutrality code, which forbids them from promoting their political views in classrooms. The party suggested that offenses could range from “crude criticism of the AfD to incorrect and subjective learning materials,” to outright calls to take part in anti-AfD protests.

Katarina Barley, the country’s justice minister, joined teachers’ organizations on Thursday in decrying the measure as an attempt by the AfD to limit democracy in the classroom and intimidate teachers, citing parallels between the party’s efforts and those of the Stasi, the secret police in the former East Germany, who turned millions of citizens into informers on their neighbors, teachers, friends, co-workers and even family members.

“Anyone who incites students to spy on their teachers brings Stasi methods back to Germany,” she wrote on Twitter. “Organized denunciation intends to set us against each other and drive a wedge into society.”