Search the Internet Archive and the Library of Congress at once, inside scanned text.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Three great archives hold the scanned record of what was published, and each describes it in its own words. The Internet Archive keeps books, films, recordings and software deposited by anyone, and has run millions of them through optical character recognition. The Library of Congress publishes the national collections of the United States, one catalogue per kind of material. data.bnf.fr publishes the authority records of the Bibliothèque nationale de France, which describe works and the people who wrote them rather than copies.
This server reads all three with one question. You can search the words inside the scanned documents, search the catalogues, and read one record in a single shape whichever archive holds it. It needs no API key and no account.
One-click install
Claude Code
Claude Desktop, Cursor, and any client using the standard config format
Node 24 or later is required, and no environment variable has to be set.
-i keeps stdin open, which is where the protocol travels, and -t is left out
because a TTY rewrites the stream. The container needs outbound HTTPS to
archive.org, openlibrary.org, www.loc.gov and data.bnf.fr, and nothing
else: no volume, no port, no credential.
Download mcp-books-2.0.1.mcpb from
the latest release and
open it. A client that supports MCP bundles installs it on its own, with no npm
and no configuration file to edit. The bundle carries its dependencies, so
nothing is fetched at install time.
An answer takes several seconds: three archives are asked, each at its own pace.
| Source | Archive | What it describes |
|---|---|---|
archive | the Internet Archive | deposited copies, of every kind |
loc | the Library of Congress | the national collections, one catalogue per kind |
bnf | the Bibliothèque nationale de France | works and the people who wrote them |
A row's id names its archive, so an identifier read from one answer goes back
to the right one. Counts are never added across archives, and an archive that
failed is reported as having failed rather than as having found nothing.
| Tool | What it does |
|---|---|
search_inside | Searches the words inside the scanned documents. |
search_items | Searches the catalogues by title, creator, subject or plain words. |
get_item | Reads one record in a single shape, whichever archive holds it. |
search_insideSearches the text inside the scanned documents, which came off the page through optical character recognition.
| Argument | Type | Required | What it does |
|---|---|---|---|
query | string, 2 to 300 characters | yes | The phrase to look for inside the documents. |
limit | integer, 1 to 25, default 3 | no | Matches to keep from each archive. |
page | integer, 1 to 100, default 1 | no | Which page of matches. |
max_excerpt_chars | integer, 80 to 1200, default 300 | no | How much of a passage to serve. |
max_excerpts_per_match | integer, 1 to 10, default 2 | no | Passages served per matching document. |
fan_out | boolean, default true | no | Ask every archive rather than stopping at the first that answers. |
sources | array of source ids | no | Ask these archives alone. |
In return: hits, each carrying id, which get_item takes and which names
its archive; source and source_name; the archive's own identifier without
the prefix; title, creator and year; page_number where the archive states
one; excerpts; and excerpt_kind.
excerpt_kind decides what an excerpt is worth. A passage is the text
around the words that matched. A page_opening is the start of the page, sent
because the machine-read text the archive returned stops before those words
appear: it does not carry the match, so quoting it quotes something else. All the
excerpts of one match are of one kind.
search_itemsSearches the catalogues.
| Argument | Type | Required | What it does |
|---|---|---|---|
query | string, 1 to 300 characters | yes | A title, a creator, a subject, or plain words. |
media_type | a kind one of the archives holds | no | Which kind of material to search. |
year_from | integer, 1000 to 2100 | no | Earliest year. |
year_to | integer, 1000 to 2100 | no | Latest year. |
sort | relevance, newest, oldest or title, default relevance | no | How the rows are ordered. |
limit | integer, 1 to 25, default 5 | no | Rows to keep from each archive. |
page | integer, 1 to 100, default 1 | no | Which page of rows. |
fan_out | boolean, default true | no | Ask every archive. |
sources | array of source ids | no | Ask these archives alone. |
The three archives divide their material differently. The Internet Archive
searches every kind at once when none is named; the Library of Congress is one
route per kind, so a search naming none is told which one was read; and the BnF
search reads works. A media_type one archive has no notion of leaves that
archive out, and the answer says so.
In return: rows in the shape a hit carries, with per_source giving one
report per archive: its status, the count it contributed, its
reported_total and reported_total_means, which says what that number counts
there.
get_itemReads one record in a single shape, whichever archive holds it.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-books)<a href="https://allmcps.com/mcp/mcp-books"><img src="https://allmcps.com/api/badge/mcp-books?style=directory" alt="MCP Books on AllMCPs" /></a>