Skip to main content

mcp-server-bugpk-music

A Model Context Protocol server that wraps the BugPk music aggregation API, exposing song resolution (direct audio URL, cover, lyrics) as MCP tools for AI agents.

Supports QQ Music (tencent) and NetEase Cloud Music (netease).

Tools

Tool Description
resolve_music(id, media, type) Core resolver. Returns name / url / cover / author / lyrics
resolve_song(id, media) Structured song fields only
fetch_lyrics(id, media) LRC lyrics only
  • id: QQ Music uses the songmid/media_mid (e.g. 0039MnYb0qxYhV); NetEase uses the numeric song id.
  • media: tencent | netease
  • type: song | mv | url

Install & run

pip install mcp-server-bugpk-music
# or from source:
pip install -e .
# stdio (default) — what imcp.pro / Claude etc. use as a command
bugpk-music

# Streamable HTTP (self-host)
bugpk-music --transport http --port 8080

Client config example

{
  "mcpServers": {
    "bugpk-music": {
      "command": "uvx",
      "args": ["mcp-server-bugpk-music"]
    }
  }
}

Notes

  • The BugPk aggregator depends on the upstream QQ / NetEase services. When its upstream is unstable it may return {"error":"API返回非JSON格式数据"}; the server passes that through transparently instead of crashing.
  • When a song id is not found it returns {"code":0,"msg":"未找到对应数据"}.

License

MIT

Metadata

Release files for mcp-server-bugpk-music 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-bugpk-music 0.1.1
File Size Uploaded Provenance Actions
mcp_server_bugpk_music-0.1.1.tar.gz 4.2 kB Without provenance Details for mcp_server_bugpk_music-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-bugpk-music 0.1.1
File Interpreter ABI Platform Actions
mcp_server_bugpk_music-0.1.1-py3-none-any.whl Python 3 none any Details for mcp_server_bugpk_music-0.1.1-py3-none-any.whl

Total release size: 9.3 kB

Release files / mcp_server_bugpk_music-0.1.1.tar.gz

Download URL mcp_server_bugpk_music-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5322b5891eccb214b4846a69b76ce4cedc3ca5b8414f84b523c8af23c80a6668
BLAKE2b-256 checksum
How to use checksums
07a1f74e5d3e9b13f52c00d791807f834bc73e8ca833458e33da169d38a50473
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / mcp_server_bugpk_music-0.1.1-py3-none-any.whl

Download URL mcp_server_bugpk_music-0.1.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9df57d4ef775015c1b62a6b46f3a5b6c01a618a5af8f5e36836c8145156c5220
BLAKE2b-256 checksum
How to use checksums
80abcb55b65b516a0837fe0a9ded54d654250d2f16fcbf5f14fe7f4ecfea7caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Security for mcp-server-bugpk-music 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page