Token导航 LogoToken导航TokenDH.com
Futher MCP logo
开发工具stdio官方级别未说明来源级核验

Futher MCP

MCP Server

Further-MCP是一个集成了OpenLibrary搜索功能的电子书处理工具,支持EPUB/PDF文件的元数据提取、章节转换和内容搜索,适用于个人阅读管理和开发集成。

工具数

12

提示词数

0

GitHub Stars

1

资源数

0
开发工具PythonClaudeClaude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

TECHIES-V1

提供方

TECHIES-V1

最后核验

2026/5/17 20:22

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

python -m pip install -r requirements.txt

详细介绍

Further-MCP

Further-MCP merges the PDF/EPUB processing layer from ebook-mcp with the OpenLibrary discovery tools. You get:

  • Book search intelligence powered by OpenLibrary with keyword-aware query construction.
  • Flexible ebook conversion – metadata, table of contents, and chapter-level Markdown for EPUB/PDF files.
  • Dual interfaces: launch as a FastAPI app or a FastMCP pack (Claude/Desktop friendly) without touching another repo.
  • Deploy-ready for modern hosts (Railway, Render) with .env-controlled configuration.

Quick Start

  1. Install dependencies
   python -m pip install -r requirements.txt
  1. Prepare environment

- Copy .env.example to .env and adjust any of the discovery endpoints if you need self-hosted mirrors: - OPENLIBRARY_BASE_URL / OPENLIBRARY_SEARCH_URL - OPENARCHIVE_BASE_URL - GUTENDEX_BASE_URL - STANDARD_EBOOKS_OPDS_URL - EBOOK_ROOT_PATH - LOG_LEVEL - Drop EPUB/PDF files under the configured EBOOK_ROOT_PATH.

  1. Run the FastAPI layer
    further-mcp-fastapi

Defaults to 0.0.0.0:8000. Use uvicorn arguments if you need HTTPS, auto-reload, etc.

  1. Run the FastMCP pack
   further-mcp

This spins up a FastMCP (stdio) server ready for Claude Desktop or other MCP clients.

  1. Run the test suite
   pytest

FastAPI Endpoints

PathMethodDescription
/searchGETSmart OpenLibrary search. Use keywords (e.g., keywords=Python&keywords=Introduction).
/search_authorGETFind author information + works.
/ebooks/listGETList EPUB/PDF files inside the configured root.
/ebooks/metadataGETReturns metadata for a given file.
/ebooks/tocGETReturns TOC for EPUB/PDF.
/ebooks/epub/chapter-markdownGETGet chapter Markdown (chapter param).
/ebooks/pdf/chapter-textGETGet text + pages for a PDF chapter title match.
/pipeline/fetch-parsePOSTDownload a discovery URL (EPUB/PDF/text), save it under EBOOK_ROOT_PATH, and return a parsed summary of the first few pages/chapters (send JSON payload, see below).
/pipeline/topicPOSTSearch by topic, download up to download_limit books, parse them, and return AI-readable summaries.
/pipeline/topic/sseGETSSE stream variant of /pipeline/topic for live agent consumption.
/discovery/searchGETAggregate Gutendex / OpenLibrary / Standard Ebooks results with downloadable EPUB/PDF URLs (use sources=gutendex).
/discovery/gutendexGETSearch Gutendex directly.
/discovery/openlibraryGETSearch OpenLibrary and include Internet Archive download URLs for ia editions.
/discovery/standard-ebooksGETQuery the Standard Ebooks OPDS catalog for high quality EPUBs.

Use the /health endpoint (GET /health) to confirm the FastAPI server is alive.

Pipeline fetch + parse request

Call /pipeline/fetch-parse with JSON (Content-Type: application/json):

{
  "url": "https://www.gutenberg.org/ebooks/51804.epub3.images",
  "limit_pages": 2,
  "limit_chapters": 2
}

Topic pipeline request

Call /pipeline/topic with JSON (Content-Type: application/json):

{
  "query": "python programming",
  "limit": 30,
  "download_limit": 30
}

SSE stream variant:

curl -N "http://localhost:8000/pipeline/topic/sse?query=python%20programming&limit=30&download_limit=30"

The response is structured so the AI can read it directly:

{
  "relative_path": "downloaded/3e6a3f8c8a7c_Plague_of_Pythons.epub",
  "format": "epub",
  "size_bytes": 123456,
  "summary": "First couple paragraphs from chapter 1..."
}

Discovery Sources

Further-MCP reaches out to the following discovery APIs so the MCP can deliver direct EPUB/PDF links:

  1. Gutendex (Project Gutenberg mirror)GET /discovery/gutendex calls https://gutendex.com/books/?search= and returns EPUB/plain text download URLs for 76,000+ public domain books.
  2. Open Library + Internet ArchiveGET /discovery/openlibrary consumes https://openlibrary.org/search.json?q= and attaches Internet Archive downloads (e.g., https://archive.org/download/{id}/{id}.pdf).
  3. Standard Ebooks OPDS feedGET /discovery/standard-ebooks queries https://standardebooks.org/opds (with search=) to serve beautifully typeset EPUBs via OPDS acquisition links.

The combined endpoint (/discovery/search) orchestrates these sources by default; pass sources=gutendex&sources=openlibrary to narrow the results.

FastMCP Tools

Register the pack in Claude/Desktop using further-mcp (FastMCP) command. Available tools:

  • search_books(query: str, keywords: list[str] | None = None, limit: int = 10) -> OpenLibrary
  • search_author(query: str) -> AuthorDetails
  • search_author_with_book_name(query: str) -> AuthorDetails
  • list_ebooks() -> dict
  • get_epub_metadata(relative_path: str)
  • get_pdf_metadata(relative_path: str)
  • get_epub_toc(relative_path: str)
  • get_pdf_toc(relative_path: str)
  • get_epub_chapter_markdown(relative_path: str, chapter_id: str)
  • get_pdf_chapter_text(relative_path: str, chapter_title: str)
  • discover_books(query: str, sources: list[str] | None = None, limit: int = 5)
  • fetch_and_parse_book(url: str, limit_pages: int = 3, limit_chapters: int = 3)

.env configuration

OPENLIBRARY_BASE_URL=https://openlibrary.org
OPENLIBRARY_SEARCH_URL=https://openlibrary.org/search.json
OPENARCHIVE_BASE_URL=https://archive.org/download
GUTENDEX_BASE_URL=https://gutendex.com/books/
STANDARD_EBOOKS_OPDS_URL=https://standardebooks.org/opds
EBOOK_ROOT_PATH=ebooks
LOG_LEVEL=INFO
FURTHER_MCP_LOG_DIR=/tmp/further_mcp_logs

The FastAPI server and MCP layer both respect the same environment file, so they stay aligned in deployments (Railway/Render) and local dev.

Packaging for MCPB

The further-mcp.pack.json manifest describes this project as a deployable mcpb pack. Claude/Desktop or MCP pack managers can point to it when installing the pack.

Deployment hints

  1. Railway/Render

- Build command: pip install -r requirements.txt && pip install . - Start command: uvicorn main:app --host 0.0.0.0 --port $PORT - Configure the .env variables via the service’s UI.

  1. Logs

- Structured logs land in the directory set by FURTHER_MCP_LOG_DIR (/tmp/further_mcp_logs by default), while stdout/stderr carries a readable mirror.

Requirements

  • fastapi >=0.116.0
  • fastmcp >=2.11.1
  • uvicorn >=0.24.0
  • ebooklib >=0.19
  • PyMuPDF >=1.26.3
  • beautifulsoup4 >=4.13.4
  • html2text >=2025.4.15
  • pydantic >=2.11.7
  • httpx >=0.28.0
  • python-dotenv >=1.1.0

Refer to requirements.txt for the pinned versions used in this workspace.

目录标签

目录标签

开发工具PythonClaude电子书处理本地部署OpenLibrary搜索EPUB转换PDF处理

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

12

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP