דבר תורה
Dvar Torah Plugin for Claude Code
Write beautiful, source-verified divrei Torah, posts, and shiurim — across every stream of Jewish thought.
Powered by Sefaria MCP for real source retrieval. No fabricated citations. Ever.
What It Does
An interactive Claude Code plugin that writes Torah content grounded in real sources. You choose the orientation, format, length, occasion, and thinkers — the plugin researches, analyzes, verifies, and writes.
Every single citation is retrieved and verified through Sefaria — the world's largest open library of Jewish texts.
Supported Orientations
| Stream | Thinkers & Texts |
|---|
| Jewish Philosophy | Rambam, Saadia Gaon, Gersonides, Crescas, Albo, Yehuda HaLevi, Bahya Ibn Paquda, Ran, Akeidat Yitzchak |
| Kabbalah | Zohar, Ari, Ramak, Ramchal, Abulafia, Baal HaSulam |
| Hasidut | Baal Shem Tov, Maggid, Tanya/Chabad, Breslov, Kedushat Levi, Izhbitz, R. Tzadok, Sefat Emet, Esh Kodesh |
| Hazal / Midrash | Mishnah, Tosefta, Bavli, Yerushalmi, Mekhilta, Sifra, Sifrei, Midrash Rabbah, Tanchuma, Pesikta, Yalkut Shimoni |
| Modern Jewish Thought | Rav Kook, Jonathan Sacks, Eliezer Berkovits, Y. Leibowitz + academic lenses (Kaufmann, Cassuto, etc.) |
| Musar + Halakhic Frameworks | Sha'arei Teshuvah, Orchot Tzadikim, Mesillat Yesharim, Mishneh Torah, Shulchan Arukh, Sefer HaChinukh |
Formats & Lengths
| Format | Lengths | Best For |
|---|
| Dvar Torah | Short (5 min) / Medium (15 min) / Long (30 min) | Shabbat table, synagogue, publication |
| Post | Short (5 min) | Social media, blog, newsletter |
| Shiur | Full (45 min) | Classroom, study group, lecture |
Life-Cycle Contexts
Tailored tone and themes for: Birth, Brit Milah, Bar/Bat Mitzvah, Wedding, Shabbat, Holiday, Shiva, Yahrzeit, or General.
Quick Start
1. Connect to Sefaria MCP (Required)
The plugin needs Sefaria MCP for source retrieval and citation verification. Choose one:
Option A — Claude Account Connectors (Recommended)
The simplest way. No Docker, no local setup.
- Go to claude.ai/settings/integrations
- Find Sefaria and click Connect
- Done — the connector is automatically available in all your Claude Code sessions
Option B — Claude Code CLI
claude mcp add-oauth Sefaria
Option C — Docker (Self-Hosted)
docker build -t sefaria-mcp https://github.com/Sefaria/sefaria-mcp.git
docker run -d --name sefaria-mcp -p 8089:8088 sefaria-mcp
Then add to your .mcp.json:
{
"mcpServers": {
"sefaria": {
"type": "sse",
"url": "http://localhost:8089/sse"
}
}
}
2. Install the Plugin
/plugin install dvar-torah-plugin
3. Run Setup (Optional)
/dvar-torah:setup
The setup wizard checks your Sefaria connection, configures language, orientation, default thinkers, and writing style.
4. Write Your First Dvar Torah
/dvar-torah
The interactive wizard guides you through every choice — language, orientation, format, length, topic, thinkers, and occasion.
Usage Examples
/dvar-torah # Interactive wizard
/dvar-torah פרשת בראשית # This week's parsha
/dvar-torah format: post, topic: divine providence # Quick social post
/dvar-torah orientation: kabbalah, topic: sefirot # Kabbalistic dvar torah
/dvar-torah orientation: hasidut, context: wedding # Hasidic wedding speech
/dvar-torah format: shiur, length: shiur, topic: prophecy # 45-min lesson plan
/dvar-torah type: research, topic: Code of Hammurabi # Academic/historical
/dvar-torah format: dvar-torah, length: long, thinkers: Rambam, Crescas
How It Works — Model-Smart Architecture
The plugin uses a three-tier model strategy to balance speed, depth, and quality:
Phase 0 — Selection (Haiku) ~5s
└── Interactive wizard — instant responses
Phase 1 — Research (Haiku, parallel) ~15s
├── Source researcher → Sefaria lookups
├── Previous analyzer → Learn from past writings
├── Historical researcher → ANE parallels (if needed)
└── Mussar researcher → Ethics sources (if needed)
Phase 2 — Analysis (Sonnet + Haiku, parallel) ~20s
├── Philosophical analyzer → Deep reasoning
└── Source verifier → Verify every citation