The embodiment is a compact electro-mechanical device to deter pests from accessing bird feeders. The device is placed above or below a bird feeder to deter pests by application of an electrical shock. The deterrent charge is non-injurious, and the physical discomfort ends when the pest departs from the device. Activation of the charge is automatic and immediate when a pest upsets the level rest position of the device, requiring neither human input for activation nor battery-consuming continuous electronic sensing in the device. Activation is omni-directional, protecting the bird feeder from pests approaching from any direction. The device is designed for installation directly between a feeder and its mount, permitting its use on any suspended or pole-mounted bird feeder with no modification to the feeder or to the device.