Open source · MCP-powered

Books for Agents

Structured book knowledge for AI agents. Any MCP-compatible agent can connect, search, and use curated book insights in real time.

mcp — books-for-agents
// Agent queries the MCP server
search_books({ query: "productivity and focus" })
 
Deep Work — Cal Newport (score: 6.02)
Atomic Habits — James Clear (score: 4.51)
The 7 Habits of Highly Effective People — Stephen Covey (score: 3.01)
 
// Agent gets structured frameworks, key ideas, and practical applications
get_book_section({ slug: "deep-work", section: "frameworks" })
Deep Work Formula: High-Quality Work = (Time Spent) x (Intensity of Focus)
Three steps to smarter agents
Any AI agent that supports MCP can connect to Books for Agents and access structured book knowledge instantly.
1

Connect to the MCP Server

Add the server URL to your agent's MCP configuration. Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client. No API keys needed.

2

Search by topic or book

The agent searches by theme, category, or specific book. A lightweight TF-IDF engine ranks results by relevance — tags, titles, and content are all indexed.

3

Get structured knowledge

Receive Markdown-formatted summaries with key ideas, frameworks, practical applications, and quotes. Request full books or specific sections to save tokens.

Add to your agent in seconds
One configuration block. No dependencies, no API keys, no database.
mcp-config.json
{ "mcpServers": { "books-for-agents": { "url": "https://booksforagents.com/mcp" } } }
tool-call-example
search_books({ query: "leadership" }) How to Win Friends and Influence People Dale Carnegie · business The 7 Habits of Highly Effective People Stephen Covey · self-improvement
8 books and growing
Browse all books
📗
Business

How to Win Friends and Influence People

Dale Carnegie
📘
Business

The Lean Startup

Eric Ries
📕
Psychology

Thinking, Fast and Slow

Daniel Kahneman
📙
Psychology

Atomic Habits

James Clear
📓
Technology

The Pragmatic Programmer

David Thomas & Andrew Hunt
📔
Technology

Clean Code

Robert C. Martin
📒
Self-improvement

Deep Work

Cal Newport
📗
Self-improvement

The 7 Habits of Highly Effective People

Stephen R. Covey
Built for agents, not humans
Every design decision optimizes for LLM consumption — structured data, token efficiency, and semantic searchability.
📚

Curated, structured knowledge

Not raw text or generic summaries. Each book is broken into key ideas, frameworks, practical applications, and quotes — ready for an agent to use directly.

🔌

MCP native

Works out of the box with Claude Desktop, Claude Code, Cursor, and any MCP-compatible agent. Remote server — no local install required.

🌍

Open source

MIT-licensed code, CC BY-SA content. Anyone can contribute new book summaries, improve existing ones, or fork the project. The catalog grows with the community.

Lightweight and fast

No database, no API keys, no complex setup. Runs on Cloudflare Workers with 13ms startup. Request specific sections to minimize token usage.

The catalog grows with the community

Add a book to the knowledge base

Follow the Markdown template, write a structured summary with key ideas and frameworks, and submit a pull request. It's that simple.

1 Fork the repo
2 Copy the template
3 Write the summary
4 Open a PR
Add a Book