Skip to main content

MCP server for accessing LibraLM book summaries in Claude Desktop

Project description

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

Related Projects


Built with ❤️ by the LibraLM team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libralm_mcp_server-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

libralm_mcp_server-0.1.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file libralm_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: libralm_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for libralm_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0dce43afe00d15178e62300e4ab6ffdc7905004f661cc789bd337989d65ecf4b
MD5 f26b5cf32f6e8919dac849794f7649f2
BLAKE2b-256 095723c6d30b66fce329e452b7125f5493a1d6478fcfbb8878b9bae676f41850

See more details on using hashes here.

File details

Details for the file libralm_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for libralm_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bea70af147049ea01abe4ca65b8621c6f46f8f8b5412d5b264700511281fb743
MD5 ec437cb2862cbe80074a1ec122974e36
BLAKE2b-256 c2199c4763768a5ba0bd93db6204c36c0a6794a28266c30ebaa24792e93c3f70

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page