Audiobookshelf MCP Server
by ni-cio.github.ni-c/audiobookshelf-mcpv0.4.0
Browse an Audiobookshelf library, query listening history and stats, and sync progress, bookmarks, collections and playlists, with optional read-only mode.
context tax
queued
security
queued
cold start
queued
freshness
Active4d ago
Install Audiobookshelf MCP server
Install in Claude Code
claude mcp add audiobookshelf -e AUDIOBOOKSHELF_URL='<audiobookshelf-url>' -e AUDIOBOOKSHELF_API_KEY='<audiobookshelf-api-key>' -- npx -y audiobookshelf-mcpInstall in Cursor
{
"mcpServers": {
"audiobookshelf": {
"command": "npx",
"args": [
"-y",
"audiobookshelf-mcp"
],
"env": {
"AUDIOBOOKSHELF_URL": "<audiobookshelf-url>",
"AUDIOBOOKSHELF_API_KEY": "<audiobookshelf-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"audiobookshelf": {
"command": "npx",
"args": [
"-y",
"audiobookshelf-mcp"
],
"env": {
"AUDIOBOOKSHELF_URL": "<audiobookshelf-url>",
"AUDIOBOOKSHELF_API_KEY": "<audiobookshelf-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"audiobookshelf": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"audiobookshelf-mcp"
],
"env": {
"AUDIOBOOKSHELF_URL": "<audiobookshelf-url>",
"AUDIOBOOKSHELF_API_KEY": "<audiobookshelf-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"audiobookshelf": {
"command": "npx",
"args": [
"-y",
"audiobookshelf-mcp"
],
"env": {
"AUDIOBOOKSHELF_URL": "<audiobookshelf-url>",
"AUDIOBOOKSHELF_API_KEY": "<audiobookshelf-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| AUDIOBOOKSHELF_URL | yes | — | Base URL of the Audiobookshelf instance, e.g. https://abs.example.com |
| AUDIOBOOKSHELF_API_KEY | yes | yes | API key from Settings -> Users -> API Keys (Audiobookshelf 2.26.0 or newer) |
| AUDIOBOOKSHELF_READ_ONLY | — | — | Set to true to register only the 29 read tools and no write tools |
| AUDIOBOOKSHELF_INSECURE_TLS | — | — | Set to true to accept self-signed certificates for this connection only |
| AUDIOBOOKSHELF_ALLOW_TOOLS | — | — | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
| AUDIOBOOKSHELF_DENY_TOOLS | — | — | Comma-separated tool names or list_* prefixes to remove from whatever AUDIOBOOKSHELF_ALLOW_TOOLS left |
Freshness
Active — last maintenance signal 4d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-06 · 4d ago · GitHub
Latest release
2026-09-07 · 33d ago · GitHub · v0.4.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-07 · 33d ago · official registry · v0.4.0
FAQ
›How do I install the Audiobookshelf MCP server in Claude Code?
Run: claude mcp add audiobookshelf -e AUDIOBOOKSHELF_URL='<audiobookshelf-url>' -e AUDIOBOOKSHELF_API_KEY='<audiobookshelf-api-key>' -- npx -y audiobookshelf-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Audiobookshelf require an API key?
Yes. It expects AUDIOBOOKSHELF_URL, AUDIOBOOKSHELF_API_KEY, of which 1 is a secret.
›Can I use Audiobookshelf as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Audiobookshelf in the official MCP registry?
Yes, as io.github.ni-c/audiobookshelf-mcp.
Alternatives to Audiobookshelf
Other images, video & audio MCP servers.