Skip to content
 
 

Repository files navigation

Exegete

🌐 English | 한국어

Hallucination-resistant Bible exegesis for Claude — in Greek, Hebrew, English, and Korean.

License: MIT Data: CC BY 4.0 Python PRs Welcome

Give Claude a verse, and Exegete produces a rigorous 4-stage exegesis — structure → original-language philology → theology & intertextuality → sermon framework. Unlike most AI Bible tools, it never invents the text or the morphology: every verse is pulled from real data, every Greek/Hebrew parse comes from a tagged dataset, and now even the lexicon definitions are pulled from real dictionaries — not the model's memory.


Why Exegete is different

🛡️ No hallucination of Scripture — the biblical text is extracted by lookup.py, never recalled from memory. Original-language parsing comes from STEPBible's tagged data. Uncertain inferences are explicitly marked [verify].

🔬 Real original languages — every Greek/Hebrew word with translation, Strong's number, morphology, and lemma.

📖 Real lexicon definitions (new) — add --lex and each word gets its full dictionary entry (Greek: Abbott-Smith · Hebrew: BDB), pulled from data and matched by exact extended Strong's number so homographs never collide (בָּרָא "create" H1254A ≠ "be fat" H1254B). No more AI inventing "according to BDAG…" — entries that are missing or ambiguous are flagged [verify] instead of guessed.

🌏 Multilingual — input and read in English or Korean. Ships with the public-domain World English Bible + 개역한글 (Korean Revised Version), so Korean works out of the box.

Tradition-aware, bias-honest — set your theological tradition; on debated historical questions (Exodus dating, etc.) it presents both conservative and critical views rather than asserting one.


Demo

$ python src/lookup.py "John 3:16"
▶ John 3:16  For God so loved the world, that he gave his one and only Son,
             that whoever believes in him should not perish, but have eternal life.

$ python src/greek_lookup.py "John 3:16"
  ἠγάπησεν (ēgapēsen)  loved   [G0025 V-AAI-3S]  ← ἀγαπάω = to love
  μονογενῆ (monogenē)  only    [G3439 A-ASM]     ← μονογενής = unique
  πιστεύων (pisteuōn)  believing [G4100 V-PAP-NSM] ← πιστεύω = to trust

$ python src/greek_lookup.py "John 3:16" --lex    # + full lexicon definitions
  ἠγάπησεν (ēgapēsen)  loved   [G0025 V-AAI-3S]  ← ἀγαπάω = to love
      ▸ ἀγαπάω (agapaō) G0025 — to love
        to love, to feel and exhibit esteem and goodwill to a person...
        SYN.: φιλέω — love based on esteem (diligo), vs. spontaneous affection (amo)

$ python src/word_search.py G26          # every occurrence of ἀγάπη (love)
총 114회 출현 — 요한일서(18), 고린도전서(14), 로마서(9) ...

$ python src/liturgical.py "Easter"      # lectionary readings
$ python src/series.py "Philippians"     # expository sermon series outline
$ python src/background.py "Exodus"       # historical background (with controversy flags)

Then in Claude Code, just ask: "Exegete John 3:16" — and CLAUDE.md drives the full 4-stage analysis.


Quick start

git clone https://github.com/worlyung/exegete.git
cd exegete
python src/lookup.py "John 3:16"     # works immediately (World English Bible included)

Add original languages (Greek/Hebrew morphology, ~100 MB, CC BY):

python setup_data.py

Add lexicon definitions (Greek Abbott-Smith / Hebrew BDB, CC BY) — enables --lex:

python src/build_lexicon.py

Korean works out of the box — 개역한글 (Korean Revised Version, public domain) is bundled and auto-selected, no setup needed.

Want 개역개정 (copyrighted)? Supply your own copy — accessed legally via a Bible app or the Korean Bible Society — as src/data/bible_krv.txt, and it takes priority over 개역한글. Never redistribute it.


Modes

Mode Command / trigger What it does
4-stage exegesis "Exegete <ref>" structure → philology → theology → sermon
Word study word_search.py G26 every occurrence of a Greek/Hebrew word
Lexicon definitions greek_lookup.py <ref> --lex full dictionary entry per word (Abbott-Smith / BDB)
Lectionary liturgical.py "Easter" 13 church seasons, key readings
Sermon series series.py "Philippians" book split into preachable units
Historical background background.py "Exodus" people/events/journeys with controversy flags
Devotional / study guide / reading plan / parallels see CLAUDE.md lighter formats

Export to Word (.docx) 🖨️

Turn any exegesis (output/*.md) into a formatted Word document — headings, tables, original-language text, structure diagrams, and blockquotes are all preserved. Opens in MS Word and Hangul (한컴 한글) for editing, printing, and sharing.

Just tell Claude Code: "export that as Word."

Or run it yourself — once pip install python-docx:

python src/export_docx.py "output/Eph2_8-9.md"   # one file
python src/export_docx.py --all                   # everything in output/

Data & licensing

  • Code, prompts, methodology: MIT.
  • World English Bible (bundled): Public Domain.
  • 개역한글 / Korean Revised Version (1961) (bundled): © Korean Bible Society; copyright expired (2012) → free use, text kept unaltered with attribution.
  • Original languages (via setup_data.py): STEPBible TAGNT/TAHOT, CC BY 4.0 © Tyndale House, doctrinally neutral.
  • Lexicon definitions (via src/build_lexicon.py): STEPBible TBESG (Abbott-Smith) / TBESH (BDB), CC BY 4.0 © Tyndale House.
  • Copyrighted translations (개역개정, NA28, BHS, Louw-Nida): never bundled — supply your own. See docs/DATA_SOURCES.md.

Korean support 🇰🇷

Exegete is built with first-class Korean support — input 요3:16, Korean book names, and full integration with the 개역개정 (Korean Revised Version, user-supplied). Methodology and prompts are bilingual. 한국 교회·신학생을 위한 정확한 원어·주해 도구.

Credits

4-stage structure inspired by and rewritten from bible_analyze. Standard exegetical methods (pericope, discourse analysis, canonical trajectory, homiletics) are shared scholarly heritage. Original-language data by STEPBible / Tyndale House.

License

MIT (code) — see LICENSE and NOTICE.

About

Hallucination-resistant Bible exegesis for Claude — Greek, Hebrew, English & Korean. 4-stage exegesis with real original-language data.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages