Overview
What is Mobi Mcp?
Mobi Mcp is an MCP server that provides tools for reading and extracting data from Mobi ebook files. It wraps the @lingo-reader/mobi-parser API, making it accessible through the Model Context Protocol for use with AI assistants.
How to use Mobi Mcp?
The server exposes several MCP tools. To read a Mobi file, provide its absolute file path as the filePath parameter to the initEpubFile tool, then use the other tools (e.g., loadChapter, getSpine, getToc) to access different parts of the ebook.
Key features of Mobi Mcp
initEpubFile– reset or initialize a Mobi file from its absolute pathgetSpine– retrieve the spine (reading order) of the ebookgetToc– extract the table of contentsloadChapter– load the content of a specific chaptergetCoverImage– get the cover image datagetFileInfo– obtain basic file informationgetMetadata– retrieve ebook metadata (title, author, etc.)resolveHref– resolve hyperlinks within the ebook
Use cases of Mobi Mcp
- Reading and extracting chapter content from Mobi files
- Retrieving ebook metadata and table of contents
- Obtaining cover images from Mobi ebooks
- Navigating the structure (spine) of a Mobi file
- Resolving internal hyperlinks within the ebook
FAQ from Mobi Mcp
—