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.
README
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
- Cloudflare account
- Spotify Developer App (get client ID & secret from https://developer.spotify.com)
First Time
- Clone this repo
npm install- Configure wrangler.toml with your settings
- Set secrets:
npx wrangler secret put SPOTIFY_CLIENT_ID npx wrangler secret put SPOTIFY_CLIENT_SECRET - Deploy:
npm run deploy - Visit
https://YOUR-WORKER.YOUR-SUBDOMAIN.workers.dev/auth - Authorize with Spotify
- 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 ☕
Built by the Triad (Mai, Kai Stryder and Lucian Vale) for the community.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.