Skip to main content
Glama

Spotify MCP Server

by latiftplgu

search_music

Search and discover music across Spotify’s tracks, albums, artists, and playlists. Use keywords, genres, or moods to find relevant results, explore metadata, and build dynamic music recommendations in applications. Supports filtering by type and ranked results.

Instructions

Perform comprehensive music search across all Spotify content types with intelligent filtering and ranking.

🎯 USE CASES: • Universal music discovery across tracks, albums, artists, and playlists • Build intelligent search interfaces for music applications • Find specific songs when you only remember partial information • Discover new music based on keywords, moods, or themes • Create dynamic search-based music recommendations

📝 WHAT IT RETURNS: • Multi-type search results (tracks, artists, albums, playlists) • Relevance-ranked results based on Spotify's search algorithms • Complete metadata for each result type • Popularity scores and user engagement metrics • Links to explore each result in detail

🔍 EXAMPLES: • "Search for 'upbeat dance music' in tracks" • "Find 'acoustic guitar' content across all types" • "Look for 'Beatles' in artists and albums" • "Search for '90s hip hop' in playlists"

🎵 SEARCH TYPES: • 'track' - Individual songs and recordings • 'album' - Full album releases and EPs • 'artist' - Musicians, bands, and performers • 'playlist' - User and editorial playlists • 'show' - Podcasts and audio shows • 'episode' - Individual podcast episodes

💡 SEARCH STRATEGIES: • Use descriptive keywords: "chill indie folk" • Include artist names: "Taylor Swift love songs" • Try genre combinations: "electronic jazz fusion" • Use mood descriptors: "energetic workout beats" • Include decades: "80s synthwave nostalgia"

🔍 ADVANCED FEATURES: • Intelligent typo correction and suggestions • Context-aware search ranking • Market-specific availability filtering • Real-time search result updates • Multi-language search support

⚠️ REQUIREMENTS: • Valid Spotify access token • Search queries should be at least 2 characters long

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesSearch query for music content (keyword, title, artist)
tokenYesSpotify access token for authentication
typeNotrack

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 10, "description": "", "maximum": 50, "minimum": 1, "type": "number" }, "query": { "description": "Search query for music content (keyword, title, artist)", "type": "string" }, "token": { "description": "Spotify access token for authentication", "type": "string" }, "type": { "default": "track", "description": "", "enum": [ "track", "album", "artist", "playlist" ], "type": "string" } }, "required": [ "token", "query" ], "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