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.
Say what should happen.
The workflow builds itself.
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
get_artist_albumsGet artist albumsGETLists all albums by a specific artist in the Apple Music catalog.get_catalog_albumGet catalog albumGETRetrieves detailed metadata for a specific album in the Apple Music catalog.get_multiple_catalog_albumsGet multiple catalog albumsGETRetrieves metadata for multiple albums in a single request.
Library playlist, 3 operations
create_library_playlistCreate library playlistPOSTCreates a new playlist in the authenticated user's Apple Music library.get_library_playlistGet library playlistGETGet a specific playlist from the user's libraryget_user_library_playlistsGet user library playlistsGETLists playlists in the authenticated user's Apple Music library.
Song, 3 operations
get_artist_top_songsGet artist top songsGETLists the top songs by a specific artist in the Apple Music catalog.get_catalog_songGet catalog songGETRetrieves detailed metadata for a specific song in the Apple Music catalog.get_multiple_catalog_songsGet multiple catalog songsGETRetrieves metadata for multiple songs in a single request.
Library, 2 operations
add_to_libraryAdd to libraryPOSTAdds catalog resources to the authenticated user's Apple Music library.search_librarySearch libraryGETSearches the authenticated user's personal Apple Music library.
Storefront, 2 operations
get_storefrontGet storefrontGETRetrieves information about a specific Apple Music storefront.list_storefrontsList storefrontsGETLists all available Apple Music storefronts worldwide.
Album track, 1 operation
get_album_tracksGet album tracksGETGet the tracks for a specific album from the catalog
Artist, 1 operation
get_catalog_artistGet catalog artistGETRetrieves detailed information for a specific artist in the Apple Music catalog.
Catalog, 1 operation
search_catalogSearch catalogGETSearches the Apple Music catalog for resources matching a search term.
Chart, 1 operation
get_chartsGet chartsGETRetrieves current chart listings from the Apple Music catalog.
Genre, 1 operation
get_genresGet genresGETLists all available music genres in a given Apple Music storefront.
Heavy rotation, 1 operation
get_user_heavy_rotationGet user heavy rotationGETRetrieves the authenticated user's most frequently played content.
Library album, 1 operation
get_user_library_albumsGet user library albumsGETLists albums in the authenticated user's Apple Music library.
Library song, 1 operation
get_user_library_songsGet user library songsGETLists songs in the authenticated user's Apple Music library.
Music video, 1 operation
get_catalog_music_videoGet catalog music videoGETRetrieves detailed information for a specific music video in the Apple Music catalog.
Playlist, 1 operation
get_catalog_playlistGet catalog playlistGETRetrieves detailed information for a specific Apple Music catalog playlist.
Recent played, 1 operation
get_user_recent_playedGet user recent playedGETRetrieves the authenticated user's recently played music resources.
Recommendation, 1 operation
get_user_recommendationsGet user recommendationsGETRetrieves personalized music recommendations for the authenticated user.
Station, 1 operation
get_catalog_stationGet catalog stationGETRetrieves detailed information for a specific Apple Music radio station.
Tracks to library playlist, 1 operation
add_tracks_to_library_playlistAdd tracks to library playlistPOSTAdd tracks to a user's library playlist
User storefront, 1 operation
get_user_storefrontGet user storefrontGETGet 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 mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Apple Music
- Create your workspace
Sign up free. Nothing to install.
- 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.
- 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.
