SuperAPIAI Directory

spotify-data-mcp

github.com · AI developer platforms

spotify-data-mcp is an MCP server for AI assistants that queries Spotify data. It can run locally or use a hosted service, and supports MCP clients such as Claude Desktop, Claude Code, Cursor, and VS Code. Users can query track play counts, artist monthly listeners, world rankings and top cities, country-specific Top 200 and Viral charts, per-track play counts for albums and playlists, search, ISRC lookup, and information such as genre, mood, and BPM. The tool requires users to provide their own CheckLeaked Spotify Data API key, and a free trial key is available; the hosted service also supports pay-per-use via x402. The project is an unofficial tool and is not affiliated with Spotify.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

Purpose: spotify-data-mcp is an MCP (Model Context Protocol) server that lets AI assistants query Spotify data. It targets Claude Desktop, Claude Code, Cursor, VS Code, and other MCP clients, and is suitable for retrieving information about tracks, artists, charts, albums, playlists, and more directly in a conversation.

Main capabilities: query track play counts, artist monthly listeners, world rankings, and top cities; view Top 200 and Viral charts by country; get albums and playlists along with the play counts of each track in them; support search, ISRC lookup, and genre, mood, and BPM information. All tools are read-only. Every id parameter accepts a bare id, a spotify: URI, or an open.spotify.com URL (optionally with /intl-xx/ and ?si=). Output is compact JSON containing id, name, numbers, and an open.spotify.com URL, and lists are capped to fit model context.

Usage: users need their own API key. Keys starting with sapi_ are automatically sent to the direct API, while other keys are treated as RapidAPI keys, which can be overridden with SPOTIFY_API_PROVIDER. The server is published on PyPI and can be run with uvx; alternatively, install with pip install checkleaked-spotify-mcp and then run checkleaked-spotify-mcp (or python -m checkleaked_spotify_mcp), using stdio transport and setting SPOTIFY_API_KEY in the environment. A container image is also available at ghcr.io/eduair94/spotify-data-mcp (linux/amd64 and linux/arm64). The hosted server is located at https://spotify-proxy.checkleaked.cc/mcp(Streamable HTTP), provides the same 12 tools plus an additional fetch tool for ChatGPT; it supports putting the key in the URL and also supports the Authorization: Bearer header. Claude.ai and ChatGPT can add a custom connector in connector settings. AI agents without a key can use the hosted service on a pay-per-use basis via x402.

Use cases: suitable for conversational query scenarios such as music data analysis, chart tracking, artist comparison, playlist play count statistics, and ISRC reverse lookup.

Limitations: the project is an unofficial tool and has no affiliation with, endorsement by, or sponsorship from Spotify. You need to provide your own API key; each tool call consumes one request. Tracks with fewer than 1,000 plays are shown as 0; play counts are lifetime plays, while chart streams are daily or weekly plays; results may be cached by the API for a period (play counts for about one hour). Lyrics, audio downloads, webhooks, tracking, and AI endpoints are not exposed. The server communicates only with the configured API, does not write to disk, and has no telemetry. The hosted server does not retain conversation data; keys in URLs may appear in request logs, so using the Authorization header is recommended. x402 payments show a signed USDC transfer to the facilitator (PayAI) and are public on Base after settlement.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools