libmusicbrainz
Products > libmusicbrainz
The MusicBrainz Client Library (libmusicbrainz), also known as mb_client, is a development library geared towards developers who wish to add MusicBrainz lookup capabilities to their applications. The library supports Windows, Linux and Mac OS X, with packages released for the RedHat and Debian distributions.
Version 4.x and greater supports the latest version of the MusicBrainz web service and are not backwards compatible with earlier versions. As of 2011, version 3.x and below have been deprecated.
Version 5.x has been introduced to enable easier inclusion into Debian due to a conflicting package name. There are no changes between 5.0.0 and 4.0.2, with the exception of a new include directory name, and the removal of deprecated functions. However, all future work is likely to be carried out on version 5.x.
If you are looking for a complete, usable program to run, please try out Picard.
Documentation
For details on how to use this library, please take a look at the API documentation.
Download
![]() |
libmusicbrainz-5.0.1.tar.gz (108 KB) (MD5: a0406b94c341c2b52ec0fe98f57cadf3) |
Version 4.x is now deprecated. Please use v5.x for all new development.
![]() |
libmusicbrainz-4.0.3.tar.gz (108 KB) (MD5: 19b43a543d338751e9dc524f6236892b) |
Source code
The source code is available on GitHub and can be downloaded with:
git clone git://github.com/metabrainz/libmusicbrainz.git
License
The MusicBrainz Client Library is licensed under the LGPL (GNU Lesser General Public License).
Language Bindings
note: These bindings mostly don't need libmusicbrainz installed, but are direct bindings for the Web Service.
- Python:
- python-musicbrainz-ngs Python2/3 bindings for Version 2 of the Web Service (NGS)
- PythonMusicBrainz2 Python 2 bindings for the (deprecated) XML based web service Version 1
- Perl: WebService::MusicBrainz bindings for the XML based web service WS/1
- Java: musicbrainzws2-java for WS/2 (NGS)
- Ruby:
- musicbrain-ruby for WS/2 (NGS)
- RBrainz for the (deprecated) XML based web service WS/1
- PHP:
- PHP bindings for WS/2
- phpbrainz PHP bindings for the (deprecated) XML based web service Version 1
- C#/.NET:
- C#/.NET library for the MusicBrainz client library (3.0.1). (calculation of MusicBrainz DiscID is missing (FreeDB ID is supported) - help is appreciated).
- musicbrainz-sharp: Fully managed C#/.NET library for accessing the XML based web service WS/1. (included support for calculation of MusicBrainz DiscIDs)
Other releases are available on the MusicBrainz FTP Server.