3rd Party MQTT libraries

Wait! Have you checked out the official Xively library?

For most embedded projects, we recommend that you use our highly flexible Xively Embedded C library, which is portable and built to work with Xively APIs for POSIX and real-time operating systems.

Check it out:

3rd party libraries

For server-side MQTT communication (or if you'd just prefer to use a language you are familiar with), any MQTT library will work against the Xively broker. Here are a few clients we recommend in some popular languages:



Create real-time visualizations, interactive websites and GUIs in-browser that connect directly to Xively feeds. We recommend either the JavaScript library from PAHO, or mqtt.js (which facilitates websocket connections for browsers, and native for backends).


Create web app back-ends with Django, tackle research and scientific applications with tool kits like NumPy and Matplotlib, and connect Linux systems to Xively from supercomputers down to the Raspberry Pi and BeagleBone.


A ruby bunding against libMosquitto, which we recommend as the easiest way to get set up in a Ruby environment.


A Clojure Codec for MQTT. Provides a netty encoder and decoder for the MQTT protocol.

3rd Party MQTT libraries