Basic information
About Apple Music MCP Server
Control Apple Music on macOS using Python and the Apple Music API: manage playback, search the library, and create playlists programmatically.
Apple Music is a MCP server in the Other category listed in the AddMCP.net directory, published by kennethreitz. It exposes 10 tools, including itunes_play, itunes_pause, itunes_next, itunes_previous and more. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 88 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools, other.
Setup
{
"mcpServers": {
"iTunesControlServer": {
"command": "uvx",
"args": [
"-n",
"mcp-applemusic"
]
}
}
}
{
"mcpServers": {
"iTunesControlServer": {
"command": "uvx",
"args": [
"-n",
"mcp-applemusic"
]
}
}
}
{
"servers": {
"iTunesControlServer": {
"command": "uvx",
"args": [
"-n",
"mcp-applemusic"
]
}
}
}
Apple Music MCP Server — by kennethreitz config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"iTunesControlServer": {
"command": "uvx",
"args": [
"-n",
"mcp-applemusic"
]
}
}
}
Apple Music MCP Server — by kennethreitz tools
- itunes_play — Start playback in Music (iTunes).
- itunes_pause — Pause playback in Music (iTunes).
- itunes_next — Skip to the next track.
- itunes_previous — Return to the previous track.
- itunes_search — Search the Music library for tracks whose names contain the given query. Returns a list of tracks formatted as "Track Name - Artist".
- itunes_play_song — Play the first track whose name exactly matches the given song name. Returns a confirmation message.
- itunes_create_playlist — Create a new playlist with the given name and add tracks to it. 'songs' should be a comma-separated list of exact track names. Returns a confirmation message including the number of tracks added.
- itunes_library — Return a summary of the Music library, including total tracks and user playlists.
- itunes_current_song — Get information about the currently playing track. Returns the track name, artist, and album.
- itunes_all_songs — Get a list of all songs in the Music library. Returns a formatted list of all tracks with their names and artists.
Overview
What is Apple Music?
MCP-AppleMusic is a FastMCP server that controls Apple Music (formerly iTunes) on macOS through AppleScript commands. It enables AI assistants and other MCP clients to search, play, and manage the user’s Apple Music library.
How to use Apple Music?
Install uv via Homebrew, then add the server to your Claude Desktop configuration using uvx with Python 3.13. Start the server by running python server.py after installation. Use MCP tools like itunes_play(), itunes_search(), and itunes_create_playlist() to control playback and library.
Key features of Apple Music
- Start, pause, skip, and go to previous track
- Search library for tracks by query
- Play a specific song by name
- Create new playlists from a list of songs
- Get library statistics (counts, metadata)
- macOS-only; requires Apple Music app
Use cases of Apple Music
- Ask an AI assistant to play a song or artist from your library
- Create a curated playlist on the fly while working
- Automate playback during presentations or timed workflows
- Retrieve library info without opening the Apple Music app
Frequently asked questions
1 What are the system requirements?
Python 3.13 or later, an MCP library ≥1.2.1, and a macOS system with the Apple Music app installed.
2 Does this work on Windows or Linux?
No. The server relies on macOS‑specific AppleScript and will not function on other operating systems.
3 How do I install MCP-AppleMusic with Claude Desktop?
Add the server to claude_desktop_config.json using the command uvx -p 3.13 -n mcp-applemusic and restart Claude.
4 What commands are available?
Playback: itunes_play, itunes_pause, itunes_next, itunes_previous. Search and library: itunes_search, itunes_library. Playlist: itunes_create_playlist, and itunes_play_song to play a specific track.
5 Can I use it with other MCP clients?
Yes. Since it is a standard MCP server, it can be integrated with any client that supports the Model Context Protocol.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In