Apple Music MCP
Online · sample

A Model Context Protocol server for Apple Music.

Search the Apple Music catalog and read a listener's library from any MCP client - Claude, Cursor, your own agent. Point a client at the endpoint below, or test the search tools right here in the browser.

POST/api/mcp
Tools
6
Transport
HTTP
Storefront
US
Data source
Sample

Running in sample mode with built-in records, so every tool works immediately. Set APPLE_MUSIC_DEVELOPER_TOKEN (and APPLE_MUSIC_USER_TOKEN for library reads) to query the live Apple Music API.

01

Tools

Each tool returns a human-readable summary plus the raw JSON payload.

search_songs(term, limit?, storefront?)

Search the catalog for songs. Returns title, artist, album, release date, and artwork.

search_albums(term, limit?, storefront?)

Search the catalog for albums, with track counts, labels, and release dates.

search_artists(term, limit?, storefront?)

Search the catalog for artists and their primary genres.

search_playlists(term, limit?, storefront?)

Search the catalog for playlists, including editorial and curator names.

search_catalog(term, types[], limit?, storefront?)

Search several resource types at once and get back one grouped result.

get_user_library(type, limit?)

List saved songs, albums, artists, or playlists from the authorized user's library.

02

Connect a client

The server speaks the streamable HTTP transport. Pick your client and copy the config.

Most desktop MCP clients (Claude Desktop, Goose, others) take a remote server via a small launcher that bridges stdio to a streamable HTTP URL. Add this block to the client's MCP config and restart it.

claude_desktop_config.json
{
  "mcpServers": {
    "apple-music": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://your-server.example.com/api/mcp"]
    }
  }
}

The config file lives at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows.

03

Try the search

This runs the same catalog search the search_catalog tool uses.

Run a search to see the exact payload the search_catalog tool returns.