HebrewBooks.ai connector


About

HebrewBooks.ai searches the full text of more than 44,000 scanned Hebrew books from the hebrewbooks.org archive - responsa, halacha, chassidus, mussar, talmud and more, spanning five centuries of printing.

Search in the form the word comes to mind. A term matches its prefixed, inflected and suffixed forms - ברכה finds ברכות, לברכה and ברכתו - so there is no need to reduce a word to its dictionary form first, and a multi-word query finds passages where the words appear in other forms and orders. Matching follows the word, not its root: a search for ברכה does not return every derivative of ב־ר־ך. Queries in English, Russian, Spanish, French and other languages are translated to Hebrew before searching.

Four read-only tools:

Each search result has a short excerpt from the matched page and a link to that scanned page on hebrewbooks.org, so a claim can be checked against the printed page it came from. The excerpt does not always contain the matched word. The connector is a finding aid for the archive: it returns short excerpts and links, and the books are read on hebrewbooks.org.

No account and no sign-in. Every tool only reads - nothing is created, changed or deleted on your behalf, anywhere.

Connect

Once HebrewBooks.ai is listed in a connector directory, connecting takes one step and needs no account with us, no sign-in and no key. Until then, add the server by hand as described under Reviewer access.

Known limits

Fair use

The endpoint is rate-limited to about two HTTP requests per second per source IP address, with a burst of 20; over that, requests return 429. Hosted assistants share their platform's addresses, so their users share one allowance. Please be considerate. Source page images are © hebrewbooks.org; this service indexes their text and links to their pages.

Questions: romankagan@gmail.com


For integrators and reviewers

Tool parameters

tool arguments returns
search query (required) · scope = all | title | author · topic · author · year_from · year_to · limit 1-50 (default 10) books with matched-page excerpts and links; total_books; did_you_mean
list_topics none every category and its book count; the strings are the exact values topic accepts
browse_topic topic (required) · limit 1-50 (default 10) the books in one category, alphabetically, no query needed
get_book book_id (required) one book's details and sample page links; the id comes from a search or browse_topic result

scope - all searches the page body and returns highlighted excerpts; title and author find a book rather than a passage.

topic - must be an exact string from list_topics. Call that first rather than guessing.

operator - search also returns broadened (true when the strict match was relaxed) and operator, which says how the match was reached: and (every term matched), near (the terms close together), or (any one term) or vector (no page has the query's words, and up to 10 books related by meaning are returned).

Errors - a failure in search, browse_topic or get_book comes back as {"error": ...} with the reason, plus status when the search service produced it; list_topics fails with a tool error that states the reason.

Reviewer access

No authentication is required and there is no test account, no credentials and no sandbox - you see exactly what every user sees. Before the listing exists, add the server by hand:

Suggested first calls:

list_topics()                        → the corpus categories and their book counts
search(query: "שבת", limit: 5)       → Hebrew full-text search
search(query: "Sabbath", limit: 5)   → auto-translated to Hebrew, then searched
browse_topic(topic: <any value returned by list_topics>, limit: 5)
get_book(book_id: <any book_id from a search result>)

Every result includes a link to the exact scanned page on hebrewbooks.org, so any result can be checked against the printed page.

hebrewbooks.ai