Skip to main content
Glama
Open English Translation of the Bible

Open English Translation of the Bible

Official

Open English Translation (OET) MCP Server

An official Model Context Protocol (MCP) server providing Large Language Models (LLMs) with high-speed, structured access to the Open English Translation (OET) of the Bible.

The OET design specifications are at OET.Bible. The OET text is available on GitHub here.


What the server provides

The OET Readers’ Version (RV) and Literal Version (LV) are intended to be read together. This server supplies parallel passages, translator notes, source-word links, lemma usage statistics, and explicit translation annotations for LLM research.

  • Greek interlinears and counts exclude unused source variants by default; variants remain available with their original selection marker.

  • Hebrew and Aramaic words link to their actual lemma components, including prefixed forms.

  • Standard Strong’s identifiers are distinct from the extended identifiers in SR-GNT.

  • Decisions retain their source version and affected ESFM span. Their category is not a passage-specific explanation; translator notes and model inference remain distinct.

  • Paragraph/poetry structure, introductions, sections, source declarations, word alignments, and decoded morphology are available on demand.

  • Every tool is read-only and returns structured data plus readable text. Searches and passages have bounded pages and continuation offsets.

The lexical data describes OET-LV word-table usage, not dictionary definitions, etymology, manuscript witness evidence, or RV gloss frequencies. Hebrew whole-word glosses can contain several morphemes. Read get_oet_guide before interpreting unfamiliar conventions.


Related MCP server: Echo Prayer MCP Server

Quick Start

Running via uvx

uvx oet-mcp-server

Installation from Source

Note: the approximately 417 MiB corpus database is a Git-LFS file. Without git lfs pull you get only a ~130-byte LFS pointer, and every data tool fails at runtime.

git clone https://github.com/Freely-Given-org/open-english-translation-mcp-server.git
cd open-english-translation-mcp-server
git lfs install && git lfs pull   # materialize the real corpus database
uv sync
uv run oet-mcp-server

AI Client Configuration

1. Claude Desktop / Antigravity / Cursor

Add to your claude_desktop_config.json or MCP settings:

{
  "mcpServers": {
    "oet-bible": {
      "command": "uvx",
      "args": ["oet-mcp-server"]
    }
  }
}

Or for local development:

{
  "mcpServers": {
    "oet-bible": {
      "command": "uv",
      "args": [
        "--directory",
        "/srv/FreelyGiven/open-english-translation-mcp-server",
        "run",
        "oet-mcp-server"
      ]
    }
  }
}

MCP Server Capabilities

Tools

Tool

Purpose

Useful options

get_oet_guide

Interpretation conventions and evidence limits

No arguments

get_passage

Parallel, RV, LV, or interlinear passages

include_notes, show_decision_codes, include_structure, include_alignment, include_raw, include_variants, limit, offset

get_book_context

Introductions, source notes, version declarations and section outlines

book, limit, offset

get_section

Read a complete contextual section in bounded pages

section_id, limit, offset

compare_translations

Version-specific annotation comparison

reference, limit, offset

get_translation_decisions

Decision categories, source spans and supporting notes

reference, limit, offset

search_text

English keyword/phrase matches in the requested translation

version, testament, book, limit, offset

search_lemma

Selected source-word counts and representative occurrences

testament, book, include_variants, sampling, limit, offset

lookup_word

Selection status, lemma components, grammar and aligned English

word_id

get_lexicon_entry

Complete LV gloss distribution and selected/unused/unglossed counts

query, lang (auto, greek, hebrew, aramaic)

Examples:

get_passage(reference="John 1:1", version="interlinear", include_alignment=true)
get_passage(reference="Psalm 1:1-6", include_structure=true)
get_book_context(book="John")
get_section(section_id="JHN.RV.S1")
search_lemma(lemma_or_strongs="G3056", sampling="representative")
search_lemma(lemma_or_strongs="H7225", book="Genesis", sampling="canonical")
lookup_word(word_id="GEN_1:1w1")

get_passage defaults to 20 verse records, with at most 10 in interlinear mode. Other limits are described in each tool schema; all are capped at 100. Repeat the same request with the returned next_offset to continue. Grouped source verses such as 1–3 retain their labels and can be retrieved by requesting a verse inside the group. RV and LV may use different groupings; unavailable matching segments are identified explicitly.

Text search treats unquoted words as AND terms and double-quoted text as an exact phrase. Punctuation is accepted; FTS operators are not exposed. Version filters constrain the search itself. Results include a filtered total, not just the page size.

Lemma lookup accepts original-script or source-transliterated lemmas, accent variants, standard Strong’s IDs (G3056, H7225), and returned lemma keys. Extended Greek IDs remain accepted when unambiguous. Disambiguate explicitly with strongs:G260 versus strongs_ext:G260. Do not infer a root from an English gloss. Ambiguous lemma lookup returns candidate keys; concordance search can combine matching lemma entries without double-counting source words. Representative sampling rotates across books; canonical sampling supports consecutive traversal. Full-corpus statistics are labelled separately from filtered samples.

Word IDs include JHN_1:1w5, JHNc1v1w5, and namespaced source-table rows (NT:62342, OT:1). Alignment spans and decision spans are half-open character offsets in the returned verse ESFM, not in the cleaned English text. Source-table IDs are revision-specific. Links are imported from the source; missing links are not guessed. Greek word order follows source-table positions. Decoded grammar names its scheme and preserves unknown codes rather than guessing their meaning.

format="markdown" is the default passage reading view. format="json" changes its text representation; both formats always return typed MCP structuredContent with an output schema. Raw ESFM, structure and alignments are opt-in. Null and default optional values are omitted. Public passage URLs may show a newer edition than the local corpus; cite its revision and hashes.

Resources and prompts

Resources: oet://guide, oet://catalog, oet://metadata/rv, oet://metadata/lv, oet://formats, oet://passage/{version}/{reference}, oet://word/{word_id}, and oet://lexicon/{lang}/{query}. Resource passage reads use a bounded default page; use the tools to continue or request detailed views.

The comparative_exegesis, biblical_word_study, and translation_critique prompts start from context and source evidence. They distinguish translator notes from model interpretation and do not request unsupported dictionary or manuscript claims.

Corpus updates and compatibility

Version 0.2 requires MCP SDK 2.1.1 or newer within major version 2 and corpus schema 2. Older corpus files are rejected with a rebuild message. The database is approximately 417 MiB and remains a Git-LFS artifact. Build from the local OET checkout with:

uv run python scripts/build_db.py
uv run python scripts/verify_db.py
uv run pytest -q

The builder writes a temporary database and replaces the destination only after a successful build and integrity check. --output /path/to/corpus.db builds to a different destination. Provenance records the OET repository revision, whether source files differ from that revision, source-file and word-table hashes, build timestamp, attribution and text licence. Per-book declarations retain source edition and adaptation notes, including WEBBE material.

Regression scenarios cover unused variants in John 1:1, logos counts, prefixed Hebrew stems, invalid ranges, version/language filters, decision attribution, recovered notes, poetry boundaries, word alignment, grouped verses, pagination, morphology and the MCP output contract.


OET Translation Decision Codes Reference

Code

Category

Meaning

Example

@

Referent Replacement

Pronoun changed to explicit name

\add @David\add*

≈

Rewording

Rephrased for modern clarity

\add ≈answered\add*

#

Number Change

Singular generalized to plural

\add #people\add*

%

Person Shift

Direct speech flattened to indirect

\add %that he will\add*

^

Opposite Phrasing

Saying phrased positively

\add ^always open\add*

+

Added Article

Article added for English grammar

\add +the\add*

=

Added Copula

Helping verb ('is', 'was') added

\add =is\add*

<

Added Direct Object

Object added for transitive verb

\add <it\add*

>

Added Implied Object

Implied entity ('thing', 'person')

\add >things\add*

≡

Elided Repetition

Repeated elided word for clarity

\add ≡pursued\add*

&

Added Owner

Possessive added for naturalness

\add &his\add*

?

Uncertainty Marker

Translator doubt regarding intent

\add ?in the clouds\add*

!

Alternate Name

Familiar/traditional name added in parentheses after an OET distinctive name

\add !(Moses)\add*

≈ (line)

Synonymous Parallelism

Second poetic line reiterates first

\q1 ≈Yahweh gives comfort

^ (line)

Antithetic Parallelism

Second poetic line states contrast

\q1 ^but Israel will fall

→ (line)

Synthetic Parallelism

Second poetic line reaches result

\q1 →and he answered

⇔ (verse)

Order Swapped

Clauses inverted for English flow

\v 10 ⇔The girls did...


Deployment (Docker)

Important: the approximately 417 MiB corpus database is stored as a Git-LFS file. A checkout without git lfs pull contains only a ~130-byte LFS pointer, which makes every data tool fail at runtime. The Dockerfile guards against this: scripts/verify_db.py runs at build time and fails the build if the DB isn't a real, queryable SQLite database.

The .github/workflows/docker-publish.yml workflow materializes the LFS data, builds the image, and pushes it to ghcr.io/freely-given-org/open-english-translation-mcp-server as :latest and :main (on pushes to main) and :v* (on version tags). Deploying servers then pull instead of building:

Before this works, the workflow must have published at least one image (push to main, create a v* tag, or trigger it from the GitHub Actions tab). Until then docker compose pull fails, so use the local-build path below.

git clone --filter=blob:none https://github.com/Freely-Given-org/open-english-translation-mcp-server.git
cd open-english-translation-mcp-server
docker compose pull          # pulls the GHCR image
docker compose up -d         # no local build, no LFS data needed on the server

OET_MCP_IMAGE overrides the image used by docker-compose.yml.

Building locally

git lfs install && git lfs pull   # materialize the real corpus DB
docker compose up -d --build

The container exposes a Docker healthcheck (scripts/healthcheck.py) that validates the DB and that the MCP proxy is accepting connections, so docker inspect / orchestrators report the deploy as unhealthy if the DB is invalid.


License

Available Tools

7 tools
compare_translationsA

Isolates and computes detailed translation divergencies between OET-RV and OET-LV for a passage.

Identifies:

  • Added words in LV (copulas, articles, direct objects).

  • Untranslated original language particles (Greek articles before proper names, Hebrew DOM).

  • Explicit RV translation decisions (referents substituted for pronouns, rewordings, number changes).

  • Poetic parallelism (≈) and clause inversions (⇔).

Args: reference: Scripture reference (e.g. 'John 1:1-3', 'Romans 1:16-17').

Inputs: reference (required). Returns: result

get_lexicon_entryC

Retrieve full lexicon definition, semantic range, and distribution statistics for a lemma or Strong's ID.

Args: query: Greek/Hebrew lemma or Strong's ID (e.g. 'G3056', 'logos', 'H7225', 'shalom'). lang: Language filter ('auto', 'greek', 'hebrew').

Inputs: query (required), lang. Returns: result

get_passageA

Retrieve Scripture from the Open English Translation (OET).

Supports:

  • 'parallel': Side-by-side comparison of Readers' Version (OET-RV) and Literal Version (OET-LV).

  • 'rv': Easy-to-read Readers' Version.

  • 'lv': Hyper-literal, grammatically transparent Literal Version.

  • 'interlinear': Token-level table with original Greek/Hebrew, transliterated lemmas, Strong's numbers, morphology, and glosses.

Args: reference: Standard reference (e.g. 'John 1:1-5', 'Rom 8:28', 'Gen 1:1-3', 'JHN.1.1'). version: Translation view ('parallel', 'rv', 'lv', 'interlinear'). include_notes: Whether to attach translator footnotes and cross-references. format: Output format ('markdown' or 'json'). show_decision_codes: If true, reveals inline decision codes (e.g. [@referent], [≈rewording], [+the]).

Inputs: reference (required), format, version, include_notes, +1 more. Returns: result

get_translation_decisionsA

Extract all explicit translator decision annotations (\add tags, referents, rewordings) in a passage.

Args: reference: Scripture reference (e.g. 'John 1:1-18', 'Romans 1:1-7').

Inputs: reference (required). Returns: result

lookup_wordA

Drill down into a specific original word link token (e.g. 'JHNc1v1w5' or 'JHN_1:1w5'). Returns complete grammatical parsing, SR-GNT / UHB collation, Strong's number, and gloss.

Args: word_id: Token ID (e.g. 'JHNc1v1w5', 'MAT_1:1w1', 'GEN_1:1w1').

Inputs: word_id (required). Returns: result

search_lemmaA

Find all biblical occurrences of an original Hebrew/Greek root or Strong's number. Returns the exact gloss frequency distribution across both OET-RV and OET-LV.

Args: lemma_or_strongs: Lemma (e.g. 'logos', 'agape', 'bereshit') or Strong's ID ('G3056', 'H7225'). testament: 'all', 'OT', or 'NT'. limit: Max occurrences to return (default: 30).

Inputs: lemma_or_strongs (required), limit, testament. Returns: result

search_textA

High-speed full-text search across the Open English Translation using SQLite FTS5.

Args: query: Search keywords or exact phrase (e.g. 'true light', 'messenger God', 'covenant'). version: Search in 'rv', 'lv', or 'both'. testament: Filter by 'all', 'OT', or 'NT'. limit: Maximum number of verse matches (default: 20).

Inputs: query (required), limit, version, testament. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a distinct purpose: passage retrieval, lexicon lookup, word-level token lookup, translation comparison, annotation extraction, lemma search, and full-text search. Even the seemingly related compare_translations and get_translation_decisions are clearly differentiated by scope and output.

    Naming Consistency5/5

    All tool names follow a consistent action_object pattern (compare_, get_, lookup_, search_, etc.), making the API predictable and intuitive. The verbs vary but are semantically appropriate for each operation.

    Tool Count5/5

    Seven tools is well-scoped for a Bible study and translation-analysis server. Each tool covers a necessary facet without redundancy or bloat, and the count feels natural for the domain.

    Completeness5/5

    The toolset covers the full workflow: retrieving passages, comparing translations, extracting decisions, looking up lexemes, drilling into word tokens, searching lemmas, and full-text searching. No significant gap is apparent for the stated purpose.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Free, no-key MCP server for reading scripture from 35+ public-domain translations in 8 languages. Lets users fetch verses, chapters, and passages via natural language from any MCP client.
      7
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides guided prayers, semantic search, and pastoral care tools (encouragement, condolence, advice) via a read-only database without authentication.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Provides Hebrew & Greek word study, full morphological parsing, cross-references, LXX alignment, and more from open-licensed data sources, usable by any MCP-compatible client.
      9
      MIT