Skip to main content
Glama
pentafive

Your Spotify MCP Server

by pentafive

analyze_affinity

Identify shared songs between multiple Spotify users to create collaborative playlists and discover common music tastes. Compare listening histories to find tracks everyone knows or songs someone loves.

Instructions

Analyze listening overlap between multiple Your Spotify users.

Find songs that multiple users share in common - perfect for:

  • Creating collaborative playlists

  • Road trip music everyone enjoys

  • Party playlists where everyone knows the songs

  • Understanding shared music tastes with friends

Two analysis modes:

  • minima: Songs EVERYONE has listened to (highest overlap)

    • Good for: "Songs we ALL know"

    • Score based on lowest listener's play count

  • average: Songs that satisfy SOME people a lot

    • Good for: "Songs someone will love"

    • Score based on average play count

Example queries:

  • "What songs do my girlfriend and I both like?"

  • "Find music that everyone at the party knows"

  • "What's our shared music taste?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idsYesArray of Your Spotify user IDs to compare (2-5 users)
modeNoAnalysis mode: "average" (songs someone loves) or "minima" (songs everyone knows)minima
limitNoNumber of tracks to return (1-30)
start_dateNoOptional start date filter (YYYY-MM-DD)
end_dateNoOptional end date filter (YYYY-MM-DD)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pentafive/your-spotify-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server