Torah Scholar
Research Jewish texts with full access to the Sefaria library: Tanach, Talmud Bavli/Yerushalmi, Mishnah, Midrash, Zohar, and thousands of commentaries.
Quick Start
# Search across all texts
torah search "love your neighbor"
# Get specific verse with Hebrew + English
torah verse "Leviticus 19:18"
# Find commentaries on a verse
torah links "Genesis 1:1"
# This week's parsha
torah parsha
# Today's learning schedule (Daf Yomi, etc.)
torah today
Commands
| Command |
Description |
Example |
torah search <query> |
Full-text search |
torah search "tikkun olam" |
torah verse <ref> |
Get text + translation |
torah verse "Psalms 23" |
torah links <ref> |
Commentaries & cross-refs |
torah links "Exodus 20:1" |
torah related <ref> |
Related texts & topics |
torah related "Deuteronomy 6:4" |
torah parsha |
This week's portion |
torah parsha |
torah today |
Daily learning schedule |
torah today |
torah dvar |
Generate dvar Torah |
torah dvar |
torah dvar ref <ref> |
Dvar on specific verse |
torah dvar ref "Genesis 12:1" |
torah dvar theme <theme> |
Dvar with theme focus |
torah dvar theme "leadership" |
Reference Formats
Tanach (Hebrew Bible)
- Books: Genesis, Exodus, Leviticus, Numbers, Deuteronomy (Torah)
- Nevi'im: Joshua, Judges, Samuel, Kings, Isaiah, Jeremiah, Ezekiel, etc.
- Ketuvim: Psalms, Proverbs, Job, Song of Songs, Ruth, Ecclesiastes, etc.
- Format:
Book Chapter:Verse or Book Chapter:Start-End
- Examples:
Genesis 1:1, Psalms 23, Isaiah 40:1-5
Talmud
- Bavli (Babylonian):
Tractate DafNumber + a or b
- Examples:
Berakhot 2a, Shabbat 31a, Bava Metzia 59b
- Major tractates: Berakhot, Shabbat, Eruvin, Pesachim, Yoma, Sukkah, Beitzah, Rosh Hashanah, Taanit, Megillah, Moed Katan, Chagigah, Yevamot, Ketubot, Nedarim, Nazir, Sotah, Gittin, Kiddushin, Bava Kamma, Bava Metzia, Bava Batra, Sanhedrin, Makkot, Shevuot, Avodah Zarah, Horayot, Zevachim, Menachot, Chullin, Bekhorot, Arakhin, Temurah, Keritot, Meilah, Tamid, Niddah
Mishnah
- Format:
Mishnah Tractate Chapter:Mishnah
- Examples:
Mishnah Avot 1:1, Mishnah Berakhot 1:1
Midrash
- Midrash Rabbah:
Genesis Rabbah 1:1, Exodus Rabbah 1:1
- Midrash Tanchuma:
Tanchuma Bereshit 1
- Other:
Pirkei DeRabbi Eliezer 1
Commentaries
- Access via
torah links <ref> to see Rashi, Ramban, Ibn Ezra, Sforno, etc.
Research Workflows
Find Sources on a Topic
# 1. Search for topic
torah search "repentance teshuvah"
# 2. Get full text of relevant result
torah verse "Maimonides Hilchot Teshuvah 2:1"
# 3. Find related commentaries
torah links "Maimonides Hilchot Teshuvah 2:1"
Prepare a Dvar Torah
# 1. Get this week's parsha
torah parsha
# 2. Read the opening verses
torah verse "Genesis 12:1-5" # (adjust to actual parsha)
# 3. Find commentaries for insights
torah links "Genesis 12:1"
# 4. Search for thematic connections
torah search "lech lecha journey"
Study Daf Yomi
# 1. Check today's daf
torah today
# 2. Get the text
torah verse "Berakhot 2a" # (from calendar)
# 3. See what it connects to
torah links "Berakhot 2a"
Generate a Dvar Torah
# Quick dvar for this week's parsha
torah dvar
# Focus on specific verse
torah dvar ref "Exodus 28:1"
# Explore a theme across sources
torah dvar theme "holiness and service"
The dvar generator outputs:
- Opening verses with Hebrew + English
- Key commentaries (Rashi, Ramban, Sforno, etc.)
- Related sources across the library
- Suggested structure (hook → problem → sources → resolution → application)
- Themes to explore further
Python API
For advanced usage, import directly:
from scripts.sefaria import get_text, search, get_links, get_parsha
# Get verse
result = get_text("Genesis 1:1")
print(result.get("he")) # Hebrew
print(result.get("text")) # English
# Search
results = search("golden rule", limit=5)
# Get commentaries
links = get_links("Leviticus 19:18")
Tips
- Hebrew search: Sefaria supports Hebrew queries:
torah search "ואהבת לרעך כמוך"
- Partial refs:
torah verse "Psalms 23" returns entire chapter
- Ranges:
torah verse "Genesis 1:1-5" for multiple verses
- Talmud context: Daf refs include both amud a and b context
Limitations
- Rate-limited by Sefaria (be respectful of their free API)
- Some texts may have Hebrew only (no English translation)
- Search is full-text, not semantic (exact/stemmed matches)
Source
Powered by Sefaria — the free, open-source library of Jewish texts.
1---2name: torah-scholar3description: Search and explore Jewish texts (Torah, Tanach, Talmud, Midrash, commentaries) via Sefaria API. Use when researching Torah sources, looking up verses, finding commentaries, cross-references, or preparing divrei Torah. Supports Hebrew and English. Handles references like "Genesis 1:1", "Berakhot 2a", "Mishnah Avot 1:1".4---56# Torah Scholar78Research Jewish texts with full access to the Sefaria library: Tanach, Talmud Bavli/Yerushalmi, Mishnah, Midrash, Zohar, and thousands of commentaries.910## Quick Start1112```bash13# Search across all texts14torah search "love your neighbor"1516# Get specific verse with Hebrew + English17torah verse "Leviticus 19:18"1819# Find commentaries on a verse20torah links "Genesis 1:1"2122# This week's parsha23torah parsha2425# Today's learning schedule (Daf Yomi, etc.)26torah today27```2829## Commands3031| Command | Description | Example |32|---------|-------------|---------|33| `torah search <query>` | Full-text search | `torah search "tikkun olam"` |34| `torah verse <ref>` | Get text + translation | `torah verse "Psalms 23"` |35| `torah links <ref>` | Commentaries & cross-refs | `torah links "Exodus 20:1"` |36| `torah related <ref>` | Related texts & topics | `torah related "Deuteronomy 6:4"` |37| `torah parsha` | This week's portion | `torah parsha` |38| `torah today` | Daily learning schedule | `torah today` |39| `torah dvar` | Generate dvar Torah | `torah dvar` |40| `torah dvar ref <ref>` | Dvar on specific verse | `torah dvar ref "Genesis 12:1"` |41| `torah dvar theme <theme>` | Dvar with theme focus | `torah dvar theme "leadership"` |4243## Reference Formats4445### Tanach (Hebrew Bible)46- Books: Genesis, Exodus, Leviticus, Numbers, Deuteronomy (Torah)47- Nevi'im: Joshua, Judges, Samuel, Kings, Isaiah, Jeremiah, Ezekiel, etc.48- Ketuvim: Psalms, Proverbs, Job, Song of Songs, Ruth, Ecclesiastes, etc.49- Format: `Book Chapter:Verse` or `Book Chapter:Start-End`50- Examples: `Genesis 1:1`, `Psalms 23`, `Isaiah 40:1-5`5152### Talmud53- Bavli (Babylonian): `Tractate DafNumber` + `a` or `b`54- Examples: `Berakhot 2a`, `Shabbat 31a`, `Bava Metzia 59b`55- Major tractates: Berakhot, Shabbat, Eruvin, Pesachim, Yoma, Sukkah, Beitzah, Rosh Hashanah, Taanit, Megillah, Moed Katan, Chagigah, Yevamot, Ketubot, Nedarim, Nazir, Sotah, Gittin, Kiddushin, Bava Kamma, Bava Metzia, Bava Batra, Sanhedrin, Makkot, Shevuot, Avodah Zarah, Horayot, Zevachim, Menachot, Chullin, Bekhorot, Arakhin, Temurah, Keritot, Meilah, Tamid, Niddah5657### Mishnah58- Format: `Mishnah Tractate Chapter:Mishnah`59- Examples: `Mishnah Avot 1:1`, `Mishnah Berakhot 1:1`6061### Midrash62- Midrash Rabbah: `Genesis Rabbah 1:1`, `Exodus Rabbah 1:1`63- Midrash Tanchuma: `Tanchuma Bereshit 1`64- Other: `Pirkei DeRabbi Eliezer 1`6566### Commentaries67- Access via `torah links <ref>` to see Rashi, Ramban, Ibn Ezra, Sforno, etc.6869## Research Workflows7071### Find Sources on a Topic72```bash73# 1. Search for topic74torah search "repentance teshuvah"7576# 2. Get full text of relevant result77torah verse "Maimonides Hilchot Teshuvah 2:1"7879# 3. Find related commentaries80torah links "Maimonides Hilchot Teshuvah 2:1"81```8283### Prepare a Dvar Torah84```bash85# 1. Get this week's parsha86torah parsha8788# 2. Read the opening verses89torah verse "Genesis 12:1-5" # (adjust to actual parsha)9091# 3. Find commentaries for insights92torah links "Genesis 12:1"9394# 4. Search for thematic connections95torah search "lech lecha journey"96```9798### Study Daf Yomi99```bash100# 1. Check today's daf101torah today102103# 2. Get the text104torah verse "Berakhot 2a" # (from calendar)105106# 3. See what it connects to107torah links "Berakhot 2a"108```109110### Generate a Dvar Torah111```bash112# Quick dvar for this week's parsha113torah dvar114115# Focus on specific verse116torah dvar ref "Exodus 28:1"117118# Explore a theme across sources119torah dvar theme "holiness and service"120```121122The dvar generator outputs:123- Opening verses with Hebrew + English124- Key commentaries (Rashi, Ramban, Sforno, etc.)125- Related sources across the library126- Suggested structure (hook → problem → sources → resolution → application)127- Themes to explore further128129## Python API130131For advanced usage, import directly:132133```python134from scripts.sefaria import get_text, search, get_links, get_parsha135136# Get verse137result = get_text("Genesis 1:1")138print(result.get("he")) # Hebrew139print(result.get("text")) # English140141# Search142results = search("golden rule", limit=5)143144# Get commentaries145links = get_links("Leviticus 19:18")146```147148## Tips149150- **Hebrew search**: Sefaria supports Hebrew queries: `torah search "ואהבת לרעך כמוך"`151- **Partial refs**: `torah verse "Psalms 23"` returns entire chapter152- **Ranges**: `torah verse "Genesis 1:1-5"` for multiple verses153- **Talmud context**: Daf refs include both amud a and b context154155## Limitations156157- Rate-limited by Sefaria (be respectful of their free API)158- Some texts may have Hebrew only (no English translation)159- Search is full-text, not semantic (exact/stemmed matches)160161## Source162163Powered by [Sefaria](https://www.sefaria.org) — the free, open-source library of Jewish texts.