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.
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 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.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…