Skip to main content
Glama

Claude Music MCP

by leehave

音乐 MCP 服务器

这是一个基于 Model Context Protocol (MCP) 的音乐管理服务器,提供音乐搜索、播放列表管理和音乐推荐功能。

功能特性

  • 🔍 音乐搜索: 支持按歌曲名、艺术家、专辑搜索
  • 📋 播放列表管理: 创建、管理和编辑播放列表
  • 🎯 音乐推荐: 基于风格和心情的智能推荐
  • 📊 歌曲信息: 获取详细的歌曲元数据
  • 评分系统: 歌曲评分和播放统计

安装和运行

  1. 安装依赖:
npm install
  1. 构建项目:
npm run build
  1. 启动服务器:
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: 播放列表ID
  • songId: 歌曲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

Deploy Server
-
security - not tested
F
license - not found
-
quality - not tested

Enables music management through search, playlist creation, and intelligent recommendations. Supports searching by song, artist, or album, creating and managing playlists, and getting music recommendations based on genre and mood.

  1. 功能特性
    1. 安装和运行
      1. 可用工具
        1. 1. search_music
        2. 2. get_song_info
        3. 3. create_playlist
        4. 4. add_to_playlist
        5. 5. get_playlist
        6. 6. list_playlists
        7. 7. get_recommendations
      2. 使用示例
        1. 技术栈
          1. 许可证

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Enables interaction with Spotify's music catalog via the Spotify Web API, supporting searches, artist information retrieval, playlist management, and automatic token handling.
              Last updated -
              547
              13
              MIT License
            • -
              security
              F
              license
              -
              quality
              Integrates with Spotify Web API through the Model Context Protocol, allowing users to search tracks, control playback, and manage playlists programmatically.
              Last updated -
            • A
              security
              A
              license
              A
              quality
              Enables interactions with the Discogs API for music catalog operations and search functionality, allowing users to manage their Discogs collections through natural language.
              Last updated -
              53
              36
              47
              MIT License
            • A
              security
              A
              license
              A
              quality
              A server that lets you get customized music recommendations from TIDAL based on your specific criteria, allowing you to create new playlists directly in your TIDAL account.
              Last updated -
              7
              23
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            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/leehave/Claude-Music-Mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server