Readbook MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 categoryget_book_content- Get chapter content of a specific bookadd_bookmark- Add a bookmark at a specific locationget_bookmarks- Get all bookmarks for a bookget_reading_progress- Get reading progress for a bookupdate_reading_progress- Update reading progressget_reading_stats- Get overall reading statistics
Resources
book_list- List of all available booksreading_progress_summary- Summary of reading progress across all books
Prompts
reading_recommendation- Get personalized book recommendationsreading_summary- Generate a reading summary report
Related MCP server: booklore-mcp
Installation
From Source
Clone the repository:
git clone https://github.com/yourusername/readbook-mcp.git
cd readbook-mcpInstall dependencies:
npm installBuild the project:
npm run buildConfiguration
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 buildWatch Mode
npm run watchTest with MCP Inspector
npm run inspectorMock 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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI assistant integration for Leaf — track books, log reading sessions, and manage your library.
Turn books in your private library into tables of contents, summaries and study docs.
1The media memory layer for AI agents and their humans. Your AI client can search your collection, add and log what you've finished, update ratings and lists, and find patterns across everything you've read, watched, played, and listened to.
Save, search, read, tag, and organize your bookmarks from AI assistants with OAuth sign-in.
Related MCP Servers
- AlicenseAqualityBmaintenanceConnects AI assistants to the Hardcover book library, enabling natural language book searches, reading status updates, list management, and library exploration.28143 PyPI10MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to interact with BookLore self-hosted libraries, allowing natural language queries to search books, manage reading status, ratings, series, authors, and highlights.71-
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with e-books, supporting EPUB and PDF formats. Provides APIs for metadata extraction, table of contents, and content retrieval for AI-powered reading and learning.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query a local reader's current state (book, chapter, CFI, visible text, selection) and perform actions like opening books, navigating by CFI or progress, searching, and creating or clearing highlights.MIT