mcp-books
v2.1.0Search the Internet Archive, the Library of Congress and data.bnf.fr at once, in one answer.
Values you need
| Variable | What it is | |
|---|---|---|
BOOKS_USER_AGENT | optional | Identify your own client. The project's own identifier is appended, so an archive can always reach a human. |
BOOKS_MIN_INTERVAL_MS | optional | 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_MS | optional | Deadline for one request to an archive, in milliseconds. Default 45000. |
BOOKS_MAX_RETRIES | optional | Retries on rate limiting and transient failures. Default 3. |
BOOKS_CACHE_TTL_MS | optional | In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off. |
BOOKS_CACHE_MAX_ENTRIES | optional | In-memory cache size. Default 200. |
BOOKS_LOG_LEVEL | optional | 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.0Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_inside, search_items, get_item.
- 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