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:
- search - full text across the corpus, with filters for category, author and printing year.
- list_topics - the categories in the corpus and how many books each holds.
- browse_topic - the books in one category, alphabetically.
- get_book - one book's details by its hebrewbooks.org id.
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.
- ChatGPT: open the plugin directory, find HebrewBooks.ai and connect.
- Claude (web, desktop, mobile): Settings > Connectors, find HebrewBooks.ai in the directory and connect. On a Team or Enterprise plan an Owner enables it for the organisation first.
- Any other MCP client that speaks streamable HTTP: point it at
https://hebrewbooks.ai/mcp.
Known limits
- Most abbreviations are not expanded. A few dozen common ones are bridged to their full form and back (קלב"מ ↔ קים ליה בדרבה מיניה, ת"ל ↔ תלמוד לומר), and a bare author acronym such as רמב"ם is recognised as that author and his works come first. Beyond those, a passage that prints an abbreviation is found by the abbreviation, not by the words it stands for, and vice versa.
- A quoted abbreviation can return far more than the same token unquoted (an open
issue;
"רמבם"returns tens of thousands of books against about a hundred bare). Searching abbreviations unquoted avoids it. - Indexing is ongoing. Not every book in the archive is searchable yet.
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:
- ChatGPT: open chatgpt.com/plugins, select the plus
button, then Add custom MCP server. Give it a name and description; under Connection
enter
https://hebrewbooks.ai/mcp; leave authentication at none; accept the risk notice (I understand and want to continue) and select Create as a plugin. ChatGPT then lists the four tools it discovered. Account and workspace policies apply. - Claude (web, desktop, mobile): Settings > Connectors > Add custom connector, and paste the URL.
- Claude Code:
claude mcp add --transport http hebrewbooks https://hebrewbooks.ai/mcp - MCP Inspector, or any other client:
https://hebrewbooks.ai/mcp, streamable HTTP, no authentication.
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.