A parrot in Brazil was taken into custody for warning his drug-dealing owner that cops were about to launch a raid — squawking, “Mummy, police!”

The green-feathered watchdog began screeching loudly the moment officers showed up at his home in the eastern city of Teresina, the UK Independent reported.

“He must have been trained for that,” a police officer involved in the operation told the paper. “As soon as police got close, he began shouting.”

The loyal loudmouth, whose name was not reported, was seized by cops and placed in a chicken wire cage at a local police station.

But the bird is refusing to sing like a canary.

“So far it hasn’t made a sound,” a local journalist reported, according to a paper.