Audiobookshelf

السجل الرسمي البحث والويب

Browse libraries, search books, and control playback in your self-hosted Audiobookshelf instance.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

MCPB package https://github.com/sierikov/audiobookshelf-mcp/releases/download/v0.0.1/audiobookshelf-mcp-macos-arm64.mcpb
MCPB package https://github.com/sierikov/audiobookshelf-mcp/releases/download/v0.0.1/audiobookshelf-mcp-macos-amd64.mcpb
MCPB package https://github.com/sierikov/audiobookshelf-mcp/releases/download/v0.0.1/audiobookshelf-mcp-linux-amd64.mcpb
MCPB package https://github.com/sierikov/audiobookshelf-mcp/releases/download/v0.0.1/audiobookshelf-mcp-linux-arm64.mcpb
MCPB package https://github.com/sierikov/audiobookshelf-mcp/releases/download/v0.0.1/audiobookshelf-mcp-windows-amd64.mcpb

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Audiobookshelf MCP Server
  2. What can it do?
  3. Tools
  4. Install in Claude Desktop (one-click)
  5. Manual setup (all other clients)
  6. Configuration
  7. Security
  8. License

Audiobookshelf MCP Server

A Model Context Protocol server for Audiobookshelf - gives AI assistants access to your self-hosted audiobook and podcast library.

MCP Registry name: mcp-name: io.github.sierikov/audiobookshelf-mcp

What can it do?

Ask your AI assistant things like:

  • "What am I currently listening to?"
  • "Search for Dune in my library"
  • "What are my listening stats?"
  • "What did I listen to recently?"
  • "How far am I in Katabasis?"
  • "What libraries do I have?"

Tools

ToolDescriptionToolset
list_librariesList all librarieslibraries
search_librarySearch by title, author, or narratorlibraries
list_library_itemsList items with paginationlibraries
get_itemGet detailed info about an audiobook or podcastitems
get_items_in_progressGet currently listening items with progressitems
get_listening_statsTotal listening time and daily breakdownplayback
get_listening_sessionsRecent listening sessionsplayback
get_media_progressProgress for a specific itemplayback
list_seriesList all series in a librarybrowse
get_seriesGet series details with booksbrowse
get_authorGet author details with booksbrowse
list_collectionsList collections in a librarybrowse

Default toolsets: libraries, items, playback. The browse toolset is opt-in via AUDIOBOOKSHELF_TOOLSETS.


Install in Claude Desktop (one-click)

Download the .mcpb bundle for your platform, open it, and Claude Desktop will walk you through setup.

The .mcpb format is currently only supported by Claude Desktop. Other clients use the manual setup below.


Manual setup (all other clients)

1. Get your API token

Audiobookshelf → Settings → Users → your user → API Token

2. Install the binary

go install:

go install github.com/sierikov/audiobookshelf-mcp/cmd/audiobookshelf-mcp@latest

Download and install to /usr/local/bin:

macOS (Apple Silicon)

curl -L https://github.com/sierikov/audiobookshelf-mcp/releases/latest/download/audiobookshelf-mcp-macos-arm64 \
  -o /usr/local/bin/audiobookshelf-mcp && chmod +x /usr/local/bin/audiobookshelf-mcp

macOS (Intel)

curl -L https://github.com/sierikov/audiobookshelf-mcp/releases/latest/download/audiobookshelf-mcp-macos-amd64 \
  -o /usr/local/bin/audiobookshelf-mcp && chmod +x /usr/local/bin/audiobookshelf-mcp

Linux (x64)

curl -L https://github.com/sierikov/audiobookshelf-mcp/releases/latest/download/audiobookshelf-mcp-linux-amd64 \
  -o /usr/local/bin/audiobookshelf-mcp && chmod +x /usr/local/bin/audiobookshelf-mcp

Linux (arm64)

curl -L https://github.com/sierikov/audiobookshelf-mcp/releases/latest/download/audiobookshelf-mcp-linux-arm64 \
  -o /usr/local/bin/audiobookshelf-mcp && chmod +x /usr/local/bin/audiobookshelf-mcp

Windows

Download audiobookshelf-mcp-windows-amd64.exe, rename to audiobookshelf-mcp.exe, and place it in a directory on your %PATH% (e.g. C:\Program Files\audiobookshelf-mcp\).

3. Configure your client

Claude Code

claude mcp add audiobookshelf \
  -e AUDIOBOOKSHELF_URL=https://abs.example.com \
  -e AUDIOBOOKSHELF_TOKEN=your-token \
  -- audiobookshelf-mcp

Antigravity CLI (formerly Gemini CLI)

antigravity --add-mcp '{"name":"audiobookshelf","command":"audiobookshelf-mcp","env":{"AUDIOBOOKSHELF_URL":"https://abs.example.com","AUDIOBOOKSHELF_TOKEN":"your-token"}}'

OpenCode

Add to ~/.config/opencode/config.json:

{
  "mcpServers": {
    "audiobookshelf": {
      "type": "stdio",
      "command": "audiobookshelf-mcp",
      "args": [],
      "env": {
        "AUDIOBOOKSHELF_URL": "https://abs.example.com",
        "AUDIOBOOKSHELF_TOKEN": "your-token"
      }
    }
  }
}

Configuration

VariableRequiredDefaultDescription
AUDIOBOOKSHELF_URLYes—Your Audiobookshelf server URL
AUDIOBOOKSHELF_TOKENYes—API token from Settings → Users
AUDIOBOOKSHELF_TOOLSETSNolibraries,items,playbackComma-separated toolsets to enable. Use all to enable everything.

Security

All tools are read-only - no writes, no playback control, no user management. The API token is passed via environment variable, never logged or exposed.

License

MIT

الأسئلة الشائعة

ما هو Audiobookshelf؟

Browse libraries, search books, and control playback in your self-hosted Audiobookshelf instance.

كيف أثبّت Audiobookshelf؟

اتبع خطوات التثبيت في توثيقه المعروض في هذه الصفحة وفي مستودعه.

هل يحتاج Audiobookshelf إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Audiobookshelf مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Audiobookshelf؟

ينشره sierikov. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.