MCP Open Library logo

MCP Open Library

by 8enSmith

Searches Open Library for books and authors, retrieves detailed records, and returns verified cover and author photo URLs.

Install MCP Open Library

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "8ensmith-mcp-open-library": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-open-library"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

8enSmith/mcp-open-library exposes Open Library catalogue and author lookups through seven read-only MCP tools. It supports searches across titles, authors, subjects, places, people, publishers, and ISBNs, plus identifier-based book retrieval and author records. Search responses include paging metadata and a best-edition key that can lead to a full edition lookup. Use it when an agent needs structured bibliographic data or image URLs from Open Library.

Use cases

  • Search for books by author, subject, ISBN, or publication criteria
  • Retrieve detailed edition records from search-result identifiers
  • Look up author records and Open Library author keys
  • Find verified book cover and author photo URLs
  • Page through large Open Library search result sets

Key features

  • Open Library book and author search
  • ISBN, LCCN, OCLC, and OLID lookups
  • Paged results with total match counts
  • Best-edition identifiers for follow-up retrieval
  • Cover and author photo URL checks
  • Read-only MCP tool annotations

Tools7

What MCP Open Library lets your agent do. Expand a tool for its parameters.

Verified live~1.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

19/20 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · mcp-open-library (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars100Stargazers on the source repository.
npm downloads117Package downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Open Library works

What 8enSmith/mcp-open-library does

8enSmith/mcp-open-library connects MCP-compatible AI clients to the Open Library API for read-only book and author research. It returns selected JSON data rather than passing through complete API payloads. The available operations cover catalogue searches, author discovery, detailed records, and image URL lookup.

Book searches can use a general query or specific fields including title, author, subject, place, person, publisher, and ISBN. Title-only lookup is available separately. Book details can be retrieved with an ISBN, LCCN, OCLC identifier, or Open Library ID (OLID). Author records use an Open Library Author Key, while author photos require an author OLID.

How it works

Run the package as an MCP server over standard input/output. A client starts it with npx, and the package is fetched on first use. The repository also supports a manual clone, dependency installation, and build process.

Search tools return up to 10 results by default and include num_found, offset, and limit values for paging. The maximum page size is 50, and offsets can reach 1000. search_books requires at least one search criterion; its optional language and sort parameters can further refine results. It also accepts free-form Solr-style queries through q.

A search result represents a work and includes a best_edition object. Its edition_key is an OLID that can be supplied to get_book_by_id to retrieve the corresponding edition record. ISBN-10 and ISBN-13 values are included when Open Library has them.

All seven tools are read-only and advertise read-only and open-world hints. These annotations are advisory, so the MCP client determines whether confirmation is needed. API or argument failures are returned as tool results marked with isError.

Setup and configuration

The quick-start configuration launches the npm package directly:

config.json
{
  "mcpServers": {
    "mcp-open-library": {
      "command": "npx",
      "args": ["-y", "mcp-open-library"]
    }
  }
}

Add this entry to the configuration used by the MCP client and restart it. Claude Desktop uses claude_desktop_config.json; other clients use the equivalent MCP server configuration format.

For a local checkout, clone the repository, run npm install, and build with npm run build. The usage instructions use Node.js 22.23.4. The project can also be tested with the MCP Inspector after building: run npm run inspector, select STDIO, set the command to build/index.js, and connect.

Tools and capabilities

  • search_books searches by combined catalogue fields and supports sorting and paging.
  • get_book_by_title searches Open Library using a title.
  • get_book_by_id retrieves a detailed book record from an ISBN, LCCN, OCLC, or OLID.
  • get_authors_by_name searches for authors with paged results.
  • get_author_info retrieves an author record from an Open Library Author Key.
  • get_author_photo returns an author photo URL when a photo exists.
  • get_book_cover returns a cover URL using ISBN, OCLC, LCCN, OLID, or another supported ID.

The photo and cover tools report when no image exists instead of returning a URL for a blank placeholder.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Open Library

8enSmith/mcp-open-library is an MCP server that connects AI assistants to the Open Library API. Its main tools search books and authors, retrieve detailed book and author records, and return book cover or author photo URLs. It supports identifiers including ISBN, LCCN, OCLC, and Open Library IDs.

Install it by configuring your MCP client to run `npx -y mcp-open-library`. The package is downloaded when the client starts it. For a local installation, clone the repository, run `npm install`, and build it with `npm run build`.

Yes, it can be used with Cursor through its standard MCP server configuration. Start the server with the documented `npx` command and add the equivalent server entry to Cursor's MCP settings.

Pass the search result's `best_edition.edition_key` to `get_book_by_id` as an OLID. For example, use `{ "idType": "olid", "idValue": "OL5613890M" }` to request that edition's detailed record.

No, `search_books` requires at least one criterion such as `q`, `title`, `author`, `subject`, `place`, `person`, `publisher`, or `isbn`. Use `get_book_by_title` when the lookup is specifically based on a title.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Open Library AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/8ensmith-mcp-open-library?style=directory)](https://allmcps.com/mcp/8ensmith-mcp-open-library)
HTML Embed
<a href="https://allmcps.com/mcp/8ensmith-mcp-open-library"><img src="https://allmcps.com/api/badge/8ensmith-mcp-open-library?style=directory" alt="MCP Open Library on AllMCPs" /></a>