Uses the qqmusic-api-python library from GitHub to provide music search functionality for QQ Music, allowing users to search for music tracks with keywords and retrieve song information including IDs, titles, and release dates.
MCP QQ音乐测试服务器
这是一个通过MCP(模块化控制协议)提供QQ音乐搜索功能的测试服务器。该服务器允许您使用关键词搜索音乐曲目,并返回相关歌曲信息。
该demo仅用于测试和学习目的,其中音乐检索使用的是qqmusic-api-python。
功能特点
- 支持MCP使用关键词搜索音乐曲目
环境要求
- 已安装了uv
- Python 3.13
安装说明
- 克隆此仓库
- 安装依赖:
使用方法
配置mcp
:
测试搜索音乐
函数: search_music
参数:
keyword
(字符串,必需):搜索关键词或短语page
(整数,可选):分页页码(默认值:1)num
(整数,可选):返回结果的最大数量(默认值:20)
返回值:
返回包含以下属性的对象数组:
id
:歌曲IDmid
:音乐IDname
:歌曲名称pmid
:播放音乐IDsubtitle
:歌曲副标题time_public
:发布时间title
:歌曲标题
示例响应:
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
A server that provides QQ Music search functionality through the Modular Control Protocol, allowing users to search for music tracks by keyword and retrieve song information.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that allows AI models to control YouTube Music playback through Google Chrome by searching and playing songs using song and artist names.Last updated 6 months ago11JavaScriptMIT License
- -securityFlicense-qualityA Machine Control Protocol (MCP) server that enables storing and retrieving information from a Qdrant vector database with semantic search capabilities.Last updated 4 months ago
- AsecurityFlicenseAqualityA simple MCP server that allows AI assistants like Cursor or Claude Desktop to search for and play tracks on YouTube Music through natural language commands.Last updated 4 months ago2125TypeScript
- AsecurityAlicenseAqualityAn MCP server that allows searching for and retrieving information about Model Context Protocol servers registered on the MCP Hub.Last updated 2 months ago11MIT License