Skip to main content

LibraLM MCP Server - A Model Context Protocol server for searching and retrieving book information

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.1.tar.gz (65.2 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.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for libralm_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d31a68b3946592e26a3dfe75e26dbb749b86902d6d9741b539ec08c1c363a68e
MD5 f0cd2a20640a99895ab89698deb4bf45
BLAKE2b-256 0fa1669681a63d0eb50ed01fa24e292f196b406da8eb9987d0b1eea664979b46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for libralm_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69dda93cc17a853c444f872e5c5cad1e6f957edf9d5ea9dc9190ef533ea8272d
MD5 c001487ce060f14b739b0f52964c538d
BLAKE2b-256 fe28dc12add9f25eacfaced928621b9a695e388387f1aa7348412c3d12a3fe78

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