Claude Music MCP
Click on "Deploy 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., "@Claude Music MCP search for songs by Taylor Swift"
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.
音乐 MCP 服务器
这是一个基于 Model Context Protocol (MCP) 的音乐管理服务器,提供音乐搜索、播放列表管理和音乐推荐功能。
功能特性
🔍 音乐搜索: 支持按歌曲名、艺术家、专辑搜索
📋 播放列表管理: 创建、管理和编辑播放列表
🎯 音乐推荐: 基于风格和心情的智能推荐
📊 歌曲信息: 获取详细的歌曲元数据
⭐ 评分系统: 歌曲评分和播放统计
Related MCP server: Spotify MCP Server
安装和运行
安装依赖:
npm install构建项目:
npm run build启动服务器:
npm start或者在开发模式下运行:
npm run dev可用工具
1. search_music
搜索音乐库中的歌曲
query: 搜索关键词type: 搜索类型 (song/artist/album/all)limit: 结果数量限制
2. get_song_info
获取特定歌曲的详细信息
songId: 歌曲ID
3. create_playlist
创建新的播放列表
name: 播放列表名称description: 播放列表描述(可选)
4. add_to_playlist
将歌曲添加到播放列表
playlistId: 播放列表IDsongId: 歌曲ID
5. get_playlist
获取播放列表信息和歌曲列表
playlistId: 播放列表ID
6. list_playlists
列出所有播放列表
7. get_recommendations
获取音乐推荐
genre: 音乐风格(可选)mood: 心情/氛围(可选)limit: 推荐数量
使用示例
在支持 MCP 的 AI 助手中,您可以这样使用:
"搜索 Queen 的歌曲"
"创建一个名为'我的最爱'的播放列表"
"推荐一些摇滚音乐"
"获取歌曲 ID 为 1 的详细信息"
技术栈
TypeScript
Model Context Protocol SDK
Zod (数据验证)
Node.js
许可证
MIT License
Available Tools
7 toolsadd_to_playlistC
将歌曲添加到播放列表
Inputs: playlistId (required), songId (required).
create_playlistC
创建新的播放列表
Inputs: name (required), description.
get_playlistC
获取播放列表信息
Inputs: playlistId (required).
get_recommendationsC
根据用户喜好获取音乐推荐
Inputs: genre, mood, limit.
get_song_infoC
获取歌曲详细信息
Inputs: songId (required).
list_playlistsC
列出所有播放列表
Inputs: no named parameters.
search_musicC
搜索音乐,支持按歌曲名、艺术家、专辑搜索
Inputs: query (required), type, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Every tool has a clearly distinct purpose with no ambiguity. Tools like 'add_to_playlist', 'create_playlist', 'get_playlist', and 'list_playlists' each handle different aspects of playlist management, while 'search_music', 'get_song_info', and 'get_recommendations' cover distinct music discovery and information tasks. The descriptions reinforce these boundaries, making misselection unlikely.
All tool names follow a consistent verb_noun pattern using snake_case, such as 'add_to_playlist', 'create_playlist', 'get_playlist', 'get_recommendations', 'get_song_info', 'list_playlists', and 'search_music'. This predictable naming scheme enhances readability and usability, with no deviations in style or convention.
With 7 tools, this server is well-scoped for a music management domain. The count is appropriate, covering core operations like playlist management, music search, and recommendations without being overwhelming. Each tool earns its place by addressing a specific need, aligning with typical server sizes of 3-15 tools.
The tool surface is largely complete for music management, covering key operations like creating, listing, and getting playlists, adding songs, searching music, and getting recommendations. A minor gap exists in update or delete operations for playlists or songs, which agents might need to work around, but core workflows are well-supported.
Maintenance
Related MCP Connectors
Search, analyze, and discover commercially released music using sonic intelligence.
AI playlist engine that turns music prompts into real YouTube playlists and filters bad versions.
Generate full songs with vocals, instrumentals and sound effects from text. One server for Suno, Google Lyria, Mureka, MiniMax, ACE-Step, YuE and ElevenLabs. Your agent can quote the credit cost before generating, start a song, wait for it to finish and return download links. Sign in with OAuth; optional daily credit caps; retries never charge twice.
Generate, edit and stream royalty-free music, or search a licensed catalogue.
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.127 npm5MIT
- FlicenseBqualityDmaintenanceEnables AI assistants to control Spotify playback, search for music, manage playlists, and interact with your Spotify library through natural language commands.19-
- FlicenseNot gradedqualityDmaintenanceEnables users to search the YouTube Music catalog and manage playlists using natural language. It provides tools for searching songs, albums, and artists, as well as performing playlist operations like creating, adding, and deleting tracks.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search YouTube Music, manage playlists, and create smart recommendations using natural language.15MIT