Get started free
All integrations

Apple Music integration

Apple Music API for accessing the Apple Music catalog and user libraries. Search songs, albums, artists, and playlists. Manage user library, create playlists, access recommendations, and retrieve music metadata and artwork.

28 toolsTokenAPI docs

Common Apple Music use cases

  • Build artist page
  • Build library interface
  • Display top charts
  • Get region details
  • Create new playlist
  • Search user library
  • Display song details
  • Display user library
  • Show recently played
  • Build region selector

What you can do with Apple Music

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Album, 3 operations

  • GETget_artist_albums

    Lists all albums by a specific artist in the Apple Music catalog.

  • GETget_catalog_album

    Retrieves detailed metadata for a specific album in the Apple Music catalog.

  • GETget_multiple_catalog_albums

    Retrieves metadata for multiple albums in a single request.

Library playlist, 3 operations

  • POSTcreate_library_playlist

    Creates a new playlist in the authenticated user's Apple Music library.

  • GETget_library_playlist

    Get a specific playlist from the user's library

  • GETget_user_library_playlists

    Lists playlists in the authenticated user's Apple Music library.

Song, 3 operations

  • GETget_artist_top_songs

    Lists the top songs by a specific artist in the Apple Music catalog.

  • GETget_catalog_song

    Retrieves detailed metadata for a specific song in the Apple Music catalog.

  • GETget_multiple_catalog_songs

    Retrieves metadata for multiple songs in a single request.

Library, 2 operations

  • POSTadd_to_library

    Adds catalog resources to the authenticated user's Apple Music library.

  • GETsearch_library

    Searches the authenticated user's personal Apple Music library.

Storefront, 2 operations

  • GETget_storefront

    Retrieves information about a specific Apple Music storefront.

  • GETlist_storefronts

    Lists all available Apple Music storefronts worldwide.

Album track, 1 operation

  • GETget_album_tracks

    Get the tracks for a specific album from the catalog

Artist, 1 operation

  • GETget_catalog_artist

    Retrieves detailed information for a specific artist in the Apple Music catalog.

Catalog, 1 operation

  • GETsearch_catalog

    Searches the Apple Music catalog for resources matching a search term.

Chart, 1 operation

  • GETget_charts

    Retrieves current chart listings from the Apple Music catalog.

Genre, 1 operation

  • GETget_genres

    Lists all available music genres in a given Apple Music storefront.

Heavy rotation, 1 operation

  • GETget_user_heavy_rotation

    Retrieves the authenticated user's most frequently played content.

Library album, 1 operation

  • GETget_user_library_albums

    Lists albums in the authenticated user's Apple Music library.

Library song, 1 operation

  • GETget_user_library_songs

    Lists songs in the authenticated user's Apple Music library.

Music video, 1 operation

  • GETget_catalog_music_video

    Retrieves detailed information for a specific music video in the Apple Music catalog.

Playlist, 1 operation

  • GETget_catalog_playlist

    Retrieves detailed information for a specific Apple Music catalog playlist.

Recent played, 1 operation

  • GETget_user_recent_played

    Retrieves the authenticated user's recently played music resources.

Recommendation, 1 operation

  • GETget_user_recommendations

    Retrieves personalized music recommendations for the authenticated user.

Station, 1 operation

  • GETget_catalog_station

    Retrieves detailed information for a specific Apple Music radio station.

Tracks to library playlist, 1 operation

  • POSTadd_tracks_to_library_playlist

    Add tracks to a user's library playlist

User storefront, 1 operation

  • GETget_user_storefront

    Get the storefront associated with the authenticated user

Use Apple Music from Claude Code, Cursor or Codex

Connect Apple Music in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Apple Music operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Apple Music

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Apple Music once

    Add your Apple Music connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Apple Music integration FAQ

What can you do with the Apple Music integration?
LiveContext exposes 28 operations on Apple Music, covering album, library playlist, song and library. Common uses include Build artist page, Build library interface and Display top charts.

Popular integrations

Browse the whole catalog