"List my Apple Music playlists with track counts."
Apple Music MCP server
Bring your Apple Music playlists into the conversation. Connect through Free Your Music and explore your music with Claude, Cursor, Cline, or Claude Code.
npx -y @freeyourmusic/mcp install --host=claude-desktopWrites to ~/Library/Application Support/Claude/claude_desktop_config.json
Restart Claude Desktop (cmd+Q on macOS). The freeyourmusic tools appear in the integrations sheet.
What to ask on Apple Music
"Add the top 10 results for "moody indie 2024" to a new Apple Music playlist."
"Compare my Apple Music library to my Spotify likes."
"Build a 60-minute focus playlist on Apple Music from ambient artists I like."
"Show me my Apple Music albums released this year."
"Follow Apple Music artists I have at least 3 tracks from."
Capability matrix
Connect Apple Music to your AI in three steps
- Install and open Free Your Music on your desktop.
- Connect your Apple Music account in Free Your Music and keep the app running.
- Install the MCP server for your AI app below, restart the AI app, and ask it to list your Apple Music playlists.
Install your AI host
npx -y @freeyourmusic/mcp install --host=claude-desktopWrites to ~/Library/Application Support/Claude/claude_desktop_config.json
Restart Claude Desktop (cmd+Q on macOS). The freeyourmusic tools appear in the integrations sheet.
Works on these too
Explore the Free Your Music MCP server and tool catalog
Free vs Pro
Read playlists, library, history. 100 searches per day across all services.
Create, rename, delete playlists. Add, remove, reorder tracks. Like, follow artists. Unlimited search.
Apple Music MCP: questions and answers
What is MCP for Apple Music?
MCP stands for Model Context Protocol. It lets an AI assistant call tools that work with your connected accounts. Free Your Music provides a local MCP server for Apple Music, so you can ask about your playlists in natural language and let the assistant retrieve the details.
How do I connect Apple Music to Claude?
Connect your Apple Music account in the Free Your Music desktop app, then install @freeyourmusic/mcp for Claude Desktop or Claude Code. Keep Free Your Music open while using the integration. Start by asking Claude to list your connected services and your Apple Music playlists.
Can I use Apple Music MCP with Cursor or Cline?
Yes. The same music MCP server works with Cursor and Cline. Choose your AI app in the installer above to copy its setup command. Your connected Apple Music account stays in Free Your Music; each AI app needs its own MCP configuration.
What can an AI assistant do with my Apple Music playlists?
Ask your assistant to list Apple Music playlists, inspect a playlist, or retrieve its tracks. Use the results to compare track lists or turn playlist details into a table. Available operations depend on the service capabilities and the account you connect.
You can also search Apple Music for music by artist or title without switching away from your AI assistant.
With Pro, use supported playlist tools to create playlists and add or remove tracks on Apple Music. Ask the assistant to show you its proposed changes before applying them.
Is the Apple Music MCP integration free?
Free Your Music includes a free MCP tier for reading and up to 100 searches per day across services that support search. Pro unlocks supported write operations and unlimited search. Your music service and AI app may have their own subscription requirements.
Is this an official Apple Music MCP server?
Free Your Music develops and provides this integration independently. It connects your Apple Music account through the Free Your Music desktop app. Install the @freeyourmusic/mcp package shown in this guide to use this integration.
Does this MCP server run locally or use a remote URL?
It runs locally using Node.js and communicates with your AI app over stdio. The desktop app must be running on the same computer. Use the install command rather than pasting a hosted MCP server URL. Tool results are returned to your AI app, whose data handling depends on the app and model provider.
Can I connect more than one Apple Music account?
Yes. The assistant can list connected accounts and select the one you want to use. If you have multiple Apple Music accounts connected, specify the account when asking it to read or edit a playlist.
Can Claude create an Apple Music playlist?
With Pro, Claude can search Apple Music, create a playlist, and add selected tracks through Free Your Music. Describe the artists or songs you want, review the matches, and ask it to save your selection to a new playlist.
Step-by-step MCP setup guides
Privacy
The MCP server connects to Free Your Music through a local bridge on your computer. Tool results go to your AI app; how that app processes them depends on its settings and model provider.
Plug in your music.
One command for your AI host. Restart. Done.
npx -y @freeyourmusic/mcp install --host=claude-desktopWrites to ~/Library/Application Support/Claude/claude_desktop_config.json
Restart Claude Desktop (cmd+Q on macOS). The freeyourmusic tools appear in the integrations sheet.