A post from Elon Musk on his platform X claiming that only the far-right AfD party can "save Germany" sparked accusations Friday that he was seeking to interfere in the country's upcoming election.

The billionaire, set to play a key role in US President-elect Donald Trump's administration as "efficiency czar", posted the message over a video commentary about the leader of Germany's centre-right CDU party Friedrich Merz.

The video criticised Merz -- who polls say is on course to become the next chancellor after February elections -- for his refusal to work with the anti-immigration Alternative for Germany (AfD), currently polling in second place.

Following a deadly car-ramming attack on a Christmas market late Friday in the eastern city of Magdeburg -- blamed on a Saudi man -- Musk called the assault a "DIRECT RESULT of mass unchecked immigration".

The German government has avoided strong comment, but lawmakers from across mainstream parties, which have all ruled out cooperating with the AfD, reacted with outrage to Musk's comment about the party.

He doubled down later in the day, saying AfD is "Obviously NOT 'far-right'! Just common sense policies."

Dennis Radtke, an MEP for the centre-right CDU, spoke out forcefully.

"It is threatening, irritating and unacceptable for a key figure in the future US government to interfere in the German election campaign," he told the Handelsblatt daily.

Germans are set to go to the polls on February 23 after the collapse of Chancellor Olaf Scholz's coalition last month in a row over the budget.

Radtke called Musk a "threat to democracy in the Western world", accusing the world's richest man of turning X, previously called Twitter, into a "disinformation slingshot".

Alex Schaefer, a lawmaker from Scholz's centre-left Social Democrats, said Musk's post was "completely unacceptable".

"We are very close to the Americans, but now bravery is required towards our friend. We object to interference in our election campaign," Schaefer told the Tagesspiegel daily.

Former finance minister Christian Lindner, from the pro-business FDP party, said that some of Musk's ideas had "inspired" him but urged the Tesla boss not to "rush to conclusions from afar".

"While migration control is crucial for Germany, the AfD stands against freedom, business -- and it's a far-right extremist party," tweeted the politician, whose fallout with Scholz triggered the coalition's implosion.

Scholz himself was restrained when asked about Musk's comments, noting: "We have freedom of expression, which also applies to multi-billionaires".

He added that this "means that you can say things that are not right and do not contain good political advice".

Musk meddling concerns

For its part, the AfD warmly welcomed Musk's praise, with co-leader Alice Weidel thanking him in a video message and saying her party was "the one and only alternative for our country". 

At a regular press conference in Berlin, a government spokesman avoided commenting directly on Musk's post, reiterating Scholz's point that Germany respects freedom of expression.

But she added the government was worried about "how X has developed in recent years, especially since Elon Musk took over".

Despite such concerns, the government had decided not to close its accounts on the platform as it remained an important channel for reaching out to people, she said.

It is not the first time Musk has weighed in on German politics.

Last month he tweeted in German that "Olaf is a fool" after the collapse of Scholz's government -- with the chancellor responding that the comments were "not very friendly".

And last year, Musk said Berlin-funded migrant rescue operations in the Mediterranean could be seen as an "invasion" of Italy.

Tesla has a factory outside Berlin, and Musk visited Germany ahead of the last national elections in 2021, meeting with Armin Laschet, who was then the candidate for the CDU/CSU bloc to become chancellor.

Laschet went on to lead the conservatives to their worst-ever results at the polls.

There have also been concerns in Britain that Musk is taking a close interest in the country's political scene, appearing to cosy up to hard-right firebrand lawmaker Nigel Farage.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.