I have a class B on my boat as well. It's nice to show other boats where I am but I would invest in radar first. AIS is only good for vessels who send and/or can receive it. It doesn't relieve you of your burden of a proper lookout.
Radar, by contrast, will show you what is out there with or...