ben-music-mcp
本产品是一套面向开发者和智能体的音乐信息服务工具,专注于高效、专业的音乐数据获取与个性化推荐。所有接口均采用标准 JSON 格式,便于自动化集成与二次开发。
产品功能概览
歌曲与歌手信息
- 歌曲检索:支持通过关键词精准获取歌曲详情,包括名称、艺人、专辑等核心信息。
- 歌词查询:一键获取任意歌曲的完整歌词文本。
- 歌手检索与详情:快速定位歌手并获取其详细资料及代表作品。
- 热门歌曲榜单:自动获取歌手最受欢迎的曲目列表。
音乐播放与评论
- 在线试听链接:根据需求获取不同音质等级的音乐播放地址。
- 热门评论提取:智能筛选并返回歌曲的高质量评论,便于用户快速了解口碑。
- 相似歌曲推荐:基于音乐特征,智能推荐与目标歌曲风格相近的作品。
歌单与榜单服务
- 歌单详情查询:支持按歌单编号获取完整歌单信息,涵盖曲目、封面、创建者等。
- 排行榜检索:覆盖主流及特色音乐榜单,助力发现最新流行趋势。
- 用户歌单获取:根据用户昵称,自动获取其公开歌单列表。
曲风与标签体系
- 曲风分类查询:支持按风格名称获取对应曲风下的热门歌曲。
- 风格列表获取:一键获取所有可选音乐风格,便于个性化筛选。
- 榜单名称获取:快速获取所有可用排行榜名称,提升榜单检索效率。
用户与客户端服务
- 用户身份查询:通过昵称获取用户唯一标识,便于个性化服务。
- 本地客户端启动:支持远程启动本地网易云音乐客户端,提升桌面体验。
接口返回格式
所有接口均返回标准结构,便于前后端集成:
{
"code": 200, // 状态码,200 表示成功
"msg": "success", // 状态信息
"data": {...} // 具体数据内容
}
技术与环境要求
- Python 3.8 及以上
- requests
- fastmcp
运行
进入src,然后
python -m ben_music_mcp --transport streamable-http
这里就会运行__main__.py中的逻辑
Metadata
Release files for ben-music-mcp 0.1.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ben_music_mcp-0.1.22.tar.gz | 20.7 kB | Without provenance | Details for ben_music_mcp-0.1.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ben_music_mcp-0.1.22-py3-none-any.whl | Python 3 | none | any | Details for ben_music_mcp-0.1.22-py3-none-any.whl |
Total release size: 44.0 kB
Release files / ben_music_mcp-0.1.22.tar.gz
| Download URL | ben_music_mcp-0.1.22.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35284f3f908b4b51d07df79248651ba28b280c4a80d95c287122eec07a962d9c
|
|
BLAKE2b-256 checksum How to use checksums |
3210fb5679ec134fce87c8b3ab1ab0c15337cc37bc83ba1959fee1875f953959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.0 Windows/11
|
Release files / ben_music_mcp-0.1.22-py3-none-any.whl
| Download URL | ben_music_mcp-0.1.22-py3-none-any.whl |
|---|---|
| Size | 23.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b79853c6ebe7a9e709e7326116903a96416770d131eb7c9cdc8dfde8bf5fb147
|
|
BLAKE2b-256 checksum How to use checksums |
8c3307e76abb98b6a55506a96803aa5c7290ade117a12da7fa007db6c975813c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.0 Windows/11
|
Security for ben-music-mcp 0.1.22
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.