npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@puyue/music-mcp

v0.3.0

Published

MCP server for PUYUE AI music generation and music tools.

Readme

PUYUE Music MCP

MCP server for PUYUE AI music generation and music tools. It is designed for MCP-capable clients and agent runtimes such as OpenClaw, WorkBuddy, and Hermes-style long-memory agents.

Tools

Song generation

  • generate_song_from_prompt: submit a prompt-to-song generation task.
  • generate_song_from_lyrics_and_style: submit a custom generation task from title, lyrics, and style tags.
  • generate_song_cover: create a cover generation task from an existing clip.
  • generate_song_mashup: create a mashup from 2 to 5 source clips.
  • generate_song_sample: create a song from a selected source clip time range.
  • extend_song: continue an existing clip.
  • concat_song: concatenate a clip/song.
  • query_generation_result: fetch generated song status, audio URLs, lyrics, and metadata. Pass the songs[].id values returned by generation tools, not task_id.

Lyrics

  • generate_lyrics: generate a lyric draft.
  • mashup_lyrics: merge two lyric drafts.

Audio tools

  • split_audio_stems: submit a stem-splitting task.
  • list_stem_instruments: list professional stem item codes.
  • split_audio_stems_professional: submit a professional stem split for one instrument code.
  • query_stem_split_result: fetch stem split task status and result tracks.
  • convert_audio_to_midi: convert audio into MIDI.
  • convert_midi_to_sheet_music: convert MIDI into sheet music files.
  • analyze_music_style: analyze instruments, genres, tags, and music description.

Mureka, MiniMax, ACE Step, voice cloning, account management, and multipart audio upload are intentionally not exposed in this package version.

Environment

PUYUE_API_KEY=sk-live-...
PUYUE_API_BASE=https://api.yourmusic.fun

PUYUE_API_BASE is optional and defaults to https://api.yourmusic.fun.

Claude Desktop / MCP Config

Use the published npm package:

{
  "mcpServers": {
    "puyue-music": {
      "command": "npx",
      "args": ["-y", "-p", "@puyue/[email protected]", "puyue-music-mcp"],
      "env": {
        "PUYUE_API_KEY": "sk-live-...",
        "PUYUE_API_BASE": "https://api.yourmusic.fun"
      }
    }
  }
}

Or point an MCP client at a local build of dist/index.js:

{
  "mcpServers": {
    "puyue-music-local": {
      "command": "node",
      "args": ["./packages/music-mcp/dist/index.js"],
      "env": {
        "PUYUE_API_KEY": "sk-live-...",
        "PUYUE_API_BASE": "https://api.yourmusic.fun"
      }
    }
  }
}

Local Workspace Test

pnpm --filter @puyue/music-mcp build
PUYUE_API_KEY=sk-live-... node packages/music-mcp/dist/index.js

The server speaks MCP over stdio, so the command waits for an MCP client after startup.