Skip to main content

mcp-server-cxzja-music

MCP (Model Context Protocol) server exposing the 残像API 网抑云音乐 (NetEase Cloud Music) search & playback API. Lets AI clients search songs by keyword and resolve them into direct audio URLs, covers and lyrics.

API docs: https://api.cxzja.cn/docx-wyymusic.html

Features

  • search_music(keyword, n, br) — search and return song details at index n
  • resolve_music(song_id, br) — resolve a song id into a direct audio URL
  • fetch_lyrics(keyword, n) — return LRC lyrics for a search result

Supports multiple audio qualities: jymaster, dolby, sky, hires, lossless, exhigh, standard.

Quick start

pip install mcp-server-cxzja-music
mcp-server-cxzja-music            # stdio (default)
mcp-server-cxzja-music --transport streamable-http --port 8000

Or run directly without installing:

uvx mcp-server-cxzja-music

Token

The API needs your personal 残像API token. No token is baked into the package. It is resolved in this order:

  1. per-call token tool parameter
  2. --token CLI argument
  3. CXZJA_TOKEN environment variable

If none is set, the tools return a clear error. Recommended for imcp.pro: set CXZJA_TOKEN in the MCP service's environment (or pass --token=<YOUR_TOKEN> as a CLI argument if the platform supports it).

For a shared/public deployment, prefer setting CXZJA_TOKEN (or a per-call token) over relying on the baked default.

imcp.pro configuration

Create an MCP service with:

  • Transport: stdio
  • Command: uvx
  • Args: mcp-server-cxzja-music
  • Environment: add CXZJA_TOKEN=<your token> (if the platform exposes an environment-variables field), otherwise append --token=<your token> to the Args field.

Then bind it to an Agent and export the gateway WebSocket into Xiaozhi.

Metadata

Release files for mcp-server-cxzja-music 0.1.3

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-cxzja-music 0.1.3
File Size Uploaded Provenance Actions
mcp_server_cxzja_music-0.1.3.tar.gz 4.9 kB Without provenance Details for mcp_server_cxzja_music-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / mcp_server_cxzja_music-0.1.3.tar.gz

Download URL mcp_server_cxzja_music-0.1.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
68dbe6611c6fdc1a389417a770271c92bd9abda59195fe61bed0c876ecc9b443
BLAKE2b-256 checksum
How to use checksums
13e6fa51b516930fd0212ca725f482baa9762be1ae4f08ff2eb099d9016e6128
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_cxzja_music-0.1.3-py3-none-any.whl

Download URL mcp_server_cxzja_music-0.1.3-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1041c88e938a529eb1c4862b9599d47a7b9917a6c38da406e46720bef3789c34
BLAKE2b-256 checksum
How to use checksums
65e8959b586dc6c6b15cc0ceff1b3e5de1c30eff9541cc3737f5412775c5cf1a
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-cxzja-music 0.1.3

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.

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