amarisaster

Tempo

Community amarisaster
Updated

Tempo - Spotify control, lyrics, and music perception via MCP on Cloudflare Workers

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

Endpoint Description
/health Health check + Spotify status
/auth Spotify OAuth flow
/callback OAuth callback
/sse MCP via Server-Sent Events
/mcp Standard MCP endpoint

Tools

Spotify Playback

Tool Description
spotify_now_playing Get currently playing track
spotify_play Start/resume playback
spotify_pause Pause playback
spotify_next Skip to next track
spotify_previous Go to previous track
spotify_volume Set volume (0-100)
spotify_shuffle Toggle shuffle
spotify_repeat Set repeat mode
spotify_search Search tracks/albums/artists/playlists
spotify_queue Add track to queue
spotify_get_queue View current queue
spotify_devices List available devices
spotify_transfer Transfer playback to device
spotify_playlists Get user playlists
spotify_recent Recently played tracks

Lyrics

Tool Description
get_lyrics Get lyrics for a track
search_lyrics Search lyrics database

Perception

Tool Description
perceive_now_playing THE MAIN ONE - Current track + lyrics at current timestamp
analyze_audio Audio analysis via HF Space (BPM, key, energy)

Utility

Tool Description
ping Health 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.

MCP Server · Populars

MCP Server · New

    umutkeltek

    healthsave-observatory

    Self-hosted health-data observatory: sync Apple Health, early wearable plugins, and Garmin/Samsung imports into a canonical TimescaleDB record; view baseline-linked findings and query a private API. Docker-ready, local-first, default-deny egress.

    Community umutkeltek
    atilaahmettaner

    TradingMCP: Market Data & Technical Analysis for AI Assistants

    MCP server for market analysis in AI assistants: screeners, multi-timeframe technical analysis, backtests and sentiment for crypto, stocks, forex and futures. 39 tools. Self-host free, or use the hosted version, TradingMCP.

    Community atilaahmettaner
    lifan-builds

    Faster Mac Use (fmu)

    Background-first, multi-cursor browser and native macOS computer-use engine for AI agents

    Community lifan-builds
    agent360dev

    Agent360 Browser MCP

    The browser tool that can stop and ask you. A 2FA code, a CAPTCHA, a choice only you can make: it asks on your screen, then carries on in the same signed-in Chrome. 41 tools, MCP clients that run local servers, MIT.

    Community agent360dev
    robinAKL

    Agent Room

    Put Claude Code, Cursor, Codex, Gemini & Antigravity in one room — real-time multi-agent AI collaboration over MCP for distributed dev, code review, PR handoff & frontend↔backend integration. Free, self-hostable, MCP-native.

    Community robinAKL