Skip to main content
Glama

Book Recommendations — “我接下来该读什么?” MCP 📚🎲

CI License: MIT PyPI

面向 AI 智能体的书籍推荐:“我接下来该读什么?”从数百万部作品里寻找答案——主题推荐、被书的真实第一句钩住的盲盒式随机偶遇,以及你现在就能开始读的免费公有领域经典。零 API 密钥。

你可以让任何 AI 智能体问 “我接下来该读什么?”、“推荐几本像《Dune》那样的书” 或 “给我一本让我惊喜的书”——book-recommendations 就是回答这些问题的工具。

为什么存在

  • 大语言模型对每个问题都会推荐同样的 50 本经典书。这个工具会从 OpenLibrary 的数百万部作品中“打捞”——包括一种 盲选转盘:以随机深度挑出一个随机的主题书架,刻意避开畅销榜,并在揭晓之前用书的 真实第一句 把你钩住。

  • 每张卡片上的“现在就能读”智能:read_now 标明一本书何时可在 archive.org 上自由阅读(公开)或可借阅(免费借阅)——立即开读好过一个购物链接。

  • 免费经典:通过 Project Gutenberg 提供(fail-soft:当 Gutenberg 索引不可用时,错误指向 archive.org 替代资源)。

  • 如实说明挑选原因:每张卡片上面都会写 why\_picked——这本书到底是怎么被选中的。发现结果尽可放心。

Related MCP server: Open Library MCP Server

工具

工具

作用

recommend

按主题、心情或“类似 X 的书”推荐书目,包含评分、主题、第一句和即时可读标记

blind_date

随机转盘:随机书架、随机深度、首句钩子、两段式揭晓

free_classics

公有领域书籍,附即读链接(Gutenberg,fail-soft)

skills\_list / skill\_read

可更新的操作手册(展示、错误恢复)

还有一个提示词:what-should-i-read-next。

Quickstart

# 1-Line Universal Installer (auto-configures Claude Desktop, Cursor, Claude Code, VS Code, ...)
curl -fsSL "https://book-recommendations.builditwithai.xyz/install" | bash

# Or run directly via your preferred runtime:
uvx book-recommendations
npx -y book-recommendations

示例

User:  surprise me with a book

blind_date()
→ picks: [{
     first_sentence: "The lighthouse kept its own counsel…",
     subjects: ["lighthouses", "islands", "solitude"], first_published: 1962,
     why_picked: "blind date: fished the “lighthouses” shelf at depth 3 — picked
                  for serendipity, not sales rank",
     title: "…", author: "…", read_now: "borrowable at archive.org",
     openlibrary_url: "https://openlibrary.org/works/…" }]

先呈现钩子,再完成揭晓——这个两段式结构本身就是产品。

遥测与隐私

匿名使用遥测(不含个人身份信息、查询和路径)通过 fleet 标准(schema v2、双端 fallback)收集。你可以随时退出:BOOK_RECOMMENDATIONS_TELEMETRY=false 或 DO_NOT_TRACK=1。

开发

uv venv && uv pip install -e ".[dev]"
DO_NOT_TRACK=1 .venv/bin/python -m pytest tests/ -q   # unit + live + e2e

Live 测试会访问真正的 OpenLibrary API,并在离线时自动跳过。

许可证

MIT

Available Tools

5 tools
blind_dateBlind date with a bookC
Read-only

Serendipity spin: a random shelf at random depth — present the first sentence first, then the reveal

Inputs: seed, count, intent, exclude.

free_classicsFree classicsC
Read-onlyIdempotent

Public-domain classics from Project Gutenberg, readable in full right now

Inputs: count, topic, intent.

recommendRecommend booksB
Read-onlyIdempotent

Book recommendations by topic, mood, or 'books like X' — millions of works, free-read flags included

Inputs: topic (required), count, intent, exclude.

skill_readRead a skillA
Read-onlyIdempotent

Fetch the full content of one skill by name (from skills_list)

Inputs: name (required).

skills_listList skillsA
Read-onlyIdempotent

List available skills (guidance playbooks) for using this server well — read one with skill_read

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool serves a clearly distinct purpose: recommend provides targeted recommendations, blind_date offers random serendipity, free_classics surfaces public-domain works, and skills_list/skill_read manage usage guidance. No overlap or ambiguity exists between the tools.

    Naming Consistency2/5

    Tool names follow no consistent pattern: 'recommend' is a bare verb, 'blind_date' and 'free_classics' are noun phrases, while 'skills_list' is a noun-noun compound and 'skill_read' reverses the typical verb-object order. This mixed convention could cause confusion about expected behavior.

    Tool Count5/5

    With just 5 tools, the server is tightly scoped for its domain. Each tool adds distinct value without redundancy, and the count is well within the ideal range for a focused MCP server.

    Completeness4/5

    The core recommendation workflows are covered: tailored recommendations, serendipitous discovery, and access to classics. However, missing operations like fetching book details or saving favorites create minor gaps, though agents can likely work around them for most use cases.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to help users manage their reading experience by searching books, tracking reading progress, managing bookmarks, and generating personalized recommendations and summaries.
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI agents to explore a public-domain poetry collection by searching poems by title, finding poems whose lines contain a given phrase, pulling one or more random poems, and listing available authors. It returns full poem text with author and line-count details, and works either through a hosted gateway or as a local stdio server without an account.
      81 npm
      MIT