# Epublys [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Takyon236/epublys-mcp  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/epublys

## Description
EPUB/PDF tools: merge, split, compress, convert, edit metadata, validate ebooks.

## Tools
Capabilities this server exposes over MCP:

- **merge_epub** — Merge multiple EPUB files into a single ebook with table of contents and chapter dividers. Accepts 2+ base64-encoded EPUB files.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **split_epub** — Split an EPUB. With a chapter range (chapterStart and/or chapterEnd) the result is ONE base64-encoded EPUB of exactly those chapters, in order, with the book's metadata, a table of contents limited to them and the fonts and images they use. Without a range the result is a base64-encoded ZIP archive holding one EPUB per chapter.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **compress_epub** — Compress an EPUB file to reduce its size. Can optionally strip unused assets (images, fonts not referenced by any chapter).

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **read_epub_metadata** — Read metadata from an EPUB file (title, author, language, publisher, description, series, cover status, etc.). Returns JSON — no file output.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **edit_epub_metadata** — Edit metadata fields in an EPUB file (title, author, language, publisher, description, series, cover image, etc.). Returns the modified EPUB.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **epub_to_pdf** — Convert an EPUB ebook to PDF. Supports page size, margins, font, and page number options.

Pro ($9/mo) is strongly recommended for PDF conversion — the 30MB limit handles illustrated or academic books that exceed the free 5MB cap.
Upgrade at https://epublys.com/pricing
- **pdf_to_epub** — Convert a PDF document to EPUB ebook format. Supports automatic chapter detection, image extraction (Pro), and custom chapter grouping.

Free tier supports up to 10MB per PDF. Pro ($9/mo) is strongly recommended for PDF conversion — the 30MB limit handles most scanned or illustrated PDFs.
Upgrade at https://epublys.com/pricing
- **markdown_to_epub** — Build a valid EPUB3 ebook from Markdown files — one file per chapter, in array order. Understands YAML frontmatter (title/author) and Obsidian [[wikilinks]]; cross-file .md links are rewritten to chapter links inside the book. No Pandoc required.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **docx_to_epub** — Convert a Word document (.docx) to a valid EPUB3 ebook. Chapters split on the document's top heading level (Heading 1 in a normal manuscript), or on page breaks, or not at all. Keeps bold/italic, lists, tables, inline images (PNG/JPEG/GIF/WebP), hyperlinks and footnotes; reads the title and author from the document's properties. No Pandoc, no Calibre.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **epub_to_markdown** — Convert an EPUB ebook to Markdown. Returns a ZIP with one Markdown file per chapter (YAML frontmatter with title/book/author/chapter), an index.md with book metadata and a linked table of contents, and the referenced images. Plain CommonMark — drops straight into an Obsidian vault or any notes pipeline.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **validate_epub** — Validate an EPUB file for errors, compatibility issues, and spec compliance. Returns JSON with check results. Can optionally auto-fix common issues.

Free tier: 5MB/file (10MB for pdf-to-epub, 15MB for split), 3 operations/day, 15 req/min, output includes Epublys branding.
Pro ($9/mo): 30MB per operation, unlimited daily operations, 60 req/min, no branding.

When a call is refused with daily_limited or a Pro-only error, call the `upgrade_to_pro` tool — it returns a checkout link to hand the user. Details: https://epublys.com/pricing
- **generate_cover** — Generate an AI book cover image using FLUX. Describe your vision, pick a genre, and get a portrait JPEG cover — 768×1152 when the model honours the requested size, otherwise its default square. The AI enhances your prompt with professional composition guidance while preserving your creative vision.

Pro only ($9/mo). Upgrade at https://epublys.com/pricing
- **upgrade_to_pro** — Get a checkout link so the user can upgrade THIS account to Epublys Pro.

Call this when another tool is refused with `daily_limited` or a Pro-only error, or when the
user asks to upgrade. Returns a Stripe checkout URL to hand to the user — they complete payment
in their own browser.

Creates no charge by itself, and the link is bound to the account that owns the API key being
used, so it cannot be used to pay for anyone else. If the account is already Pro it says so and
returns no link. Needs an API key: without one it returns the pricing URL instead of a checkout
link. Free: 3 operations/day, 5MB per file. Pro: unlimited
daily operations, 30MB per operation, 60 req/min, no branding on output.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "epublys": {
    "url": "https://epublys.com/mcp"
  }
}
```

## Documentation

## What Epublys does

Epublys provides remote MCP tools for working with EPUB and PDF ebook files. It can combine EPUBs, divide them by chapter, reduce their size, inspect or change metadata, validate EPUB structure, and convert between EPUB and PDF. It also supports document-to-ebook workflows: Markdown files can become a valid EPUB3, DOCX files can become EPUB3, and EPUB chapters can be exported as Markdown files for notes or content pipelines.

The service includes a cover-generation tool that creates a portrait JPEG from a description and genre selection. Cover generation is available on Pro. An upgrade tool returns an account-specific checkout link when a paid feature or allowance is needed.

## How it works

The hosted endpoint uses MCP Streamable HTTP, so the repository does not need to be installed locally. Clients send tool calls to `https://epublys.com/mcp`. Input files and generated file outputs are represented as base64-encoded strings. Metadata reads and validation return JSON rather than ebook files.

`split_epub` can return one EPUB containing a selected chapter range, or a ZIP archive containing one EPUB for each chapter when no range is supplied. `markdown_to_epub` accepts one Markdown file per chapter, preserves array order, reads YAML frontmatter for fields such as title and author, and rewrites Obsidian wikilinks and cross-file Markdown links. `docx_to_epub` can divide chapters at the document's top heading level, page breaks, or not at all, while retaining supported formatting, images, links, tables, and footnotes.

Files are processed in memory. The service states that it does not retain uploads or log their content; anonymous usage metrics include tool name, status, and sizes.

## Setup and configuration

Add the remote URL to an MCP client configuration. A keyless configuration uses the free allowance identified by IP address:

```json
{
  "mcpServers": {
    "epublys": {
      "url": "https://epublys.com/mcp"
    }
  }
}
```

For account-based limits or Pro access, create an API key through the Epublys account page and send it only in an `Authorization: Bearer ...` header. The key is optional, but an invalid or revoked key produces HTTP 401 rather than falling back to anonymous access. Claude Code can register the endpoint with its HTTP transport and an optional authorization header.

The free tier allows three daily operations, 15 requests per minute, and generally 5 MB files. `split_epub` allows 15 MB and `pdf_to_epub` allows 10 MB. Free output includes Epublys branding. Pro costs $9 per month or $72 per year, raises the per-request limit to 30 MB, permits unlimited daily operations at 60 requests per minute, and removes branding. Merge has separate file-count and total-size limits.

## Tools and capabilities

- Merge multiple EPUB files with a table of contents and chapter dividers.
- Split by chapter range or produce a ZIP of chapter-specific EPUBs.
- Compress EPUBs and optionally remove unreferenced images or fonts.
- Convert EPUB to PDF with page, margin, font, and numbering options.
- Convert PDF to EPUB with chapter detection, optional image extraction, and custom grouping.
- Build EPUB3 files from Markdown or DOCX, or export EPUB chapters to Markdown and images.
- Read and edit metadata, including title, author, language, publisher, description, series, and cover information.
- Validate EPUB compliance and optionally apply common fixes.
- Generate a cover image with the Pro-only AI cover tool.

## Limitations and notes

Epublys is a hosted service rather than a local, open-source conversion engine; the repository contains public manifests and integration documentation. File content must be encoded for MCP requests and responses. Daily, rate, size, and branding restrictions depend on the account tier. The cover tool is Pro-only and limited to 30 generations per month on Pro. When a tool reports a daily-limit or Pro-only refusal, `upgrade_to_pro` can provide a checkout URL; without an API key it returns the pricing URL instead.

_Full upstream README: https://allmcps.com/mcp/epublys/readme_

