Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables AI assistants to interact with BookLore self-hosted libraries, allowing natural language queries to search books, manage reading status, ratings, series, authors, and highlights.

README.md

booklore-mcp

A Model Context Protocol (MCP) server for BookLore — your self-hosted digital library manager.

Connect Claude (or any MCP-compatible AI client) directly to your BookLore instance to search your library, check reading progress, update statuses and ratings, browse series, explore highlights, and more — all through natural conversation.

---

Requirements

  • BookLore v2.x running and accessible
  • Node.js 22+
  • An MCP-compatible client (Claude Desktop, Cursor, etc.)

---

Installation

From GitHub Packages (recommended)

  1. Add the scope registry to your project's .npmrc (or ~/.npmrc):
   @cyberglitchlabs:registry=https://npm.pkg.github.com
  1. Authenticate with a GitHub personal access token that has read:packages scope:
   //npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
  1. Install the package:
   npm install -g @cyberglitchlabs/booklore-mcp

From source

git clone https://github.com/cyberglitchlabs/booklore-mcp.git
cd booklore-mcp
npm install
npm run build

---

Configuration

BookLore MCP supports two authentication methods.

Option A — API token (recommended if available)

  1. Log in to your BookLore instance
  2. Go to Settings → Profile
  3. Copy your API token

Option B — Username / password

If you don't have easy access to an API token, you can authenticate with your BookLore username and password. The server will log in on startup, cache the access token, and automatically refresh it when it expires.

Environment variables

| Variable | Required | Default | Description | |---|---|---|---| | BOOKLORE_BASE_URL | ❌ | http://localhost:6060 | Base URL of your BookLore instance | | BOOKLORE_TOKEN | ✅ (Option A) | — | Your BookLore API token | | BOOKLORE_USERNAME | ✅ (Option B) | — | BookLore username | | BOOKLORE_PASSWORD | ✅ (Option B) | — | BookLore password |

Set either BOOKLORE_TOKEN or BOOKLORE_USERNAME + BOOKLORE_PASSWORD — not both.

---

Claude Desktop setup

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

If installed via npm

Option A — API token:

{
  "mcpServers": {
    "booklore": {
      "command": "booklore-mcp",
      "env": {
        "BOOKLORE_TOKEN": "your-token-here",
        "BOOKLORE_BASE_URL": "http://localhost:6060"
      }
    }
  }
}

Option B — Username / password:

{
  "mcpServers": {
    "booklore": {
      "command": "booklore-mcp",
      "env": {
        "BOOKLORE_USERNAME": "your-username",
        "BOOKLORE_PASSWORD": "your-password",
        "BOOKLORE_BASE_URL": "http://localhost:6060"
      }
    }
  }
}

If installed from source

Replace "command": "booklore-mcp" with:

"command": "node",
"args": ["/absolute/path/to/booklore-mcp/dist/index.js"]

Restart Claude Desktop after saving.

---

Available tools

Books

| Tool | Description | |---|---| | search_books | Search and filter books by title, author, library, shelf, status, rating, language, and file type | | get_book | Full book details — metadata, progress, files, shelves, Goodreads rating | | update_book_rating | Set personal rating (1–5) | | update_book_status | Set read status (WANT_TO_READ, IN_PROGRESS, READ, DNF) | | get_continue_reading | Books currently in progress | | get_recently_added | Most recently added books |

Libraries

| Tool | Description | |---|---| | list_libraries | List all libraries with book counts and allowed formats | | get_library_books | Browse books in a specific library |

Shelves

| Tool | Description | |---|---| | list_shelves | List all user-created shelves | | list_magic_shelves | List all smart/auto-populated shelves | | get_magic_shelf_books | Browse books on a specific magic shelf |

Series

| Tool | Description | |---|---| | list_series | List or search series with reading progress | | get_series_books | Get all books in a specific series |

Authors

| Tool | Description | |---|---| | list_authors | List or search authors | | get_author | Author bio and book count | | get_author_books | All books by a specific author |

Notebooks

| Tool | Description | |---|---| | list_notebook_books | Books that have highlights or notes | | get_book_notebook_entries | All highlights and notes for a specific book |

---

Usage examples

"What books am I currently reading?"

"Search for sci-fi books I haven't read yet, sorted by most recently added"

"Show me all books in the Dune series"

"What are my highlights from Project Hail Mary?"

"Mark book 42 as read and give it a 5-star rating"

"List all my libraries"

---

Development

# Run in watch mode (auto-recompile on change)
npm run dev

# Type-check without emitting
npx tsc --noEmit

# Build for production
npm run build

# Run tests
npm test

# Lint
npm run lint

---

Disclaimer

BookLore's API is internal and unversioned — it may change between BookLore releases without notice. This MCP server targets BookLore v2.x. If your BookLore instance is updated and tools start failing, check whether the API endpoints or response shapes have changed.

---

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.