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) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_track_stats | Get detailed listening statistics for a specific track from your listening history. Returns information including:
Example queries:
|
| get_top_tracks | 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_stats | Get detailed listening statistics for a specific artist from your listening history. Returns information including:
Example queries:
|
| get_top_artists | Get your top artists for a specified time period. Returns artists ranked by play count including:
Example queries:
|
| search_listening_history | 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_wrapped | 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_affinity | 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_timeline | Analyze your listening activity over time. Returns a timeline of plays and listening duration at day, week, or month granularity. Example queries:
|
| get_artist_rank | 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_rank | 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_patterns | 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_insights | 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_periods | Compare your listening habits between two time periods. See how your listening volume, diversity, and preferences have changed. Example queries:
|
| export_listening_data | Export your listening data in various formats. Get a structured export of your listening history, top tracks, artists, etc. Example queries:
|
| update_user_settings | Update your Your Spotify account settings. Currently supports updating timezone preferences. Example queries:
|
| rename_account | Change your display username in Your Spotify. This only affects your Your Spotify profile, not your actual Spotify account. Example queries:
|
| generate_public_share_link | 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_access | 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 | |