audible-mcp

audible-mcp

A Model Context Protocol server that enables authenticated access to Audible data for library management, searching, and metadata retrieval. It provides tools for tracking listening statistics, wishlists, and collections using signed-auth workflows.

Category
访问服务器

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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选