music-assistant-client
Music Assistant Client
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. Install it if you need to programmatically control a Music Assistant Server instance from Python—particularly for automation, dashboards, or multi-player coordination. Ensure your Music Assistant Server is running and you have a valid authentication token before connecting.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12+; Music Assistant Server instance must be running and accessible at the specified URL; authentication token required for server schema version 28 and above.
- Low install friction with only three runtime dependencies (aiohttp, music_assistant_models, orjson).
- Actively maintained with a recent release; requires Python 3.12 or later.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers.
last release 2026-08-12 (2 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 207,526 downloads/mo, #9,548 on PyPI
Alternatives
Verify before relying
pip install music-assistant-client
from music_assistant_client import login_with_token, MusicAssistantClient
import asyncio
async def main():
user, token = await login_with_token(
"http://localhost:8095",
"username",
"password"
)
async with MusicAssistantClient("http://localhost:8095", None, token=token) as client:
await client.start_listening()
asyncio.run(main())- Whether the client supports all Music Assistant Server versions or only recent ones beyond schema 28.
- Performance characteristics when handling large music libraries or high-frequency event subscriptions.
- Whether SSL context customization works with all certificate types mentioned in the documentation.
What it is and what it does
Music Assistant Client is an async Python library that acts as a remote control for Music Assistant Server, a music management and playback system. It provides authenticated connections to the server's REST API, allowing you to browse music libraries, search for tracks and artists, control playback on multiple players, manage queues, and subscribe to real-time server events. The library handles authentication via long-lived tokens (recommended for production) or temporary access tokens, with automatic schema version detection for backward compatibility with older servers that don't require authentication.
The client is built on aiohttp for async HTTP communication and uses orjson for efficient JSON parsing. It exposes controllers for authentication management, music library operations, player control, queue management, and server configuration. It supports both HTTP and HTTPS connections, including custom SSL contexts for self-signed certificates. The library is actively maintained and targets modern Python versions (3.12+), making it suitable for building music control applications, home automation integrations, or remote management tools.
Use it for
- Build a custom web dashboard or mobile app to browse and control music playback on your Music Assistant Server instance.
- Integrate Music Assistant into home automation workflows to play specific playlists or artists on demand.
- Create a command-line tool to remotely manage music libraries, search for tracks, and queue songs across multiple players.
- Subscribe to server events to trigger actions when playback starts, stops, or changes (e.g., logging, notifications).
- Develop a multi-room audio controller that manages playback synchronization across several players in different zones.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. Install it if you need to programmatically control a Music Assistant Server instance from Python—particularly for automation, dashboards, or multi-player coordination. Ensure your Music Assistant Server is running and you have a valid authentication token before connecting.
Install
music-assistant-client on PyPI
Before you install
Low install friction with only three runtime dependencies (aiohttp, music_assistant_models, orjson). Actively maintained with a recent release; requires Python 3.12 or later.
Requires Python 3.12+; Music Assistant Server instance must be running and accessible at the specified URL; authentication token required for server schema version 28 and above.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install music-assistant-client
from music_assistant_client import login_with_token, MusicAssistantClient
import asyncio
async def main():
user, token = await login_with_token(
"http://localhost:8095",
"username",
"password"
)
async with MusicAssistantClient("http://localhost:8095", None, token=token) as client:
await client.start_listening()
asyncio.run(main())
Verify before relying
- Whether the client supports all Music Assistant Server versions or only recent ones beyond schema 28.
- Performance characteristics when handling large music libraries or high-frequency event subscriptions.
- Whether SSL context customization works with all certificate types mentioned in the documentation.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesaiohttpmusic_assistant_modelsorjson |
| Maintenance | Actively maintained 2 days since the last release |
| First released | |
| Downloads | 207,526 / month, #9,548 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: ConsoleProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: music_assistant_client-1.5.0-py3-none-any.whl
Tags
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 › “async music player control”
- music-assistant-clientPython async client library for connecting to and controlling Music…
- aioslimprotoAsync Python implementation of the SLIMProto protocol for controlling…
- python-mpd2Provides a Python client library to communicate with Music Player…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also jellyfin-apiclient-python · music-assistant-models · pyforked-daapd · python-mpd2 · ytmusicapi · pylast · music-assistant-frontend · python-irodsclient · aioslimproto · spotifywebapipython