Spotify Data

v0.1.1
cc.checkleaked/spotify-data Checked 8 hours ago Published 1 month ago

Spotify play counts, monthly listeners, charts, artist stats, albums, playlists and ISRC lookup.

Values you need

VariableWhat it is
SPOTIFY_API_KEYrequired secret Your API key: a free trial or paid key from https://spotify.checkleaked.cc/pricing, or a RapidAPI key for spotify81 (free Basic plan).
SPOTIFY_API_PROVIDERoptional Where the key is from: 'rapidapi' (RapidAPI spotify81) or 'direct' (spotify.checkleaked.cc). Leave unset to detect it from the key.

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add spotify-data -e 'SPOTIFY_API_KEY=<SPOTIFY_API_KEY>' -- docker run -i --rm -e SPOTIFY_API_KEY ghcr.io/eduair94/spotify-data-mcp:0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "spotify-data": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOTIFY_API_KEY",
        "ghcr.io/eduair94/spotify-data-mcp:0.1.1"
      ],
      "command": "docker",
      "env": {
        "SPOTIFY_API_KEY": "<SPOTIFY_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "spotify-data": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOTIFY_API_KEY",
        "ghcr.io/eduair94/spotify-data-mcp:0.1.1"
      ],
      "command": "docker",
      "env": {
        "SPOTIFY_API_KEY": "<SPOTIFY_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SPOTIFY_API_KEY",
      "id": "spotify-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "spotify-data": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SPOTIFY_API_KEY",
        "ghcr.io/eduair94/spotify-data-mcp:0.1.1"
      ],
      "command": "docker",
      "env": {
        "SPOTIFY_API_KEY": "${input:spotify-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.spotify-data]
command = "docker"
args = ["run", "-i", "--rm", "-e", "SPOTIFY_API_KEY", "ghcr.io/eduair94/spotify-data-mcp:0.1.1"]
env = { "SPOTIFY_API_KEY" = "<SPOTIFY_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http spotify-data https://spotify-proxy.checkleaked.cc/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "spotify-data": {
      "args": [
        "-y",
        "mcp-remote",
        "https://spotify-proxy.checkleaked.cc/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "spotify-data": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://spotify-proxy.checkleaked.cc/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "spotify-data": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://spotify-proxy.checkleaked.cc/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.spotify-data]
command = "npx"
args = ["-y", "mcp-remote", "https://spotify-proxy.checkleaked.cc/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: SPOTIFY_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: search, get_tracks, get_track_play_count, get_track_insights, get_artists_stats, get_artist_overview, get_artist_insights, get_related_artists, ….
  5. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json