# Open Library MCP

> Open Library provides direct access to one of the world’s largest public book databases. Your AI agent can search millions of records for books by title or keyword, look up precise metadata using ISBN numbers (ISBN-10/ISBN-13), and list every work associated with a specific author key.

## Overview
- **Category:** knowledge-management
- **Price:** Free
- **Tags:** books, library-catalog, metadata, isbn-lookup, authors, bibliography

## Description

Need to verify publication details or build a knowledge base around classic literature? This MCP connects your agent directly to the Open Library database. You can ask it to search across millions of book records, pulling back detailed metadata for any title—things like subject matter and classification data. If you know an ISBN number, it pulls up all the specifics for that edition. Better yet, if you give it an author's name or key, your agent lists every single work they published, helping researchers build a complete bibliography instantly. When you connect this through Vinkius, your AI client acts less like a search engine and more like a specialized digital librarian, handling the data retrieval in natural conversation.

## Tools

### get_author_works
Retrieves all known titles and editions associated with a specific author key.

### get_book_by_isbn
Fetches full metadata, including publication details and subjects, using an ISBN-10 or ISBN-13 number.

### search_books
Searches the database for books using keywords or title fragments.

## Prompt Examples

**Prompt:** 
```
Search for books by J.R.R. Tolkien on Open Library.
```

**Response:** 
```
Searching for Tolkien... I've found his major works including 'The Hobbit' and 'The Lord of the Rings' trilogy. I can provide the author key or list all specific editions for you.
```

**Prompt:** 
```
Get details for the book with ISBN '9780141182704'.
```

**Response:** 
```
Retrieving book data... This ISBN corresponds to 'The Great Gatsby' (Modern Classics edition) published by Penguin. I have information on its page count, subjects, and available formats.
```

**Prompt:** 
```
Find the author ID for 'Gabriel García Márquez'.
```

**Response:** 
```
Searching for the author... Gabriel García Márquez has the unique key 'OL23714A' in the Open Library database. I can now list all his works, such as 'One Hundred Years of Solitude'.
```

## Capabilities

### Search books by keywords
Find book titles or authors using general search terms across millions of records.

### Retrieve details via ISBN lookup
Get precise publication metadata for a specific edition using either an ISBN-10 or ISBN-13 code.

### List all works by an author
Pull up a complete list of titles and editions published under a single author's key.

## Use Cases

### Verifying a citation for a journal article
A researcher needs to confirm if a secondary source cited the correct edition of an early 20th-century novel. They prompt their agent, asking it to use `get_book_by_isbn` with the provided ISBN. The agent confirms the publication details and subject matter, saving them from publishing a flawed citation.

### Building an author portfolio for a client
A literary agent needs to quickly assemble a comprehensive list of all available works by a major author. They tell their agent to run `get_author_works` on the author's key, receiving a complete, structured catalog they can immediately present.

### Identifying obscure book editions
A collector finds an old book with no title printed and only an ISBN. They use `get_book_by_isbn` to identify the exact publication details, confirming if it's a rare or common edition.

### General literature research
A student is writing a paper on 'Victorian era travel narratives.' They prompt their agent using `search_books` with general keywords. The tool returns several candidate titles and allows the student to verify details for each one.

## Benefits

- Instead of sifting through search engine results, you ask your agent to list all works by a specific author using `get_author_works`. You get the full bibliography instantly, saving hours of manual cross-referencing.
- When dealing with physical copies or academic citations, use `get_book_by_isbn` to pull verified metadata. This tool confirms page counts and subjects for an exact edition, eliminating guessing games.
- If you need a general starting point, the `search_books` function lets you query millions of records using keywords. It's perfect for initial research when you only know a vague title or topic.
- The MCP pulls structured data on publication dates and classification details that standard search tools bury under layers of ads and unrelated links.
- It works with any compatible client, meaning whether you’re coding in Cursor or analyzing documents in Claude, the library data is available through your agent.

## How It Works

The bottom line is you use natural conversation to query vast, structured library data without writing any code or dealing with API endpoints.

1. Subscribe to this MCP on Vinkius. No API key is needed because it uses public access.
2. Connect your preferred AI client (Claude, Cursor, etc.) to the catalog.
3. Ask your agent a question like 'What are all the works by Jane Austen?' and get structured data back immediately.

## Frequently Asked Questions

**How do I find a book using Open Library instead of ISBN?**
You can use the `search_books` tool by providing keywords or a title fragment to search across millions of records. This is helpful when you don't have an exact identifier.

**Does Open Library support current bestsellers?**
No, this MCP draws from the open library database, which contains historical and established academic works rather than real-time sales data or currently trending books.

**What is the difference between `get_author_works` and searching by title?**
`get_author_works` gives you a list of everything published under an author's key, regardless of the title. Searching by title only finds books matching that specific keyword or name.

**Can I use Open Library for modern academic texts?**
While it covers many classic works and established authors, its primary focus is on historical bibliography and well-cataloged library records. Always verify the expected publication date before relying on the data.

**Do I need an API key to use Open Library?**
No, you don't. The MCP uses public access credentials for querying the global book data, so no personal keys are needed to connect your agent.