MCP Books
One question across Internet Archive, Library of Congress and the BnF catalogues
- Pricing
- Free
- Platforms
- self-hosted, CLI
- Runs
- Locally
- Version
- 2.1.0
- Listing updated
- 2 days ago
About MCP Books
MCP Books is a free MCP server for books and literature. It runs locally on your machine and is started by your AI client.
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.
Install
Run in a terminal
claude mcp add mcp-books -- npx -y mcp-booksAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-books": {
"command": "npx",
"args": [
"-y",
"mcp-books"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-books": {
"command": "npx",
"args": [
"-y",
"mcp-books"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-books": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-books"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-books": {
"command": "npx",
"args": [
"-y",
"mcp-books"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-books": {
"command": "npx",
"args": [
"-y",
"mcp-books"
]
}
}
}Configuration
BOOKS_USER_AGENTIdentify your own client. The project's own identifier is appended, so an archive can always reach a human.BOOKS_MIN_INTERVAL_MSWiden 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_MSDeadline for one request to an archive, in milliseconds. Default 45000.BOOKS_MAX_RETRIESRetries on rate limiting and transient failures. Default 3.BOOKS_CACHE_TTL_MSIn-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.BOOKS_CACHE_MAX_ENTRIESIn-memory cache size. Default 200.BOOKS_LOG_LEVELsilent, error, info or debug. Default error. Logs go to stderr.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
- 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.
What it does
- 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
Pricing
Free
No key or account needed.
MCP Books 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 to MCP Books

一孔录《论语》 Yikonglu Analects
MCP serverLook up Analects of Confucius chapters with Zhu Xi commentary pages
- 4 tools
- Remote
- Free
- Books and literature

List Of Books
MCP serverBook series reading orders, author series and book-to-series lookups via MCP and REST
- 5 tools
- Remote
- Freemium
- Books and literature

Book Cover Generator
MCP serverBook covers from a title and author: 39 styles, SVG, PNG and print-ready PDF export
- 4 tools
- Remote
- Open source
- Design and media

Shakespeare's Monologues
MCP serverSearch Shakespeare monologues by character, play or style, with plain-English paraphrases
- 10 tools
- Remote
- Open source
- Books and literature

Hero of You
MCP serverFind a personalized illustrated children's book by age, interests and occasion
- 2 tools
- Remote
- Free
- Books and literature
INKFLOW Studio
MCP serverGenerate whole books, series and company manuals with AI, checked for continuity
- 10 tools
- Remote
- Freemium
- Books and literature