Skip to content

io.github.cyanheads/openlibrary-mcp-server

by cyanheads · remote · local (npm) · no sign-in to list tools · v0.3.1 · published by GitHub user cyanheads

Search books and authors, fetch editions, browse subjects, and resolve cover images.

Read only

10 tools: 10 only read.

Scanned Oct 21, 2026

No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.

claude mcp add --transport http openlibrary https://openlibrary.caseyjhand.com/mcp

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

10 tools

Only reads 10Claude Code: allow
  • openlibrary_get_authorFetch author detail by Open Library Author ID (OL…A).No findings

    Why it is in this group

    • The name "openlibrary_get_author" says "get": a word for reading.
    Description, as the server wrote it
    Fetch author detail by Open Library Author ID (OL…A). Returns bio, birth/death dates, photo IDs, and linked identifiers from Wikidata, VIAF, ISNI, Goodreads, and LibraryThing. Use openlibrary_search_authors to find an author ID first.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: true
  • openlibrary_get_author_worksList works by an author.No findings

    Why it is in this group

    • The name "openlibrary_get_author_works" says "get": a word for reading.
    Description, as the server wrote it
    List works by an author. Returns titles, cover IDs, and work OLIDs for drilling into editions or details. Use openlibrary_get_author for author bio and details, or openlibrary_get_editions to explore specific printings.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • openlibrary_get_cover_urlResolve a cover image URL for a book or author photo.No findings

    Why it is in this group

    • The name "openlibrary_get_cover_url" says "get": a word for reading.
    Description, as the server wrote it
    Resolve a cover image URL for a book or author photo. Returns a direct HTTPS URL in the requested size (S/M/L). The Covers API always returns HTTP 200 — missing covers return a 1×1 placeholder GIF, not a 404 — so the identifier format is validated locally first: "id" must be numeric, "isbn" 10 or 13 digits (an ISBN-10 may end in an X check digit), "olid" an edition OLID (OL…M) for target "book" and an author OLID (OL…A) for target "author". Identifiers with path separators or control characters, and author-by-ISBN lookups, are rejected before any request. URLs can be embedded in markdown as ![cover](url).

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
  • openlibrary_get_editionResolve one or more editions by identifier: ISBN-10, ISBN-13, OCLC, LCCN, or Open Library Edition ID (OL…M).No findings

    Why it is in this group

    • The name "openlibrary_get_edition" says "get": a word for reading.
    Description, as the server wrote it
    Resolve one or more editions by identifier: ISBN-10, ISBN-13, OCLC, LCCN, or Open Library Edition ID (OL…M). Every identifier in a call shares one id_type — pass id_type "isbn" for both ISBN-10 and ISBN-13. Up to 50 identifiers resolve in a single upstream request, so a bibliography or shelf export costs one call rather than one per book; a large batch is a large response, so ask for what you need. Returns full edition metadata including authors, publisher, language, all identifier types, and the parent work ID, with author names inline and no secondary lookup; when the edition record itself lists no authors, they are recovered from the parent work and marked as such, and a notice names any edition whose recovery failed. Partial success is the norm — identifiers that resolve come back in editions, the rest are listed in unresolved with a reason, and the call fails only when nothing resolved.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: true
  • openlibrary_get_editionsList editions of a work — different publishers, languages, formats, and print runs.No findings

    Why it is in this group

    • The name "openlibrary_get_editions" says "get": a word for reading.
    Description, as the server wrote it
    List editions of a work — different publishers, languages, formats, and print runs. Returns ISBNs, publisher, language, page count, and edition OLIDs. Use after openlibrary_get_work or openlibrary_search_books to find a specific printing. A merged work ID resolves to the work it was merged into. To reach a work from an ISBN, call openlibrary_get_edition with id_type "isbn" — its work_id output is the parent work.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: true
  • openlibrary_get_subjectBrowse works by subject.No findings

    Why it is in this group

    • The name "openlibrary_get_subject" says "get": a word for reading.
    Description, as the server wrote it
    Browse works by subject. Returns matching works with edition counts and cover IDs, plus the total work count for the subject. Case and spacing are normalized before lookup, so "Science Fiction" and "science_fiction" are the same request. Subject tags are user-contributed and the vocabulary varies — when a subject returns no works, try a different word form (singular/plural), a synonym, or a broader term.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • openlibrary_get_workFetch a work by Open Library Work ID (OL…W).No findings

    Why it is in this group

    • The name "openlibrary_get_work" says "get": a word for reading.
    Description, as the server wrote it
    Fetch a work by Open Library Work ID (OL…W). Returns title, description, subjects, cover IDs, and linked author IDs for follow-up lookups. Works represent the abstract book concept independent of any specific edition. A merged work ID resolves to the work it was merged into. To reach a work from an ISBN, call openlibrary_get_edition with id_type "isbn" — its work_id output is the parent work. Note: author names are not included — use openlibrary_get_author or openlibrary_search_books for names.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: true
  • openlibrary_search_authorsSearch Open Library authors by name.No findings

    Why it is in this group

    • The name "openlibrary_search_authors" says "search": a word for reading.
    Description, as the server wrote it
    Search Open Library authors by name. Returns Open Library Author IDs, names, birth/death dates, top works, and subject associations. Use author IDs for openlibrary_get_author (bio, remote IDs) or openlibrary_get_author_works (list of works).

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • openlibrary_search_booksFull-text book search across Open Library works.No findings

    Why it is in this group

    • The name "openlibrary_search_books" says "search": a word for reading.
    Description, as the server wrote it
    Full-text book search across Open Library works. Supports field filters (title, author, subject, publisher, ISBN, language) and returns work-level records with edition counts, cover IDs, and reading availability. Use query for general search or combine specific field filters. Results are work-level — drill into editions via openlibrary_get_editions.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • openlibrary_search_insideSearch the full text of books scanned by the Internet Archive — the "which book contains this passage?" lookup that the metadata tools cannot answer.No findings

    Why it is in this group

    • The name "openlibrary_search_inside" says "search": a word for reading.
    Description, as the server wrote it
    Search the full text of books scanned by the Internet Archive — the "which book contains this passage?" lookup that the metadata tools cannot answer. Quote a phrase for an exact-phrase match; bare terms match anywhere in the text. Each result is an Internet Archive item with the matching passages as snippets, plus a relevance score. The full-text index is far slower than the metadata endpoints, and a search usually takes 10–30 seconds. Use it when the passage is the question, and use openlibrary_search_books to search by title, author, or subject. Results key on Internet Archive items rather than Open Library works: chain the returned ia_identifier to archive.org, or match it against the ia_identifiers on openlibrary_search_books results to reach the catalogue record.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 0.3.1. Values in angle brackets are yours to fill in.

claude mcp add --transport http openlibrary https://openlibrary.caseyjhand.com/mcp

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__openlibrary__openlibrary_search_books",
      "mcp__openlibrary__openlibrary_search_inside",
      "mcp__openlibrary__openlibrary_get_work",
      "mcp__openlibrary__openlibrary_get_editions",
      "mcp__openlibrary__openlibrary_get_edition",
      "mcp__openlibrary__openlibrary_search_authors",
      "mcp__openlibrary__openlibrary_get_author",
      "mcp__openlibrary__openlibrary_get_author_works",
      "mcp__openlibrary__openlibrary_get_subject",
      "mcp__openlibrary__openlibrary_get_cover_url"
    ],
    "ask": [],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as openlibrary. Review it before you use it.