# MCP Books

> MCP Books is a free MCP server for books and literature. One question across Internet Archive, Library of Congress and the BnF catalogues. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** self-hosted, CLI
- **Repository:** https://github.com/smeet666/mcp-books
- **MCP Registry name:** io.github.smeet666/mcp-books
- **Categories:** books and literature
- **Listing updated:** 2026-11-15

## About

Three archives describe the scanned record of what was published in three different ways: the Internet Archive holds deposited copies, the Library of Congress publishes its national collections with a catalogue per kind of material, and data.bnf.fr gives authority records for works and the people who wrote them. This server asks all three and returns records in one shape.

A row's `id` names its archive, so an identifier from one answer goes back to the right one. The README stresses that counts are never added across archives, and an archive that failed is reported as failed instead of as having found nothing. In `search_inside`, each excerpt is labelled `passage` (text around the match) or `page_opening` (the start of the page, used when the OCR text returned stops before the match, so it should not be quoted as the match).

Expect answers to take several seconds because the archives are queried at their own pace.

## Features

- **Three archives at once:** Queries the Internet Archive, Library of Congress and BnF in one call.
- **Inside-the-page search:** Searches OCR text of scanned documents with excerpts.
- **Excerpt kinds:** Marks each excerpt as a real passage or only a page opening.
- **Uniform records:** Reads a record in a single shape wherever it is held.
- **Source selection:** Restrict a search to chosen archives, or skip fan-out.
- **Honest failures:** A failing archive is reported as failed, not as empty.

## Good for

- Find books mentioning a lighthouse across archives
- Search photographs rather than books
- Look up what the BnF holds on an author
- Identify who holds the original of a record

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-books -- npx -y mcp-books
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-books": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-books"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-books": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-books"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-books": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-books"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-books": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-books"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-books": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-books"
      ]
    }
  }
}
```

## Tools

- `search_inside`: Searches the words inside scanned documents.
- `search_items`: Searches catalogues by title, creator, subject or plain words.
- `get_item`: Reads one record in a single shape, whichever archive holds it.

## FAQ

### Which archives are searched?

The Internet Archive (archive), the Library of Congress (loc) and the Bibliothèque nationale de France (bnf).

### Is a key required?

No key or account.

### Are counts combined?

No. Counts are never added across archives.

### Why is it slow?

Three archives are asked, each at its own pace.

### Is MCP Books free?

Yes. MCP Books is free to use.

### How do I add MCP Books to Claude Code?

Run this command in your terminal: claude mcp add mcp-books -- npx -y mcp-books

### What are the best alternatives to MCP Books?

The closest alternatives to MCP Books are 一孔录《论语》 Yikonglu Analects, List Of Books, Book Cover Generator, Shakespeare's Monologues and Hero of You.

## Alternatives

- [一孔录《论语》 Yikonglu Analects](https://ai-powered.com/mcp/yikonglu-analects): 一孔录《论语》 Yikonglu Analects is a free MCP server for books and literature.
- [List Of Books](https://ai-powered.com/mcp/list-of-books): List Of Books is a freemium MCP server for books and literature.
- [Book Cover Generator](https://ai-powered.com/mcp/book-cover-generator): Book Cover Generator is an open-source MCP server for design and media.
- [Shakespeare's Monologues](https://ai-powered.com/mcp/shakespeare-s-monologues): Shakespeare's Monologues is an open-source MCP server for books and literature.
- [Hero of You](https://ai-powered.com/mcp/hero-of-you): Hero of You is a free MCP server for books and literature.
- [INKFLOW Studio](https://ai-powered.com/mcp/inkflow-studio): INKFLOW Studio is a freemium MCP server for books and literature.
- [Biblical Atlas](https://ai-powered.com/mcp/biblical-atlas): Biblical Atlas is an open-source MCP server for religion.
- [RuShiWoWen Buddhist Scripture Tools](https://ai-powered.com/mcp/rushiwowen-buddhist-scripture-tools): RuShiWoWen Buddhist Scripture Tools is a free MCP server for religion.

---
Source: https://ai-powered.com/mcp/mcp-books
