✓ Verified 🌐 Web Scrapers ✓ Enhanced Data

Books For Agents

An open source knowledge base of structured book summaries, available to any AI agent via MCP.

Rating
4.6 (88 reviews)
Downloads
1,067 downloads
Version
1.0.0

Overview

An open source knowledge base of structured book summaries, available to any AI agent via MCP.

Complete Documentation

View Source →

Books for Agents

An open source knowledge base of structured book summaries, available to any AI agent via MCP.

Setup

  • If you don't have the books-for-agents MCP server installed, add it:
text
claude mcp add --transport http books-for-agents https://booksforagents.com/mcp

Or add to your MCP config file:

json
{
  "mcpServers": {
    "books-for-agents": {
      "url": "https://booksforagents.com/mcp"
    }
  }
}
  • Once connected, you have access to all tools below.

What you can do

Search for books

Use search_books to find books by topic, keyword, or question. Supports hybrid search (full-text + semantic vector embeddings).

text
search_books({ query: "how to build better habits" })
search_books({ query: "leadership", category: "business" })
search_books({ query: "cognitive biases and decision making", limit: 3 })

Read a book summary

Use get_book to retrieve the full structured summary of a specific book by slug or title (partial match supported).

text
get_book({ slug: "atomic-habits" })
get_book({ title: "Deep Work" })

Read a specific section

Use get_book_section to retrieve only one section of a book — saves tokens when you don't need the full summary. Available sections: ideas, frameworks, quotes, connections, when-to-use.

text
get_book_section({ slug: "the-lean-startup", section: "frameworks" })
get_book_section({ slug: "clean-code", section: "quotes" })
get_book_section({ slug: "thinking-fast-and-slow", section: "when-to-use" })

Browse categories

Use list_categories to see all available categories and how many books each one has.

text
list_categories()

Suggest a new book

Use suggest_book to add a book to the generation backlog. Checks for duplicates against published books and existing backlog entries.

text
suggest_book({ title: "Thinking in Bets", author: "Annie Duke", category: "psychology" })

See the backlog

Use list_backlog to see all pending books waiting to be generated, along with their status.

text
list_backlog()

Generate a book summary

Use generate_book to get the template, example, metadata, and instructions needed to generate the next book summary. You can specify a title or let it pick the next pending one.

text
generate_book()
generate_book({ title: "Never Split the Difference" })

After generating the content, call submit_book to publish it.

Publish a book summary

Use submit_book to publish a generated summary directly to the knowledge base. Call this after generating content with generate_book.

text
submit_book({
  slug: "never-split-the-difference",
  title: "Never Split the Difference",
  author: "Chris Voss",
  category: "business",
  content: "---\ntitle: \"Never Split the Difference\"\n..."
})

Tips

  • Use get_book_section instead of get_book when you only need one part — it saves significant tokens.
  • Use search_books with natural language queries — the semantic search understands meaning, not just keywords.
  • When generating a book, follow the template and instructions returned by generate_book exactly. All content must be in English.
  • Connections between books use [[slug]] format and must reference existing books only.

Installation

Terminal bash

openclaw install books-for-agents
    
Copied!

💻Code Examples

}

.txt
2. Once connected, you have access to all tools below.

## What you can do

### Search for books

Use `search_books` to find books by topic, keyword, or question. Supports hybrid search (full-text + semantic vector embeddings).

search_books({ query: "cognitive biases and decision making", limit: 3 })

searchbooks-query-cognitive-biases-and-decision-making-limit-3-.txt
### Read a book summary

Use `get_book` to retrieve the full structured summary of a specific book by slug or title (partial match supported).

get_book({ title: "Deep Work" })

getbook-title-deep-work-.txt
### Read a specific section

Use `get_book_section` to retrieve only one section of a book — saves tokens when you don't need the full summary. Available sections: `ideas`, `frameworks`, `quotes`, `connections`, `when-to-use`.

get_book_section({ slug: "thinking-fast-and-slow", section: "when-to-use" })

getbooksection-slug-thinking-fast-and-slow-section-when-to-use-.txt
### Browse categories

Use `list_categories` to see all available categories and how many books each one has.

list_categories()

listcategories.txt
### Suggest a new book

Use `suggest_book` to add a book to the generation backlog. Checks for duplicates against published books and existing backlog entries.

suggest_book({ title: "Thinking in Bets", author: "Annie Duke", category: "psychology" })

suggestbook-title-thinking-in-bets-author-annie-duke-category-psychology-.txt
### See the backlog

Use `list_backlog` to see all pending books waiting to be generated, along with their status.

list_backlog()

listbacklog.txt
### Generate a book summary

Use `generate_book` to get the template, example, metadata, and instructions needed to generate the next book summary. You can specify a title or let it pick the next pending one.

generate_book({ title: "Never Split the Difference" })

generatebook-title-never-split-the-difference-.txt
After generating the content, call `submit_book` to publish it.

### Publish a book summary

Use `submit_book` to publish a generated summary directly to the knowledge base. Call this after generating content with `generate_book`.
example.json
{
  "mcpServers": {
    "books-for-agents": {
      "url": "https://booksforagents.com/mcp"
    }
  }
}
example.txt
search_books({ query: "how to build better habits" })
search_books({ query: "leadership", category: "business" })
search_books({ query: "cognitive biases and decision making", limit: 3 })

Tags

#search_and-research

Quick Info

Category Web Scrapers
Model Claude 3.5
Complexity Multi-Agent
Author danpalmieri
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install books-for-agents