urmusic-mcp
Enhances Spotify data with album cover art and artist metadata (members, collaborators, label) from MusicBrainz and Cover Art Archive.
Provides tools to query and analyze personal Spotify streaming history, including top artists, dormant artists, yearly reviews, and album rankings.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@urmusic-mcpShow me my top artists from 2023 by minutes listened"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
urmusic-mcp
Un MCP personal sobre tu propio historial de Spotify. Corre 100% en tu máquina — tu JSON nunca sale de tu disco, nunca se sube a ningún servidor.
1. Pide tu historial a Spotify
Baja hasta "Descarga tus datos" y marca "Historial de streaming extendido" (no el básico — ese solo trae el último año)
Confirma por email. Spotify tarda entre unos días y unas semanas en mandarte un ZIP.
Descomprime el ZIP en una carpeta — dentro verás varios
Streaming_History_Audio_*.json.
Related MCP server: TuneTidy
2. Instala
Necesitas uv:
git clone https://github.com/ipaud/urmusic-mcp
cd urmusic-mcp
uv sync3. Genera tu base de datos local
uv run ingest.py ./ruta/a/la/carpeta/descomprimidaEsto crea listening.db en el proyecto. Está en .gitignore — nunca la
subas a ningún sitio, es tu historial personal.
4. Conéctalo a Claude
Con Claude Code:
claude mcp add musica -- uv run --directory /ruta/absoluta/a/urmusic-mcp server.pyCon Claude Desktop, añade a tu config MCP:
{
"mcpServers": {
"musica": {
"command": "uv",
"args": ["run", "--directory", "/ruta/absoluta/a/urmusic-mcp", "server.py"]
}
}
}Reinicia y pregunta algo como:
"¿Qué artistas escuché con atención y dejé tirados hace 5 años?"
"Top 10 por convicción, no por reproducciones"
"Recomiéndame música nueva basada en mis semillas de más convicción"
Qué hace cada tool
Tool | Qué hace |
| Esquema de la base de datos |
| SQL de solo lectura sobre tu historial |
| Artistas escuchados con atención y abandonados hace X años, con carátulas |
| Candidatos nuevos vía MusicBrainz (miembros, colaboradores, sello), con carátulas |
| Perfil completo de un artista: plays, convicción, rango temporal, carátula del álbum más escuchado |
| Top artistas de un año por minutos escuchados, con carátulas |
| Top álbumes por reproducciones, con carátulas |
Las carátulas vienen de MusicBrainz + Cover Art Archive y van activadas por
defecto (with_art=true) en los tools que devuelven varios artistas/álbumes.
Cada una cuesta 2 llamadas a MusicBrainz a 1 req/seg, así que listas largas
tardan más — pon with_art=false si prefieres respuesta rápida sin imágenes.
Privacidad
Nada de esto llama a ningún servidor tuyo ni de terceros excepto MusicBrainz y Cover Art Archive (solo nombres de artista/álbum, para buscar relaciones y carátulas — nunca tu historial).
listening.dbvive solo en el disco de quien lo genera.Si compartes este repo, comparte el código — nunca tu
.db.
Licencia
Maintenance
Related MCP Servers
- FlicenseAqualityDmaintenanceA lightweight MCP server that enables AI assistants like Cursor and Claude to control Spotify playback, playlists, and manage tokens via OAuth.152
- Flicense-qualityBmaintenanceAn MCP server that enables ChatGPT to control Spotify playlists, playback (including exact-cue seek), and perform offline metadata export to ZIP.
- Flicense-qualityCmaintenanceA lightweight MCP server that enables AI assistants to control Spotify playback and manage playlists.
- Alicense-qualityDmaintenanceMCP server for xeve.io that enables AI assistants to query personal analytics including productivity, coding, health, music, and GitHub activity.16MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Hosted MCP server for personal tools: budgets, savings goals, spaced repetition, tips, countdowns.
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ipaud/urmusic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server