Readbook MCP Server

Readbook MCP Server

Enables AI assistants to help users manage their reading experience by searching books, tracking reading progress, managing bookmarks, and generating personalized recommendations and summaries.

Category
Visit Server

README

Readbook MCP Server

A Model Context Protocol (MCP) server for reading books, transformed from the Telegram Mini App readbook project.

Features

This MCP server provides the following tools for AI assistants to help with reading:

Tools

  • search_books - Search for books by title, author, or category
  • get_book_content - Get chapter content of a specific book
  • add_bookmark - Add a bookmark at a specific location
  • get_bookmarks - Get all bookmarks for a book
  • get_reading_progress - Get reading progress for a book
  • update_reading_progress - Update reading progress
  • get_reading_stats - Get overall reading statistics

Resources

  • book_list - List of all available books
  • reading_progress_summary - Summary of reading progress across all books

Prompts

  • reading_recommendation - Get personalized book recommendations
  • reading_summary - Generate a reading summary report

Installation

From Source

  1. Clone the repository:
git clone https://github.com/yourusername/readbook-mcp.git
cd readbook-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "readbook": {
      "command": "node",
      "args": ["/path/to/readbook-mcp/build/index.js"]
    }
  }
}

Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "readbook": {
      "command": "node",
      "args": ["/path/to/readbook-mcp/build/index.js"]
    }
  }
}

Development

Build

npm run build

Watch Mode

npm run watch

Test with MCP Inspector

npm run inspector

Mock Data

The server comes with pre-loaded mock books:

  • JavaScript高级程序设计 by Nicholas C. Zakas (25 chapters)
  • 人类简史 by 尤瓦尔·赫拉利 (20 chapters)
  • 百年孤独 by 加西亚·马尔克斯 (20 chapters)

API Usage Examples

Search Books

// Search by title
await client.callTool({
  name: "search_books",
  arguments: {
    query: "JavaScript",
    searchType: "title"
  }
});

// Search by author
await client.callTool({
  name: "search_books",
  arguments: {
    query: "Nicholas",
    searchType: "author"
  }
});

Get Book Content

await client.callTool({
  name: "get_book_content",
  arguments: {
    bookId: "book_001",
    chapterNumber: 1
  }
});

Add Bookmark

await client.callTool({
  name: "add_bookmark",
  arguments: {
    bookId: "book_001",
    chapterNumber: 3,
    pageNumber: 15,
    note: "Important concept about closures"
  }
});

Update Reading Progress

await client.callTool({
  name: "update_reading_progress",
  arguments: {
    bookId: "book_001",
    chapterNumber: 5,
    pageNumber: 23,
    markChapterCompleted: true
  }
});

Architecture

This MCP server is built using:

  • @modelcontextprotocol/sdk - Official MCP TypeScript SDK
  • TypeScript - Type-safe development
  • Zod - Schema validation
  • Stdio transport - Standard input/output communication

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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
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
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
Qdrant Server

Qdrant Server

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

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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured