Police located several guns, a stockpile of ammunition and a shopping list for bomb materials in the home of a Western Australian man arrested after pledging support for the Bondi attackers, a court has heard.

Martin Glynn, 39, appeared in a Perth court on Wednesday charged with racial harassment, possessing a prohibited weapon and failing to store firearms correctly.

Prosecutors allege flags of Hamas and Hezbollah, both declared terrorist groups by Australia, were located during a police raid sparked by a tip-off from the public.

In a statement, Prime Minister Anthony Albanese said "there is no place in Australia for antisemitism, hate and violent ideologies".

The court heard that Mr Glynn posted on Instagram just hours after two gunmen killed 15 people in a targeted attack on a Hanukkah event at Sydney's Bondi Beach on 14 December to endorse their actions.