CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Openlibrary Mcp Server

cyanheads/openlibrary-mcp-server
1STDIO, HTTPregistry active
Summary

Brings Open Library's 20M+ catalog to Claude through nine focused tools. Search books with filters for title, author, subject, publisher, ISBN, and language. Pull work metadata, list editions across different publishers and formats, or look up a specific printing by ISBN. Search authors by name, fetch bios with external IDs (Wikidata, VIAF, ISNI), and list their works. Browse subjects and resolve cover image URLs you can drop straight into markdown. Also exposes two resources for injecting work and author detail as context. Runs over stdio or as a hosted HTTP endpoint. Good for bibliographic queries, reading list assembly, or any workflow that needs structured book data without scraping.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

@cyanheads/openlibrary-mcp-server

Search books and authors, fetch editions, browse subjects, and resolve cover images from Open Library via MCP. STDIO or Streamable HTTP.

9 Tools • 2 Resources

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in Cursor Install in VS Code

Framework

Public Hosted Server: https://openlibrary.caseyjhand.com/mcp


Tools

9 tools for working with Open Library's catalog of 20M+ books, editions, authors, and subjects:

ToolDescription
openlibrary_search_booksFull-text book search with field filters (title, author, subject, publisher, ISBN, language), sort options, pagination, and optional live reading availability
openlibrary_get_workFetch a work by Open Library Work ID (OL…W) — title, description, subjects, cover IDs, and author IDs
openlibrary_get_editionsList editions of a work — publishers, languages, formats, ISBNs, and print run details
openlibrary_get_editionFetch a single edition by ISBN-10, ISBN-13, OCLC, LCCN, or Open Library Edition ID (OL…M)
openlibrary_search_authorsSearch authors by name — returns Author IDs, birth/death dates, top works, and subject associations
openlibrary_get_authorFetch author detail by Open Library Author ID (OL…A) — bio, dates, photo IDs, and linked identifiers from Wikidata, VIAF, ISNI, Goodreads, and LibraryThing
openlibrary_get_author_worksList works by an author — titles, cover IDs, and Work OLIDs for drilling into editions or details
openlibrary_get_subjectBrowse works by subject tag — returns matching works with edition counts and cover IDs plus the total work count
openlibrary_get_cover_urlResolve a cover image URL for a book or author photo in S/M/L size — returns a direct HTTPS URL embeddable in markdown

openlibrary_search_books

Full-text book search across Open Library works.

  • Free-text query with Solr field prefixes: title:, author:, subject:, publisher:, isbn:, language:
  • Dedicated filter parameters for title, author, subject, publisher, ISBN, and language
  • Sort by relevance, newest, oldest, community rating, or edition count
  • Pagination via offset for paging through large result sets
  • Optional live reading availability from Internet Archive (borrow/browse/read status) — adds ~200ms latency; off by default
  • Returns work-level records with edition counts, cover IDs, Internet Archive identifiers, and e-book access status

openlibrary_get_work

Fetch a work by Open Library Work ID (OL…W).

  • Title, description, subjects, cover IDs, and linked author IDs
  • Works represent the abstract book concept independent of any specific edition
  • Author names are not included — use openlibrary_get_author or openlibrary_search_books for names

openlibrary_get_editions

List editions of a work — different publishers, languages, formats, and print runs.

  • Returns ISBNs, publisher, language, page count, and edition OLIDs
  • Pagination via offset
  • Use after openlibrary_get_work or openlibrary_search_books to find a specific printing

openlibrary_get_edition

Fetch a single edition by identifier.

  • Accepts ISBN-10, ISBN-13, OCLC, LCCN, or Open Library Edition ID (OL…M)
  • Pass id_type "isbn" for both ISBN-10 and ISBN-13
  • Returns full edition metadata: authors, publisher, language, all identifier types, and the parent work ID

openlibrary_search_authors

Search Open Library authors by name.

  • Partial names and alternate names work
  • 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)

openlibrary_get_author

Fetch author detail by Open Library Author ID (OL…A).

  • Bio, birth/death dates, photo IDs
  • Linked external identifiers: Wikidata, VIAF, ISNI, Goodreads, and LibraryThing
  • Use openlibrary_search_authors to find an author ID first

openlibrary_get_author_works

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

openlibrary_get_subject

Browse works by subject tag.

  • Returns matching works with edition counts and cover IDs, plus the total work count for the subject
  • Subjects are user-contributed and may be inconsistent ("science fiction", "Science fiction", "SF" are separate tags)
  • Try lowercase forms first

openlibrary_get_cover_url

Resolve a cover image URL for a book or author photo.

  • Returns a direct HTTPS URL in the requested size (S/M/L)
  • URLs can be embedded in markdown as ![cover](url)
  • The Covers API always returns HTTP 200 — missing covers return a 1×1 placeholder GIF, not a 404

Resources

TypeNameDescription
Resourceopenlibrary://works/{work_id}Work detail by Open Library Work ID — title, description, subjects, cover IDs, and author IDs as injectable context
Resourceopenlibrary://authors/{author_id}Author detail by Open Library Author ID — name, bio, dates, photo IDs, and linked external identifiers as injectable context

Features

Built on @cyanheads/mcp-ts-core:

  • Declarative tool definitions — single file per tool, framework handles registration and validation
  • Unified error handling across all tools
  • Pluggable auth (none, jwt, oauth)
  • Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2/D1
  • Structured logging with optional OpenTelemetry tracing
  • Runs locally (stdio/HTTP) or on Cloudflare Workers from the same codebase

Open Library-specific:

  • Complete Open Library REST API integration — Search API, Books API, Authors API, Subjects API, Covers API
  • Configurable User-Agent header for well-behaved bot identification per community convention
  • Work → editions → edition drill-down pattern with explicit linking between OLIDs across tools
  • Internet Archive availability lookup (opt-in) for borrow/read status on search results

Agent-friendly output:

  • Explicit recovery hints on empty results — echoes search criteria and suggests how to broaden
  • All OLID cross-links surfaced in responses so agents can chain tool calls without re-searching
  • Cover URLs rendered as embeddable markdown image syntax

Getting started

Self-Hosted / Local

Add the following to your MCP client configuration file.

{
  "mcpServers": {
    "openlibrary-mcp-server": {
      "type": "stdio",
      "command": "bunx",
      "args": ["@cyanheads/openlibrary-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}

Or with npx (no Bun required):

{
  "mcpServers": {
    "openlibrary-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@cyanheads/openlibrary-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}

Or with Docker:

{
  "mcpServers": {
    "openlibrary-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/openlibrary-mcp-server:latest"]
    }
  }
}

For Streamable HTTP, set the transport and start the server:

MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcp

Prerequisites

  • Bun v1.3.0 or higher (or Node.js ≥ 24.0.0).
  • No API key required — Open Library is a free, public API.

Installation

  1. Clone the repository:
git clone https://github.com/cyanheads/openlibrary-mcp-server.git
  1. Navigate into the directory:
cd openlibrary-mcp-server
  1. Install dependencies:
bun install

Configuration

All configuration is validated at startup via Zod schemas in src/config/server-config.ts. Key environment variables:

VariableDescriptionDefault
MCP_TRANSPORT_TYPETransport: stdio or httpstdio
MCP_HTTP_PORTHTTP server port3010
MCP_HTTP_ENDPOINT_PATHHTTP endpoint path where the MCP server is mounted/mcp
MCP_PUBLIC_URLPublic origin override for TLS-terminating reverse-proxy deploymentsnone
MCP_AUTH_MODEAuthentication: none, jwt, or oauthnone
MCP_LOG_LEVELLog level (debug, info, warning, error, etc.)info
MCP_GC_PRESSURE_INTERVAL_MSOpt-in Bun-only forced-GC pressure loop (ms). Recommended starting point if heap growth is observed: 60000.0 (disabled)
LOGS_DIRDirectory for log files (Node.js only)<project-root>/logs
STORAGE_PROVIDER_TYPEStorage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1in-memory
OPENLIBRARY_USER_AGENTUser-Agent sent with all Open Library API requests. Include a contact email per community convention.openlibrary-mcp-server/1.0 (openlibrary@archive.org)
OTEL_ENABLEDEnable OpenTelemetryfalse

Running the server

Local development

  • Build and run the production version:

    # One-time build
    bun run rebuild
    
    # Run the built server
    bun run start:http
    # or
    bun run start:stdio
    
  • Run checks and tests:

    bun run devcheck  # Lints, formats, type-checks, and more
    bun run test      # Runs the test suite
    

Project structure

DirectoryPurpose
src/mcp-server/toolsTool definitions (*.tool.ts). Nine tools across Search, Books, Authors, Subjects, and Covers.
src/mcp-server/resourcesResource definitions. Work and Author resources.
src/services/open-libraryOpen Library service layer — API client and domain types.
src/configServer-specific environment variable parsing and validation with Zod.
tests/Unit and integration tests, mirroring the src/ structure.

Development guide

See CLAUDE.md for development guidelines and architectural rules. The short version:

  • Handlers throw, framework catches — no try/catch in tool logic
  • Use ctx.log for logging, ctx.state for storage
  • Register new tools and resources in the createApp() arrays

Contributing

Issues and pull requests are welcome. Run checks and tests before submitting:

bun run devcheck
bun run test

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Configuration

MCP_LOG_LEVELdefault: info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

MCP_HTTP_HOSTdefault: 127.0.0.1

The hostname for the HTTP server.

MCP_HTTP_PORTdefault: 3010

The port to run the HTTP server on.

MCP_HTTP_ENDPOINT_PATHdefault: /mcp

The endpoint path for the MCP server.

MCP_PUBLIC_URL

Public origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).

MCP_AUTH_MODEdefault: none

Authentication mode to use: 'none', 'jwt', or 'oauth'.

Categories
Search & Web Crawling
Registryactive
Package@cyanheads/openlibrary-mcp-server
TransportSTDIO, HTTP
UpdatedJun 4, 2026
View on GitHub

Related Search & Web Crawling MCP Servers

View all →
Google Search

com.mcparmory/google-search

Scrape Google search results with SERP data, ads, and knowledge panels
25
Brave Search

io.github.pipeworx-io/brave-search

Brave Search MCP — independent web index (no Google/Bing dependency)
Serper Search and Scrape

marcopesani/mcp-server-serper

Serper MCP Server supporting search and webpage scraping
154
Brave Search Mcp Server

brave/brave-search-mcp-server

Brave Search MCP Server: web results, images, videos, rich results, AI summaries, and more.
1.2k
Google Search Console

com.mcparmory/google-search-console

Query search analytics, manage sitemaps, and inspect site URLs and status
25
Google Search Console

acamolese/google-search-console-mcp

Google Search Console MCP server: SEO audits, performance queries, URL inspection, indexing checks.
3