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

audible-mcp

v1.0.1

Published

Model Context Protocol server for Audible library, wishlist, collections, metadata, and listening stats.

Readme

audible-mcp

CI npm version

audible-mcp is a TypeScript Model Context Protocol server for authenticated Audible read workflows.

It currently exposes signed-auth tools and resources for:

  • library listing
  • collection item listing
  • library search
  • in-progress title listing
  • single library item lookup
  • wishlist listing
  • collections listing
  • chapter lookup by ASIN
  • content metadata by ASIN
  • catalog product metadata by ASIN
  • aggregate listening stats
  • auth validation
  • local auth status

Requirements

  • Node.js 22+
  • an Audible auth bundle created with the login flow in this repo or via the published CLI

Setup

You need an audible-auth.json file before running the MCP server.

If you are working from a local checkout:

npm install
npm run auth:login -- --marketplace us --file .\audible-auth.json

If you are using the published package:

npx audible-mcp auth login --marketplace us --file ./audible-auth.json

The login flow opens Audible/Amazon in your browser, then asks you to paste the final maplanding URL back into the terminal. The resulting audible-auth.json contains live credentials and should not be committed.

If the saved auth expires, refresh the auth bundle without re-registering the device.

Local checkout:

npm run auth:refresh -- --file .\audible-auth.json

Published package:

npx audible-mcp auth refresh --file ./audible-auth.json

Install Via npm

Run the published server directly with npx:

npx -y audible-mcp serve

Run The MCP Server

Start the stdio server directly:

$env:AUDIBLE_AUTH_FILE = ".\audible-auth.json"
npm run mcp:start

After npm publish, the equivalent command is:

AUDIBLE_AUTH_FILE=./audible-auth.json npx audible-mcp serve

Run the end-to-end MCP smoke test:

$env:AUDIBLE_AUTH_FILE = ".\audible-auth.json"
npm run smoke:test

Root Config Files

  • mcp.config.json: local MCP client config for this checkout; gitignored
  • mcp.config.example.json: committed template you can copy and edit for your machine

The local config uses the server command from this repo and points AUDIBLE_AUTH_FILE at the root auth bundle.

Example MCP Config

Using the published npm package:

{
  "mcpServers": {
    "audible": {
      "command": "npx",
      "args": ["-y", "audible-mcp", "serve"],
      "env": {
        "AUDIBLE_AUTH_FILE": "/path/to/audible-auth.json"
      }
    }
  }
}

Using a local checkout:

{
  "mcpServers": {
    "audible": {
      "command": "npm",
      "args": ["run", "mcp:start"],
      "cwd": "/path/to/audible-mcp",
      "env": {
        "AUDIBLE_AUTH_FILE": "/path/to/audible-mcp/audible-auth.json"
      }
    }
  }
}

The committed template in mcp.config.example.json uses the published package.

Available Tools

  • audible_list_library
  • audible_list_collection_items
  • audible_search_library
  • audible_list_in_progress_titles
  • audible_get_library_item
  • audible_list_wishlist
  • audible_list_collections
  • audible_get_chapters
  • audible_get_content_metadata
  • audible_get_catalog_product
  • audible_get_listening_stats
  • audible_validate_auth
  • audible_get_auth_status

Available Resources

  • audible://auth/status
  • audible://wishlist
  • audible://collections
  • audible://collections/{collectionId}/items
  • audible://library/{asin}
  • audible://content/{asin}/metadata
  • audible://catalog/{asin}

Development Scripts

  • npm run auth:login
  • npm run auth:refresh
  • npm run mcp:start
  • npm run smoke:test
  • npm run typecheck
  • npm run test
  • npm run build
  • npm run check

Notes

  • Signed auth is the working API path in this repo.
  • audible-auth.json contains private credentials and should be treated as a secret.
  • The main CLI supports serve, auth login, and auth refresh.
  • CI runs npm run check on pushes to master and on pull requests.

Security

  • Do not commit audible-auth.json.
  • If the auth bundle is ever exposed, revoke or replace it by generating a new device registration.
  • mcp.config.json is local-only and should stay uncommitted.