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

@zyx1121/apple-music-mcp

v0.2.1

Published

MCP server for Apple Music — control playback, search library, and manage playlists via Claude Code

Downloads

518

Readme

@zyx1121/apple-music-mcp

MCP server for Apple Music — control playback, manage playlists, and search your library via Claude Code.

Install

claude mcp add apple-music -- npx @zyx1121/apple-music-mcp

Prerequisites

  • macOS with Music.app configured
  • Node.js >= 18
  • First run will prompt for Automation permission (System Settings > Privacy & Security > Automation)

Tools

Playback

| Tool | Description | |------|-------------| | music_get_status | Get current playback status and track info | | music_play | Play or resume music | | music_pause | Pause music | | music_next | Skip to next track | | music_previous | Go to previous track | | music_set_volume | Set volume (0-100) | | music_set_shuffle | Enable or disable shuffle | | music_set_repeat | Set repeat mode (off, one, all) | | music_play_track | Play a specific track by searching for it | | music_play_next | Queue a track to play next | | music_get_queue | Get info about the currently playing track |

Playlists

| Tool | Description | |------|-------------| | music_get_playlists | List all playlists | | music_play_playlist | Play a specific playlist | | music_get_playlist_tracks | List tracks in a playlist | | music_create_playlist | Create a new playlist | | music_add_to_playlist | Add a track to a playlist by searching for it | | music_remove_from_playlist | Remove a track from a playlist by name |

Library

| Tool | Description | |------|-------------| | music_search | Search tracks in the music library |

Examples

"What's playing?"                → music_get_status
"Play some music"                → music_play
"Skip this song"                 → music_next
"Set volume to 50"               → music_set_volume { volume: 50 }
"Search for Coldplay"            → music_search { query: "Coldplay" }
"Play Yellow"                    → music_play_track { query: "Yellow" }
"Create a playlist"              → music_create_playlist { name: "Chill Vibes" }
"Add song to playlist"           → music_add_to_playlist { playlist: "Chill Vibes", query: "Yellow" }
"Show playlist tracks"           → music_get_playlist_tracks { playlist: "Chill Vibes" }

Limitations

  • macOS only (uses AppleScript via osascript)
  • Music.app must be running
  • Apple Music does not expose a queue/up-next API via AppleScript — music_get_queue returns current track info only

License

MIT