libmpd: An MPD client library.

[ library, mit, network, sound ] [ Propose Tags ]

A client library for MPD, the Music Player Daemon.

[Skip to Readme]
Versions [faq] 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0,,,,,, 0.9.0,,,,,,,,,
Change log
Dependencies attoparsec (>=0.10.1 && <1), base (>=4.4 && <5), bytestring (>=0.9 && <1), containers (>=0.5 && <1), data-default-class (>=0.0.1 && <1), filepath (==1.*), mtl (>=2.0 && <3), network (>=2.1 && <3), old-locale (==1.*), text (>=0.11 && <2), time (>=1.1 && <1.9), utf8-string (>=0.3.1 && <1.1) [details]
License MIT
Copyright Ben Sinclair 2005-2009, Joachim Fasting 2007-2015, Daniel Schoepe 2009, Andrzej Rybczak 2010, Simon Hengel 2011-2014, Niklas Haas 2012, Matvey Aksenov 2014, Wieland Hoffmann 2014, Tim Heap 2014, Tobias Brandt 2014
Author Ben Sinclair
Maintainer Joachim Fasting <>
Revised Revision 1 made by HerbertValerioRiedel at Fri May 3 22:54:32 UTC 2019
Category Network, Sound
Home page
Bug tracker
Source repo head: git clone
Uploaded by JoachimFasting at Sat Oct 27 20:19:23 UTC 2018
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:
Downloads 21098 total (629 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-10-27 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for libmpd-

[back to package description]

libmpd-haskell: a client library for MPD


libmpd-haskell is a pure Haskell client library for MPD, the music playing daemon.



With cabal-install, do

cd libmpd-haskell && cabal install


With GHCi:

> :set -XOverloadedStrings
> import Network.MPD
> withMPD $ lsInfo ""
Right [LsDirectory "Tool", LsDirectory "Tom Waits",...]
> withMPD $ add "Tom Waits/Big Time"
Right ["Tom Waits/Big Time/01 - 16 Shells from a Thirty-Ought-Six.mp3",...]

MPD API compliance

Any deviation from the latest version of the MPD protocol reference is a bug.

Submitting bug reports

See our bug tracker. Test cases are highly appreciated.

Submitting patches

To submit a patch, use git format-patch and email the resulting file(s) to one of the developers or upload it to the bug tracker.

Alternatively you can create your own fork of the GitHub repository and send a pull request.

Well-formatted patches are appreciated. New features should have a test case.



libmpd-haskell is distributed under the MIT license.


See CONTRIBUTORS in the source distribution. Feel free to add yourself to this list if you deem it appropriate to do so.