Skip to main content

LibraLM MCP Server

smithery badge

Access 50+ book summaries and chapter breakdowns directly in Claude Desktop through the Model Context Protocol (MCP).

LibraLM Demo

Overview

LibraLM MCP Server brings a library of AI-generated book summaries to your Claude Desktop conversations. Search for books, read comprehensive summaries, explore chapter-by-chapter breakdowns, and get instant access to key insights from business, self-help, and educational books.

Features

  • 📚 500+ Book Summaries - Access a growing library of professionally summarized books
  • 🔍 Smart Search - Find books by title, author, or ISBN
  • 📖 Chapter Breakdowns - Get detailed summaries of individual chapters
  • 📋 Table of Contents - View complete book structure with chapter descriptions
  • 🎯 Key Insights - Extract main themes, frameworks, and actionable takeaways
  • 🔐 Secure API - Protected access with API key authentication

Installation

Installing via Smithery

To install libralm_mcp_server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @libralm-ai/libralm_mcp_server --client claude

Prerequisites

  • Claude Desktop installed
  • Python 3.10 or higher
  • LibraLM API key (get one at libralm.com)

Quick Install

  1. Clone the repository:
git clone https://github.com/libralm-ai/libralm_mcp_server.git
cd libralm_mcp_server
  1. Install dependencies:
pip install -r requirements.txt
  1. Get your API key:

    • Visit libralm.com
    • Sign in with Google or GitHub
    • Copy your API key from the dashboard
  2. Configure Claude Desktop:

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
    "mcpServers": {
      "libralm": {
        "command": "uvx",
        "args": ["--from", "libralm-mcp-server", "libralm-mcp-server"],
        "env": {
            "LIBRALM_API_KEY": "your_api_key_here"
        }
      }
    }
  }
  1. Restart Claude Desktop

Available Tools

🔍 search_books

Search for books by title, author, or ISBN.

Search for "Atomic Habits"
Find books by James Clear
Look up ISBN 0735211299

📖 get_book_info

Get detailed information about a specific book.

Get details for book ID 0735211299
Show me information about this book

📝 get_book_summary

Get the comprehensive AI-generated summary of a book.

Summarize "Atomic Habits"
Give me the main points of this book

📋 get_table_of_contents

View the complete chapter list with descriptions.

Show me the chapters in "Atomic Habits"
What topics does this book cover?

📄 get_chapter_summary

Get a detailed summary of a specific chapter.

Summarize chapter 3 of "Atomic Habits"
What's in the first chapter?

Example Usage

Here are some example prompts you can use with Claude:

  • "Search LibraLM for books about habits"
  • "What books do you have on leadership?"
  • "Give me a summary of 'Outlive'"
  • "Show me chapter 5 of 'The Wealth Ladder'"
  • "Find books by Adam Grant"

Configuration

Environment Variables

  • LIBRALM_API_KEY (required): Your LibraLM API key

API Limits

  • Free tier: 50 API calls per month
  • Pro tier: Unlimited API calls
  • Rate limiting: 10 requests per minute

Troubleshooting

"Invalid API key" error

  • Verify your API key is correct in the configuration
  • Check that you've copied the entire key including the prefix

"Resource not found" error

  • Ensure you're using a valid book ID
  • The book may not be in the library yet

No books showing up

  • Check your internet connection
  • Verify the API endpoint is accessible
  • Ensure your API key has not exceeded its usage limit

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support


Built with ❤️ by the LibraLM team

Metadata

Release files for libralm-mcp-server 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for libralm-mcp-server 0.1.2
File Size Uploaded Provenance
libralm_mcp_server-0.1.2.tar.gz 65.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for libralm-mcp-server 0.1.2
File Interpreter ABI Platform
libralm_mcp_server-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 72.3 kB

Release files / libralm_mcp_server-0.1.2.tar.gz

Download URL libralm_mcp_server-0.1.2.tar.gz
Size 65.3 kB
Tags Source
SHA-256 checksum
How to use checksums
528b5ce17ece95fa5f8741e40add4014ec09a393c3ff6f6702a760b168e67dfb
BLAKE2b-256 checksum
How to use checksums
6930270771a003da659195a7a249a29ced90b1b34deaff6c4447de7d898d9a30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.4

Release files / libralm_mcp_server-0.1.2-py3-none-any.whl

Download URL libralm_mcp_server-0.1.2-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a61c9be2355a278dacbe41890ad26ffc55b25db325d44b6ac7bd541d44d293d
BLAKE2b-256 checksum
How to use checksums
bc336018cb7dc716787b3f5c98f1da09ed0a51050d155f3fb039a5042cd28f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.4

Security for libralm-mcp-server 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page