$npx skillfedfor your agent

python-mpd2

A Python MPD client library

Worth itPyPI Python ModulesReleased Jan 2024120.9K downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_mpd2-3.1.1-py2.py3-none-any.whl
v3.1.1 · released 2024-01-13 · Python >=3.6

Yes. This is a mature, actively maintained library with zero dependencies, a permissive copyleft license, and no known vulnerabilities. Install it if you need to control MPD from Python—whether for a simple script, web service, or async application. The only prerequisite is having an MPD server running; the library itself is straightforward to integrate.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later and a running Music Player Daemon server to connect to.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Actively maintained with recent commits; last release was 2024-01-13 and repository shows ongoing development.

License · maintenance · safety

copyleft license (copyleft) — LGPLv3 copyleft license: you may use this library freely in proprietary software, but any modifications to the library itself must be released under the same license.

last release 2024-01-13 (944 days) · last repo commit 2026-08-08 · 368 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 120,946 downloads/mo, #12,002 on PyPI

Verify before relying

pip install python-mpd2

import python_mpd2
client = python_mpd2.MPDClient()
client.connect('localhost')
status = client.status()
client.close()
  • Whether asyncio/twisted support is production-ready or still experimental.
  • Performance characteristics when controlling large playlists or music libraries.
  • Compatibility matrix with specific MPD server versions.
  • Default port and connection parameters for MPD server connections.
Same gist for agents: .md · .json

What it is and what it does

python-mpd2 is a Python client library for Music Player Daemon (MPD), a lightweight music server. It lets you control MPD playback, manage playlists, and query server state from Python code. The library supports both synchronous blocking calls and asynchronous patterns via asyncio or twisted, making it suitable for simple scripts, web applications, and event-driven systems.

The package started as a fork of python-mpd and has evolved to support Python 3.6+, client-to-client protocol messaging, and newer MPD commands including seekcur, prio, config, mount, and others. It includes explicit command declarations for IDE autocomplete, configurable connection timeouts, logging support, and improved Unicode handling. With zero runtime dependencies and a pure-Python wheel, it installs quickly and runs anywhere Python 3.6+ is available.

Use it for

  • Build a web dashboard or REST API to control MPD playback and queue from a browser.
  • Write a command-line tool to automate playlist management and music library operations.
  • Create a home automation script that integrates MPD with other services via asyncio.
  • Develop a music client application with custom UI that talks to a remote MPD server.
  • Monitor and log MPD server state and playback events for analytics or debugging.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a mature, actively maintained library with zero dependencies, a permissive copyleft license, and no known vulnerabilities. Install it if you need to control MPD from Python—whether for a simple script, web service, or async application. The only prerequisite is having an MPD server running; the library itself is straightforward to integrate.

Install

python-mpd2 on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Actively maintained with recent commits; last release was 2024-01-13 and repository shows ongoing development.

Requires Python 3.6 or later and a running Music Player Daemon server to connect to.

License in practice

LGPLv3 copyleft license: you may use this library freely in proprietary software, but any modifications to the library itself must be released under the same license.

Quickstart

pip install python-mpd2

import python_mpd2
client = python_mpd2.MPDClient()
client.connect('localhost')
status = client.status()
client.close()

Verify before relying

  • Whether asyncio/twisted support is production-ready or still experimental.
  • Performance characteristics when controlling large playlists or music libraries.
  • Compatibility matrix with specific MPD server versions.
  • Default port and connection parameters for MPD server connections.

Package facts

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 944 days since the last release
Last repo commit
First released
Downloads120,946 / month, #12,002 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Natural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules

Evidence: python_mpd2-3.1.1-py2.py3-none-any.whl

Tags

Capabilities
mpd client library pythonmusic player daemon clientasyncio mpd controlpython mpd interfacetwisted mpd support
Topics
music-serverasyncio-ready
PyPI keywords
mpd

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mpd client library python”

  • python-mpd2Provides a Python client library to communicate with Music Player…
  • paypalhttpPayPalHttp is a generic HTTP client library designed to work with…
  • twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also music-assistant-client · spotifywebapipython · Twisted · pyforked-daapd · aioslimproto · pypd · pysqueezebox · soco · pykaleidescape · pyftpdlib