libmpd: An MPD client library.

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

A client library for MPD, the Music Player Daemon.

[Skip to Readme]
Versions [RSS] [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.11 && <5), bytestring (>=0.9 && <1), containers (>=0.3 && <1), data-default-class (>=0.0.1 && <1), filepath (==1.*), mtl (>=2.2.2 && <3), network (>=, safe-exceptions (==0.1.*), text (>=0.11 && <2), time (>=1.5 && <2), 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 <>
Category Network, Sound
Home page
Bug tracker
Source repo head: git clone
Uploaded by psibi at 2021-01-25T15:50:38Z
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 36028 total (358 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-01-25 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


Readme for libmpd-

[back to package description]

libmpd-haskell: a client library for MPD

Hackage Build Status


libmpd-haskell is a pure Haskell client library for MPD, the music playing daemon. Requires MPD version 0.19 or later.



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.

See also

  • vimus, an MPD client with vim-like keybindings



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.