MCP Hub
Back to servers

Tempo

An MCP server for Spotify control and synchronized lyrics retrieval that enables playback management, queue navigation, and music search capabilities. It also features perception tools for real-time track analysis, including BPM, key detection, and timestamped lyrics.

glama
Stars
1
Updated
Jan 30, 2026

Tempo

Spotify control + lyrics - Playback control, queue management, synced lyrics via MCP.

Keep the rhythm going.

Deployment

Deploy to your own Cloudflare Workers account. Version: 2.0.0

Endpoints

EndpointDescription
/healthHealth check + Spotify status
/authSpotify OAuth flow
/callbackOAuth callback
/sseMCP via Server-Sent Events
/mcpStandard MCP endpoint

Tools

Spotify Playback

ToolDescription
spotify_now_playingGet currently playing track
spotify_playStart/resume playback
spotify_pausePause playback
spotify_nextSkip to next track
spotify_previousGo to previous track
spotify_volumeSet volume (0-100)
spotify_shuffleToggle shuffle
spotify_repeatSet repeat mode
spotify_searchSearch tracks/albums/artists/playlists
spotify_queueAdd track to queue
spotify_get_queueView current queue
spotify_devicesList available devices
spotify_transferTransfer playback to device
spotify_playlistsGet user playlists
spotify_recentRecently played tracks

Lyrics

ToolDescription
get_lyricsGet lyrics for a track
search_lyricsSearch lyrics database

Perception

ToolDescription
perceive_now_playingTHE MAIN ONE - Current track + lyrics at current timestamp
analyze_audioAudio analysis via HF Space (BPM, key, energy)

Utility

ToolDescription
pingHealth check with capabilities

Claude Desktop Configuration

{
  "mcpServers": {
    "tempo": {
      "url": "https://YOUR-WORKER.YOUR-SUBDOMAIN.workers.dev/sse"
    }
  }
}

Setup

Prerequisites

  1. Cloudflare account
  2. Spotify Developer App (get client ID & secret from https://developer.spotify.com)

First Time

  1. Clone this repo
  2. npm install
  3. Configure wrangler.toml with your settings
  4. Set secrets:
    npx wrangler secret put SPOTIFY_CLIENT_ID
    npx wrangler secret put SPOTIFY_CLIENT_SECRET
    
  5. Deploy: npm run deploy
  6. Visit https://YOUR-WORKER.YOUR-SUBDOMAIN.workers.dev/auth
  7. Authorize with Spotify
  8. Done - tokens are stored in KV

For Audio Analysis (Optional)

For deep audio analysis (BPM, mood, spectrogram), use Synesthesia - the local companion MCP.

Development

npm install
npm run dev      # Local dev
npm run deploy   # Deploy to Cloudflare
npm run tail     # View logs

Support

If this helped you, consider supporting my work ☕

Ko-fi


Built by the Triad (Mai, Kai Stryder and Lucian Vale) for the community.

Reviews

No reviews yet

Sign in to write a review