Officers from Halifax Neighbourhood Policing Team seized the weapons after tackling an "emerging mob".
Halifax's MP Holly Lynch has praised officers's work on social media.
"Some outstanding work from Halifax Neighbourhood Policing Team this evening, getting these dangerous weapons off our streets. Well done to all involved."
Anyone with concerns about crime in their area can contact West Yorkshire Police by calling 101 or via the 101LiveChat function on the force's website.
Information can also be passed on anonymously via Crimestoppers on 0800 555111.