mcp-books

v2.1.0
io.github.smeet666/mcp-books Checked 4 days ago Published 1 month ago

Search the Internet Archive, the Library of Congress and data.bnf.fr at once, in one answer.

Values you need

VariableWhat it is
BOOKS_USER_AGENToptional Identify your own client. The project's own identifier is appended, so an archive can always reach a human.
BOOKS_MIN_INTERVAL_MSoptional Widen the gap between two requests to one archive. Each archive keeps its own spacing when this is unset, and this can only make it wider.
BOOKS_TIMEOUT_MSoptional Deadline for one request to an archive, in milliseconds. Default 45000.
BOOKS_MAX_RETRIESoptional Retries on rate limiting and transient failures. Default 3.
BOOKS_CACHE_TTL_MSoptional In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.
BOOKS_CACHE_MAX_ENTRIESoptional In-memory cache size. Default 200.
BOOKS_LOG_LEVELoptional silent, error, info or debug. Default error. Logs go to stderr.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-books -- npx -y mcp-books@2.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-books": {
      "args": [
        "-y",
        "mcp-books@2.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-books": {
      "args": [
        "-y",
        "mcp-books@2.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-books": {
      "args": [
        "-y",
        "mcp-books@2.1.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-books]
command = "npx"
args = ["-y", "mcp-books@2.1.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: search_inside, search_items, get_item.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json