Mood-Based Music & Quote MCP Server
Provides voice synthesis capabilities to generate audio responses using ElevenLabs text-to-speech API for mood-based interactions.
Enables LLM-powered mood classification and natural language processing for analyzing user messages.
Fetches curated playlists based on detected user mood using Spotify's API to provide personalized music recommendations.
Handles inbound and outbound WhatsApp/SMS messages through webhook integration, enabling message-based interactions with mood detection and playlist delivery.
Processes WhatsApp messages to detect user mood and respond with personalized playlists, quotes, and optional voice notes.
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.
Mood-Based Music & Quote MCP Server
An MCP-style server that reacts to WhatsApp/SMS messages: it classifies the user's mood, fetches a curated Spotify playlist, adds a motivational/funny quote, and can optionally deliver a voice note (ElevenLabs). Includes Twilio webhook for inbound WhatsApp and simple MCP endpoints for tool calls.
Quick start
Install deps
npm installCopy env template
cp config/env.example .envFill in Spotify client credentials, Twilio (for WhatsApp/SMS), and optional ElevenLabs + OpenAI.
Run dev server
npm run devRelated MCP server: Spotify MCP Server
Endpoints
GET /healthz– health checkGET /mcp/tools– list available toolsPOST /mcp/call– invoke a tool:{ "name": "run_mood_flow", "input": { "to": "whatsapp:+1...", "text": "I feel stressed", "includeVoice": false } }POST /webhooks/twilio– Twilio WhatsApp/SMS webhook; echoes back playlist + quote
Tools exposed
detect_moodget_playlistget_quotesynthesize_voice(if ElevenLabs configured)send_messagerun_mood_flow(end-to-end orchestration)
Notes
Voice replies require hosting the MP3 somewhere accessible; the current stub generates audio but does not upload it. Add an object-store upload to send
MediaUrlwith Twilio.Mood classification defaults to a keyword heuristic; plug in an LLM if desired.
MCP shape here is HTTP-based for simplicity; can be adapted to an MCP transport.
This server cannot be deployed
Maintenance
Related MCP Connectors
Give your AI agents a WhatsApp number and a voice: they message you and call you.
Your own WhatsApp in Claude and ChatGPT: read chats, draft replies, send messages you approve.
WhatsApp for Claude, ChatGPT or any AI agent: search, reply and send. Personal or Business API.
Read, search and reply to your WhatsApp chats from your AI, using your own number.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceGenerates personalized music playlists based on mood analysis using AI sentiment detection and emoji understanding. Integrates with Last.fm API to create playlists with multi-language support and provides streaming links for Spotify, Apple Music, and YouTube.1Apache 2.0
- FlicenseNot gradedqualityNot gradedmaintenanceEnables control of Spotify playback, music search, and playlist management through natural language commands. Available in both Python and Vercel implementations with comprehensive OAuth2 authentication and device management.-
- 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.64 npm5MIT
- AlicenseAqualityDmaintenanceEnables interaction with Spotify through LLMs using OAuth2 authentication. Supports music search, playback control, playlist management, and device management through natural language commands.142MIT