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.0

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.0
File Size Uploaded Provenance Actions
mcp_server_bugpk_music-0.1.0.tar.gz 4.2 kB Without provenance Details for mcp_server_bugpk_music-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / mcp_server_bugpk_music-0.1.0.tar.gz

Download URL mcp_server_bugpk_music-0.1.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
267954c030a3cb20150cef1dadff3304fdab771d1bdc7df2ac219df609e77667
BLAKE2b-256 checksum
How to use checksums
8741c2e6d3f7ab4224a08d300d56250f9143cb8acc8e858622e3f7aacd932c3a
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.0-py3-none-any.whl

Download URL mcp_server_bugpk_music-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb54ff5e50ce6c3d315bf81639f99744adb3133297a453af8238d971f2402bb8
BLAKE2b-256 checksum
How to use checksums
7013bb5b5e87258c48047d4158be2b3ef8174affb89dcfcda3fffcd8d5af42a7
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.0

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.0 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