booklore-mcp

booklore-mcp

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.

Category
Visit Server

README

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
    
  2. Authenticate with a GitHub personal access token that has read:packages scope:

    //npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
    
  3. 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured