Skip to main content
Glama

Spotify MCP Server

by latiftplgu

get_artist_top_tracks

Retrieve the top 10 tracks of any artist on Spotify, ranked by global popularity, including track details, popularity scores, and region-specific rankings. Ideal for creating playlists, discovering hits, and exploring trending music.

Instructions

Discover an artist's most popular and widely-played tracks based on global streaming data.

🎯 USE CASES: • Quick introduction to an artist's biggest hits • Building "best of" playlists for parties or events • Understanding which songs made an artist famous • Creating radio-friendly playlists with mainstream appeal • Checking what's trending from your favorite artists

📝 WHAT IT RETURNS: • Top 10 tracks ranked by global popularity • Track names, album information, and release dates • Popularity scores and play count estimates • Preview URLs and track durations • Market-specific popularity rankings

🔍 EXAMPLES: • "What are Ed Sheeran's top tracks?" • "Show me The Weeknd's biggest hits in the US" • "Get Ariana Grande's most popular songs" • "Find the top tracks for artist ID: 1Xyo4u8uXC1ZmMpatF05PJ"

🌍 MARKET SPECIFICITY: • Results can vary by country/region • Reflects local music preferences and cultural differences • Use country parameter for region-specific results • Defaults to US market if not specified

⚠️ REQUIREMENTS: • Valid Spotify access token • Artist must have released tracks

Input Schema

NameRequiredDescriptionDefault
artistIdYesSpotify artist ID or URI
countryNoCountry code for localized content (e.g., 'US', 'GB')
tokenYesSpotify access token for authentication

Input Schema (JSON Schema)

{ "properties": { "artistId": { "description": "Spotify artist ID or URI", "type": "string" }, "country": { "description": "Country code for localized content (e.g., 'US', 'GB')", "type": "string" }, "token": { "description": "Spotify access token for authentication", "type": "string" } }, "required": [ "token", "artistId" ], "type": "object" }

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/latiftplgu/Spotify-OAuth-MCP-server'

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