Sefaria

v0.2.1
io.github.pipeworx-io/sefaria Checked 4 days ago Published 1 month ago

Sefaria MCP — the free digital library of Jewish texts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_text

Fetch a passage of Jewish text from Sefaria by reference, in Hebrew and/or English. Works for Torah/Tanakh, Talmud, Mishnah, Midrash, Halacha, Kabbalah, and commentaries. Keyless.

ParameterTypeDescription
ref *stringTextual reference, e.g. "Genesis.1.1", "Genesis.1.1-5", "Psalms.23", "Shabbat.2a", "Mishnah_Berakhot.1.1".
languagestringWhich translation(s) to return: "en", "he", or "both" (default "both").

lookup_ref

Validate or autocomplete a Sefaria reference or title (e.g. "Genesis", "Rashi", "Berakhot"). Returns whether it is a valid reference/book and a list of completions. Keyless.

ParameterTypeDescription
name *stringA partial title or reference to validate/autocomplete.

get_commentaries

List the commentaries and cross-references on a passage (e.g. Rashi, Targum, quoting commentaries) from Sefaria's link graph. Keyless.

ParameterTypeDescription
ref *stringTextual reference, e.g. "Genesis.1.1", "Shabbat.2a".
categorystringFilter to links of this category, case-insensitive (e.g. "Commentary", "Targum"). Default "Commentary".
limitnumberMax results (default 25, max 100).