Your Spotify MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SPOTIFY_CLIENT_ID | No | Spotify App Client ID (Optional, for Tier 5 features like playback control) | |
| YOUR_SPOTIFY_TOKEN | Yes | Your public token from Your Spotify settings | |
| SPOTIFY_ACCESS_TOKEN | No | Spotify OAuth Access Token (Optional, for Tier 5 features like playback control) | |
| YOUR_SPOTIFY_API_URL | Yes | Your Your Spotify API URL (e.g., https://your-spotify-api.example.com) | |
| SPOTIFY_CLIENT_SECRET | No | Spotify App Client Secret (Optional, for Tier 5 features like playback control) | |
| SPOTIFY_REFRESH_TOKEN | No | Spotify OAuth Refresh Token (Optional, for Tier 5 features like playback control) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_track_statsA | Get detailed listening statistics for a specific track from your listening history. Returns information including:
Example queries:
|
| get_top_tracksA | Get your most played tracks for any time period. Returns your top tracks ranked by play count, with full track details and play statistics. This queries your complete listening history (not limited to Spotify's 50 recent tracks). Time period options:
Example queries:
|
| get_artist_statsA | Get detailed listening statistics for a specific artist from your listening history. Returns information including:
Example queries:
|
| get_top_artistsB | Get your top artists for a specified time period. Returns artists ranked by play count including:
Example queries:
|
| search_listening_historyB | Search through your complete Spotify listening history. Unlike Spotify's recent tracks (limited to 50), this searches your ENTIRE history stored in Your Spotify. Example queries:
|
| create_custom_wrappedA | Generate a custom Spotify Wrapped summary for ANY time period. Unlike Spotify's official Wrapped (limited to the past year), this creates personalized listening summaries for any date range you choose. Perfect for:
Returns comprehensive statistics including:
Example queries:
|
| analyze_affinityA | Analyze listening overlap between multiple Your Spotify users. Find songs that multiple users share in common - perfect for:
Two analysis modes:
Example queries:
|
| get_listening_timelineB | Analyze your listening activity over time. Returns a timeline of plays and listening duration at day, week, or month granularity. Example queries:
|
| get_artist_rankA | Find where a specific artist ranks in your listening history. Shows the artist's position among all artists you've listened to, along with percentile ranking. Example queries:
|
| get_track_rankA | Find where a specific track ranks in your listening history. Shows the track's position among all tracks you've listened to, along with percentile ranking. Example queries:
|
| analyze_listening_patternsB | Analyze your listening patterns over time. Discover when you listen to music most - by hour of day, day of week, or month. Example queries:
|
| get_discovery_insightsA | Discover new music you found in a specific time period. Shows tracks and artists you listened to for the first time during the period. Example queries:
|
| compare_listening_periodsA | Compare your listening habits between two time periods. See how your listening volume, diversity, and preferences have changed. Example queries:
|
| export_listening_dataC | Export your listening data in various formats. Get a structured export of your listening history, top tracks, artists, etc. Example queries:
|
| update_user_settingsB | Update your Your Spotify account settings. Currently supports updating timezone preferences. Example queries:
|
| rename_accountA | Change your display username in Your Spotify. This only affects your Your Spotify profile, not your actual Spotify account. Example queries:
|
| generate_public_share_linkA | Generate a public link to share your Your Spotify statistics. Anyone with this link can view your listening history without logging in. Use revoke_public_access to disable the link when you're done sharing. Example queries:
|
| revoke_public_accessA | Revoke your public share token, immediately disabling the public link. Use this when you no longer want your stats publicly accessible. Example queries:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
Most tools have distinct purposes, such as analyze_affinity for user overlap and get_top_tracks for ranking tracks. However, some overlap exists between get_artist_stats and get_artist_rank, which both focus on artist-specific data, potentially causing confusion. The descriptions help differentiate them, but the boundaries could be clearer.
All tool names follow a consistent snake_case pattern with clear verb_noun structures, such as analyze_affinity, get_top_tracks, and update_user_settings. There are no deviations in naming conventions, making the set predictable and easy to navigate.
With 18 tools, the count is slightly high but reasonable for a Spotify analytics server covering user stats, sharing, and account management. It includes core functionalities like analysis, ranking, and export, though it might feel a bit heavy compared to more focused servers.
The toolset provides comprehensive coverage for Spotify listening analytics, including analysis, ranking, history search, data export, sharing, and account settings. There are no obvious gaps; it supports full lifecycle operations from data retrieval to user customization and public sharing.