OE

onebirdrocks/ebook-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

399 stars 56 forks 质量 60 趋势 0Apache-2.0

onebirdrocks/ebook-mcp 是从 https://github.com/onebirdrocks/ebook-mcp. 导入的 MCP 服务器候选服务器。

概览

onebirdrocks/ebook-mcp 是从 https://github.com/onebirdrocks/ebook-mcp. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

英文 |中文 |日本語 |한국어 |法语 |德语

Ebook-MCP 是一款强大的模型上下文协议(MCP)服务器,用于处理电子书籍。基于模型上下文协议,它提供一套标准化 API,实现 LLM 应用与电子书处理能力之间的无缝集成。目前支持 EPUB 和 PDF 格式。

用例与价值

Ebook-MCP 通过实现阅读材料与自然语言对话,改变了你与数字书籍的互动方式。它与现代 AI 驱动的集成开发环境如 Cursor 和 Claude 无缝集成,使你能够:

  • 智能图书馆管理:只需询问“显示我下载文件夹中的所有EPUB文件”或“在我的图书馆中查找有关生成式人工智能的书籍”
  • 互动阅读体验:自然地讨论你的书籍:
  • “请简要介绍一下’LLM工程师手册’”
  • “第三章涵盖了哪些内容?”
  • “总结本书中关于RAG的关键要点”
  • 主动学习支持:通过AI驱动的互动提升您的学习效果:
  • “基于第五章RAG概念创建测验”
  • “解释本章讨论的架构之间的差异”

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Ebook-MCP

English | 中文 | 日本語 | 한국어 | Français | Deutsch

Ebook-MCP is a powerful Model Context Protocol (MCP) server for processing electronic books. Built on the Model Context Protocol, it provides a set of standardized APIs for seamless integration between LLM applications and e-book processing capabilities. Currently supports EPUB and PDF formats.

Use Cases & Value

Ebook-MCP transforms how you interact with your digital books by enabling natural language conversations with your reading materials. It seamlessly integrates with modern AI-powered IDEs like Cursor and Claude, allowing you to:

  • Smart Library Management: Simply ask “Show me all EPUB files in my downloads folder” or “Find books about GenAI in my library”
  • Interactive Reading Experience: Have natural conversations about your books:
    • “Give me a brief introduction to ‘LLM Engineer Handbook’”
    • “What’s covered in Chapter 3?”
    • “Summarize the key points about RAG from this book”
  • Active Learning Support: Enhance your learning through AI-powered interactions:
    • “Create a quiz based on the RAG concepts from Chapter 5”
    • “Explain the differences between the architectures discussed in this chapter”
    • “Give me practical exercises based on the concepts in this section”
  • Content Navigation: Easily navigate through your books with natural language queries:
    • “Find all sections discussing prompt engineering”
    • “Show me the chapters about fine-tuning”
    • “Take me to the part about vector databases”

By bridging the gap between traditional e-books and AI capabilities, Ebook-MCP helps readers extract more value from their digital library through intuitive, conversation-based interactions.

Quick demo - Run with DeepSeek (Please check all the examples with Claude/OpenAI under mcp-client-example folder)

Query:Please check all the epub books in my download folder. user id is onebird.
......

Query: Can you ask me a few questions to test my understanding of this book?

Answer: Sure! Here are 5 questions about Elon Musk by Walter Isaacson to test your understanding of the book. Please answer based on your knowledge — I’ll give feedback and add details after each response.

Question 1:
How did Musk’s childhood and family background shape his personality and career later in life?
在 GitHub 查看完整 README

安装

npx @modelcontextprotocol/inspector uv --directory . run src/ebook_mcp/main.py
新手?先看 mcpskill.org 教程 →