Moodify
Provides tools for controlling Spotify playback, queue, search, playlists, and library, plus personalized music recommendations using a learned taste profile, mood context, and exclusions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Moodify
A Spotify MCP server with a personal recommendation engine. Control Spotify and discover music tailored to your evolving taste profile — all through Claude.
Also powers the Moodify Remote Even Realities G2 plugin (Spotify control from your smart glasses + R1 ring).
Deploy in 5 minutes
Option A — Railway (no VPS needed, free tier available)
Click the button → sign in to Railway → Deploy
Set environment variables in Railway dashboard:
SPOTIFY_CLIENT_ID— from developer.spotify.comSPOTIFY_REDIRECT_URI— your Railway app URL +/auth/callback(e.g.https://moodify-xxx.railway.app/auth/callback)MCP_API_KEY— runopenssl rand -hex 32to generate one
Add the redirect URI to your Spotify app settings
Visit
https://your-app.railway.app/auth/loginto link your Spotify accountDone — use the URL and MCP_API_KEY in Moodify Remote
Option B — Self-hosted VPS (full control)
git clone https://github.com/yannrapaport/moodify
cd moodify
./scripts/install.shThe install script sets up Docker + Caddy with HTTPS automatically.
Related MCP server: Spotify MCP Server
Features
Surprise Me — plays a track based on your taste profile and queues more in the background
Taste profile — learns from thumbs-up/down ratings using audio features (energy, valence, danceability, acousticness, tempo)
Mood context — adjust recommendations with natural language ("something chill", "upbeat workout")
Exclusions — block artists, genres, or tracks from recommendations
Full Spotify control — playback, queue, search, playlists, library
OAuth PKCE — no client secret required, intentionally secret-free
Architecture
TypeScript / Node.js 20, Hono HTTP framework
MCP transport:
WebStandardStreamableHTTPServerTransportSpotify SDK:
@spotify/web-api-ts-sdkDB:
better-sqlite3(5 tables: tokens, feedback, audio features cache, artist genres cache, exclusions)
Setup
1. Create a Spotify app at developer.spotify.com with redirect URI http://localhost:3000/auth/callback.
2. Configure environment:
SPOTIFY_CLIENT_ID=your_client_id
SPOTIFY_REDIRECT_URI=http://localhost:3000/auth/callback
PORT=30003. Run:
npm install
npm run dev4. Authenticate: visit http://localhost:3000/auth/login in your browser.
5. Connect Claude Code:
{
"mcpServers": {
"moodify": {
"type": "http",
"url": "http://localhost:3000/mcp"
}
}
}Docker
docker compose up -dDevelopment
npm test # run 22 unit tests
npm run build # compile TypeScriptSupport
If Moodify is useful to you, you can support its development on Patreon. It covers the VPS that runs the demo instance and helps me keep building open-source tools in my spare time.
License
MIT — © Yann Rapaport
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Full Spotify Web API coverage - albums, artists, playlists, player controls, and more.
Spotify MCP server for ChatGPT, Claude and any AI agent: search songs and artists, list playlists, read playlist songs, create playlist, add songs to playlist, remove songs from playlist, set playlist public or private and save to Liked Songs in your own Spotify account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Spotify yourself; Cotlet does not store your password and you need no Spotify API key. About the official Spotify API: Spotify has a full Web API and, since 23 Apr 2026, an official connector for Claude (checked 5 Nov 2026). The API needs an app you register, and in development mode the app owner must have Premium and the app allows 5 users; unlimited users need a registered business with at least 250,000 monthly users. Setup and FAQ: https://cotlet.dev/integrations/spotify-api-mcp-server
Spotify: Spotify Data API for Millions of songs & podcasts, artists, albums, playlists and more.
AI playlist engine that turns music prompts into real YouTube playlists and filters bad versions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Spotify through natural language for music discovery, playback control, library management, and playlist creation. Supports searching for music, controlling playback, managing saved tracks, and getting personalized recommendations based on mood and preferences.5ISC
- FlicenseBqualityDmaintenanceEnables AI assistants to control Spotify playback, search for music, manage playlists, and interact with your Spotify library through natural language commands.19-
- FlicenseAqualityDmaintenanceEnables AI assistants to control Spotify playback, search for music, manage playlists, and access library information through the Spotify API. Requires Spotify Premium for playback control features.4-
- FlicenseBqualityCmaintenanceEnables AI assistants to control Spotify playback, search the catalog, and manage playlists and liked songs through natural language. Supports reading currently playing tracks, queues and devices, plus play, pause, skip, queueing, volume control, and playlist creation and editing.30-