Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect Spotify to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/spotify.md
Music (Global)

How to connect Spotify to AI agents

TL;DR

The short answer
VerdictOfficial, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review
MethodOfficial MCP (remote) / Official API (Web API)
PricingFree (no fee for the Web API or the official MCP server. Development Mode with your own app requires the app owner to hold Premium)

Spotify has an official remote MCP server and official connectors (Claude, ChatGPT, Gemini) covering search, library, playlist creation and playback control. The Web API is also officially available, but the February 2026 changes tightened Development Mode, so connecting through your own app means the owner's Premium subscription and a cap of five users.

AuthenticationOAuth 2.0 (Authorization Code / PKCE / Client Credentials)
Checked by the operator2026.12.05
How the operator checkedConnected with a real client

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverYes

Hosting: Remote

Spotify's official remote MCP server (https://mcp-gateway-external-pilot.spotify.net/mcp). It has official listings in the Claude, ChatGPT and Gemini directories. Directory descriptions put it at about 30 tools, including search, track retrieval, currently playing, playlist creation, and adding to or removing from the library (the tool list below is an excerpt).

https://mcp-gateway-external-pilot.spotify.net/mcp

Official guide for AI agentsUnverified

We could not confirm whether the Spotify for Developers documentation offers llms.txt or a dedicated guide for AI agents. The documentation itself is collected at developer.spotify.com.

Tools of the official MCP server

ToolTypeWhat it does
searchReadSearch the catalog
fetch_tracksReadFetch track information
get_currently_playingReadGet the currently playing item
create_playlistWriteCreate a playlist
add_to_libraryWriteAdd to the library
Remove_from_libraryWriteRemove from the library

Connectors

Official connectors from AI services

  • Claude

    Spotify's official connector is listed in Claude's connector directory, covering search, library, playlist creation and additions, and playback control. In hands-on testing we connected through Muse's official connector and confirmed search and library (playlist list) retrieval (2026-12-05). However, it cannot delete playlists, remove tracks or reorder them, and it has no scopes for your own Top Items or Recently Played (all confirmed in hands-on testing through Muse's official connector).

  • ChatGPT

    ChatGPT's app directory has an official Spotify app (listing created 2026-06-04). It connects to the official MCP server and offers search and playlist creation.

  • Gemini

    Spotify also has an official listing among Gemini's integrations. It can also be connected by adding the official MCP server as a custom app.

Not supported: Microsoft Copilot

Third-party integration services

  • Zapier

    A Spotify app with 5 triggers (played tracks, saved tracks, new podcast episodes, etc.), 12 actions and 5 searches. Playlist creation and adding tracks are available. An action to fetch audio features exists, but may not work for new apps due to API-side restrictions. The same actions can also be called from AI agents through Zapier MCP.

  • Make

    A Spotify app with triggers that watch an artist's new albums, tracks added to a playlist, recently played tracks and saved tracks.

  • n8n

    An official Spotify node covers search, playlists and playback control from workflows.

  • Power Automate

    There is no official Spotify connector, but an independent publisher's Spotify connector (Premium class) offers your top artists, new releases, profile and saved albums. It is read-focused and has no triggers.

  • IFTTT

    IFTTT has a Spotify service: recently played tracks and tracks added to a playlist can trigger actions such as adding a track or starting playback.

  • Pipedream

    A Spotify app with triggers for new playlists and playlist tracks, and actions such as playlist creation. An action to fetch audio features exists, but may not work for new apps due to API-side restrictions.

  • Composio

    Composio has a Spotify toolkit; search, library and playlist operations can be called through MCP (Tool Router).

Unverified: Yoom

Unofficial MCP servers

Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.

  • joguiabreu/mcp-spotify

    An unofficial MCP server built on the Web API (mcp-spotify on PyPI). Search, playlist creation, queue management and playback control. Requires your own developer app and a Premium account

Security assessment

For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.

Official MCPOfficial MCP serverThe service provider
Permissions requiredRead and write

Search and catalog retrieval, reading and writing the library and playlists, and currently-playing information. Scopes can be reviewed at authorization time

Terms of serviceNo issues

An official MCP server provided by Spotify itself, presented as an authorized connection route

Source: relevant section of the terms

Data pathRuns on Spotify's servers, and retrieved data is also passed to the connected AI service. Authentication is OAuth; the AI never sees your password
Official connectorClaudeThe service provider
Permissions requiredRead and write

Search, reading and creating libraries and playlists, adding tracks, and playback control. Playlist deletion, Top Items and Recently Played are not included

Terms of serviceNo issues

An official connector provided by Spotify itself, an authorized connection route

Source: relevant section of the terms

Data pathGoes through Spotify's servers, and retrieved data is also passed to the connected AI service. Authentication is OAuth; the AI never sees your password
Official connectorChatGPTThe service provider
Permissions requiredRead and write

Search, track retrieval, currently playing, playlist creation, and adding to or removing from the library

Terms of serviceNo issues

An official app provided by Spotify itself, an authorized connection route

Source: relevant section of the terms

Data pathGoes through Spotify's servers. Authentication is OAuth
Official connectorGeminiThe service provider
Permissions requiredRead and write

Search and catalog reference, among others (the exact coverage depends on Gemini's implementation)

Terms of serviceNo issues

An official integration provided by Spotify itself, an authorized connection route

Source: relevant section of the terms

Data pathGoes through Spotify's servers. Authentication is OAuth
Third-party integrationZapierOfficial from the integration service
Permissions requiredRead and write

OAuth connection. Reading and writing the library and playlists, and fetching playback information

Terms of serviceNo issues

A regular integration using the official API over OAuth

Source: relevant section of the terms

Data pathGoes through Zapier's servers; credentials are held by Zapier
Third-party integrationMakeOfficial from the integration service
Permissions requiredRead and write

OAuth connection. Reading and writing the library and playlists

Terms of serviceNo issues

A regular integration using the official API over OAuth

Source: relevant section of the terms

Data pathGoes through Make's servers
Third-party integrationn8nOfficial from the integration service
Permissions requiredRead and write

Uses credentials from your own developer app. Development Mode limits apply

Terms of serviceNo issues

No issue as long as the official API is used

Source: relevant section of the terms

Data pathWith self-hosting, your own server connects directly to Spotify's API. On n8n Cloud it goes through n8n's servers
Third-party integrationPower AutomateThird party (unofficial)
Permissions requiredRead only

OAuth connection. Reads your own information such as top artists and saved albums

Terms of serviceNo issues

An independent publisher's connector built on the official API

Source: relevant section of the terms

Data pathGoes through Microsoft's servers
Third-party integrationIFTTTOfficial from the integration service
Permissions requiredRead and write

OAuth connection. Adding to playlists and playback control (Premium required)

Terms of serviceNo issues

A regular integration using the official API

Source: relevant section of the terms

Data pathGoes through IFTTT's servers
Third-party integrationPipedreamOfficial from the integration service
Permissions requiredRead and write

OAuth connection. Reading and writing the library and playlists

Terms of serviceNo issues

A regular integration using the official API over OAuth

Source: relevant section of the terms

Data pathGoes through Pipedream's servers
Third-party integrationComposioOfficial from the integration service
Permissions requiredRead and write

OAuth connection. Reading and writing the library and playlists

Terms of serviceConditional

A regular integration using the official API over OAuth. Note, however, that setups feeding retrieved data to an LLM must mind the developer policy's AI clause

Source: relevant section of the terms

Data pathGoes through Composio's servers; credentials are held by Composio
Unofficial MCPjoguiabreu/mcp-spotifyThird party (unofficial)
Permissions requiredRead and write

Uses credentials from your own developer app and the scopes the user authorized

Terms of serviceConditional

Built on the official API, but the developer policy prohibits ingesting Spotify content into an AI model at all, so a setup that passes data to an LLM through MCP risks falling under the clause. Development Mode limits (owner Premium, up to 5 users) also still apply

Source: relevant section of the terms

Data pathRuns locally and connects directly to the Spotify Web API. Retrieved content is passed to the AI service using the MCP server

Data you can fetch within the terms of service

The catalog (tracks, albums, artists, playlists) and an authorized user's library, playlists and playback state can be read and operated through the official MCP server and Web API. Some recommendation-related endpoints are restricted for new apps.

ScrapingProhibited

The Developer Terms and Developer Policy apply. The Developer Policy prohibits not only training machine learning or AI models on Spotify content, but also ingesting Spotify Content into an AI model at all. The official MCP server and official connectors are routes Spotify sanctions, but a setup that fetches content through your own developer app and feeds it to an external LLM risks falling under this clause. The Terms of Use also do not permit automated access without permission.

Source: relevant section of the terms of service

Fetching with the agent's own browserConditional

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

For data the official route does not cover:

Automation under the termsProhibited
Bot detection / CAPTCHAYour own data, such as your library and listening history, requires login. There are also protections against automated access

You do not need browser automation: the official MCP server, official connectors and the Web API cover search, library, playlists and playback control. In hands-on testing we confirmed search and library retrieval through the official connector (2026-12-05)

Source: relevant section of the terms of service

Usage

How to connect

  1. いちばん手軽なのは公式 MCP・公式コネクタ。Claude や ChatGPT のディレクトリで Spotify を接続し、OAuth でサインインする(開発者アプリは不要)
  2. 自分のアプリから Web API を使う場合は developer.spotify.com でアプリを作成する。Development Mode では所有者の Premium が必須で、認可ユーザーは5人まで(許可リスト登録が必要)
  3. 公開カタログの読み取りだけなら Client Credentials、ユーザーのライブラリなど個人データの読み取りや再生操作には Authorization Code(PKCE 可)で、必要なスコープだけを申請する
  4. エージェントからは公式 MCP サーバー(リモート)を登録するか、Web API の REST エンドポイントを直接呼ぶ。MCP 形式のローカル実行には非公式サーバーもある
  5. Extended Quota Mode は組織・大規模サービス向けの審査制。個人利用は Development Mode の制限内で設計する

Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

Claude Code(公式 MCP サーバー)
claude mcp add --transport http spotify https://mcp-gateway-external-pilot.spotify.net/mcp

Spotify 公式のリモート MCP サーバーを登録する。初回利用時にブラウザで Spotify にサインインして OAuth 認可する。開発者アプリの作成は不要

Official page checked: https://skillsplayground.com/connectors/spotify/

Limiting the features

読み取り用途では OAuth スコープを読み取り系に絞る
scope=user-library-read user-read-playback-state user-read-currently-playing playlist-read-private

読み取りだけの用途なら、変更系のスコープ(playlist-modify-*、user-library-modify、user-modify-playback-state)を外す。再生操作が要る場合だけ user-modify-playback-state を足す

Official page checked: https://developer.spotify.com/documentation/web-api/concepts/scopes

Searching for a track

Instruction to the agent

Find Blue Suede Shoes by Carl Perkins

Available through the search tools of the official connector and official MCP server. In hands-on testing we confirmed search works through the official connector

Creating a playlist

Instruction to the agent

Collect tracks that fit today's mood and make a new playlist

The official connector can create playlists and add tracks, but cannot delete or reorder them (confirmed in hands-on testing). Deletion is possible when calling the Web API directly from your own app

Seeing your listening trends (not possible via the official connector)

Instruction to the agent

Tell me the artists and tracks I have been listening to most

The official connector has no scopes for your own Top Items (user-top-read) or Recently Played, so they cannot be fetched (confirmed in hands-on testing through Muse's official connector). Note that the Development Mode restrictions affected catalog endpoints such as artist top tracks, which are different endpoints from a user's Top Items.

Pitfalls and tips

Pitfalls

  • If you connect through your own developer app, the February 2026 changes tightened Development Mode: the app owner must hold Premium (the app stops if it lapses), authorized users are capped at 5, and apps created on or after 2026-02-11 lose some endpoint families (artist top tracks, other users' playlists, etc.) and return at most 10 search results
  • The unrestricted Extended Quota Mode cannot be applied for by individuals: it requires a registered organization with a service of at least 250,000 monthly active users. Personal automation must be designed within Development Mode
  • The official connector cannot delete playlists, remove tracks or reorder them, and cannot fetch your own Top Items or Recently Played (confirmed in hands-on testing through Muse's official connector). If you need those, call the Web API from your own app
  • In November 2024, some endpoints such as recommendations and audio features were restricted for new apps. Procedures in older guides may not work as written
  • The developer policy prohibits using Spotify content to train AI models, and ingesting it into an AI model at all. A setup that feeds data fetched through your own app to an external LLM carries this clause's risk, unlike the official MCP server and official connectors
  • Refresh tokens gained an expiry (six months from the original authorization). Long-running setups need a re-authorization design
  • Playback control (play, pause, skip, etc.) requires the acting user themselves to hold Premium under the API's rules, separately from the Development Mode discussion

Tips

  • For personal use, the official MCP server and official connectors are the fastest route. No developer app creation, and no app-side Premium restriction
  • If you need playlist deletion, reordering or Top Tracks, the official connector is not enough. Use the Web API from your own app, or an iPaaS such as Zapier
  • When building your own app, design around Development Mode limits (owner Premium, 5 users, endpoint restrictions). The November 2024 and February 2026 changes mean older guides no longer match reality
  • A design that feeds data fetched through your own app into an AI risks the developer policy's AI clause (no training, no ingestion). When combining with AI, stay within the official MCP server and official connectors

Test environment and change history

How it was checkedConnected with a real client
Clients triedMuse(Spotify 公式コネクタ) 未確認

実機確認済み: 公式コネクタで検索とライブラリ(プレイリスト一覧)の取得(2026-12-05)。あわせて公式コネクタの制限(プレイリストの削除・曲の削除・並べ替え不可、Top Tracks と Recently Played は取得不可)も実機で確認した。ドキュメント確認: 公式 MCP サーバーの提供と各ディレクトリへの掲載、2026年2月の Development Mode 変更、Extended Quota Mode の条件。実機未確認: 公式 MCP サーバーへの直接接続、Web API の自分のアプリでの接続、各 iPaaS の接続

Change history

  • 初版

Sources

Other sources

Related articles

How to connect Strava to AI agents

Business or paid only

How to connect YouTube to AI agents

Official, individuals OK

How to connect Instagram to AI agents

Business or paid only

How to connect kintone to AI agents

Official, individuals OK