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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for libralm_mcp_server-0.1.2.tar.gz
Algorithm Hash digest
SHA256 528b5ce17ece95fa5f8741e40add4014ec09a393c3ff6f6702a760b168e67dfb
MD5 2f8e9f1ba0ac181a97311b438b55adbe
BLAKE2b-256 6930270771a003da659195a7a249a29ced90b1b34deaff6c4447de7d898d9a30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for libralm_mcp_server-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a61c9be2355a278dacbe41890ad26ffc55b25db325d44b6ac7bd541d44d293d
MD5 fc81a6b82f5097c6a2b2894553ec3bd2
BLAKE2b-256 bc336018cb7dc716787b3f5c98f1da09ed0a51050d155f3fb039a5042cd28f96

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