finch which is a console frontend to libpurple, the Pidgin library. This means you get to use any plugins available for Pidgin.
Finch - A Pimpin’ Penguin console frontend to libpurple. Instant Mes‐
finch is a console-based modular messaging client based on libpurple
which is capable of connecting to AIM, MSN, Yahoo!, XMPP, ICQ, IRC,
SILC, Novell GroupWise, Lotus Sametime, Zephyr, Gadu-Gadu, and QQ all
at once. It has many common features found in other clients, as well as
many unique features. Finch is not endorsed by or affiliated with
America Online, ICQ, Microsoft, or Yahoo.
Centericq (and its fork, CenterIM) seems to be another option, one which I personally have no experience with.