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

@freeyourmusic/mcp

v11.3.0

Published

MCP (Model Context Protocol) server for FreeYourMusic: lets AI assistants use your FreeYourMusic account (transfers, library, playlist tools, insights, stats). Stdio transport. Needs FreeYourMusic Pro.

Readme

@freeyourmusic/mcp

An MCP (Model Context Protocol) server for FreeYourMusic. It lets an AI assistant (Claude Desktop, Claude Code, Cursor, Cline, …) use your FreeYourMusic account: connected services, library, transfers, sync, playlist tools, insights, stats and exports. It talks to the same API as the web app at freeyourmusic.com/app. The MCP server needs FreeYourMusic Pro. Stdio transport.

Install for an MCP host

# Claude Desktop
npx -y @freeyourmusic/mcp install --host=claude-desktop
# Claude Code
npx -y @freeyourmusic/mcp install --host=claude-code
# Cursor
npx -y @freeyourmusic/mcp install --host=cursor
# Cline
npx -y @freeyourmusic/mcp install --host=cline
# Print the JSON snippet (manual install)
npx -y @freeyourmusic/mcp install --host=print

Then restart the host. The tools appear under the freeyourmusic server.

To test an RC release, add --env=rc: the entry is called freeyourmusic-staging, runs with FYM_ENV=staging and talks to the RC servers. It can sit next to the production entry.

Sign-in

Ask the assistant to sign in: the tool fym_sign_in answers a code and a link to freeyourmusic.com/app/cli. Open the link, check the code, sign in and tap Allow. The session is shared with the CLI (~/.fym/credentials.json), so fym login in a terminal works too.

Tools

  • fym_status, fym_sign_in: the account, Pro and the connected services.
  • fym_services_connect + fym_services_connect_status: connect a music service in the browser.
  • One tool for each operation of the FreeYourMusic web API (fym_transfers_create, fym_library_tracks, fym_playlists_edits, fym_matches_pick, fym_insights_playlist, fym_stats_section_get, fym_premium_buy, …). Each tool's input schema is the API's own.

Every tool carries the MCP hints readOnlyHint and destructiveHint, so a host can ask before a tool that deletes or replaces data. fym_queue_enqueue carries destructiveHint, because it can run a delete.

Every write to a playlist joins the queue of the account: the tool answers the queue action at once, and FreeYourMusic runs it on the server. fym_queue_get shows how it ended.

The MCP server is a Pro feature. The sign-in asks for an account with Pro. When Pro ends, every tool except the account tools answers an error that says so; fym_premium_plans and fym_premium_buy give the way to renew. Account delete and sign-out-everywhere are CLI-only.

Error reporting

Published builds report unexpected failures to FreeYourMusic's Sentry project. Tokens, tool arguments and request payloads are not attached. Development and test builds do not report. Set FYM_DISABLE_TELEMETRY=1 to turn reporting off, or SENTRY_DSN to use your own destination. MCP protocol output stays on stdout; diagnostics use stderr.

Maintainers

The version and the release branches are those of @freeyourmusic/cli (see its README). Checks: pnpm tsc-lint:fym-mcp, pnpm lint:fym-mcp, pnpm test:fym-mcp.