MCP.so
ログイン

Ebook-MCP

@onebirdrocks

Ebook-MCP について

A MCP server that supports mainstream eBook formats including EPUB, PDF and more. Simplify your eBook user experience with LLM.

基本情報

カテゴリ

その他

ライセンス

Apache-2.0

ランタイム

python

トランスポート

stdio

公開者

onebirdrocks

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "ebook-mcp": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-e",
        "."
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Ebook-MCP?

Ebook-MCP is a Model Context Protocol (MCP) server for processing electronic books in EPUB and PDF formats. It provides standardized APIs that enable LLM applications to interact with e-book content through natural language conversations.

How to use Ebook-MCP?

Clone the repository, install dependencies with uv pip install -e ., then start the server using uv run mcp dev src/ebook_mcp/main.py for development or uv run src/ebook_mcp/main.py for production. Configure the MCP client (e.g., Cursor) with the provided JSON snippet.

Key features of Ebook-MCP

  • Extract metadata (title, author, dates) from EPUB and PDF.
  • Extract table of contents from EPUB and PDF.
  • Extract chapter content with Markdown output.
  • Batch process multiple EPUB or PDF files.
  • Extract PDF content by page number or chapter title.
  • Markdown output support for both formats.

Use cases of Ebook-MCP

  • Ask "Show me all EPUB files in my downloads folder" for smart library management.
  • Have natural conversations like "Summarize the key points about RAG from this book."
  • Create quizzes or exercises based on book chapters for active learning.
  • Navigate content with queries like "Find all sections discussing prompt engineering."

FAQ from Ebook-MCP

Which ebook formats does Ebook-MCP support?

Currently supports EPUB and PDF formats.

How do I start the Ebook-MCP server in production mode?

Run uv run src/ebook_mcp/main.py from the project directory.

What are the main dependencies of Ebook-MCP?

Key dependencies include ebooklib, PyPDF2, PyMuPDF, beautifulsoup4, html2text, pydantic, and fastmcp.

How do I configure Ebook-MCP with Cursor?

Add the JSON configuration to Cursor with the uv command, pointing to the main.py script in the src/ebook_mcp directory.

Are there any limitations with PDF processing?

PDF processing relies on the document's table of contents; extraction may vary depending on the PDF's structure.

コメント

「その他」の他のコンテンツ