MCP server for the BHt (Biblia Hebraica transcripta) Hebrew Bible database
Project description
bht-mcp
MCP server for the BHt (Biblia Hebraica transcripta) Hebrew Bible database at LMU Munich.
Ask your AI assistant to search, analyze, and compare 489,000+ morphologically analyzed Hebrew Bible tokens โ directly from your chat interface.
You: "Compare the use of root BRสพ (create) in Genesis vs Isaiah"
AI: [calls bht_search with Wurzel filter for each book, then bht_token_detail
on selected tokens โ returns morphological breakdowns, verbal stems,
and syntactic contexts from both books]
About BHt
BHt (Biblia Hebraica transcripta) is a digital transcription of the Hebrew Bible maintained at LMU Munich under the direction of Prof. Wolfgang Richter. It features:
- 489,437 tokens with full morphological analysis
- Richter transcription system โ Latin-script phonemic representation (e.g.,
barฤ(สพ)for ืึธึผืจึธื) - 5-class part-of-speech system (Hauptwortart, Nebenwortart, Fรผgwortart, etc.)
- Syntactic trees at word-level (Wortfรผgungsebene) and sentence-level (Satzfรผgungsebene)
- Textual criticism annotations with Greek/Masoretic manuscript variant data
- 8 Sirach manuscript fragments (Ben Sira, from Cairo Genizah and Masada)
Table of Contents
- About BHt
- How It Works
- Installation & Setup
- Setting Up Your MCP Client
- Research Scenarios
- Tool Reference
- Rate Limits
- License
- ๐ฐ๐ท ํ๊ตญ์ด
How It Works
โโโโโโโโโโโโโโโโ stdio โโโโโโโโโโโโโโโโโโโโ cache miss โโโโโโโโโโโโโโโโ
โ MCP Client โ โโโโโโโโโ bht-mcp โ โโโโโโโโโโโโโโ BHt Website โ
โ (Claude, โ โโโโโโโโโ (local process) โ โโโโโโโโโโโโโโ (LMU Munich) โ
โ local LLM, โ โ โโโโโโโโโโโโโโ โ โโโโโโโโโโโโโโโโ
โ etc.) โ โ โ ~/.bht/ โ โ
โโโโโโโโโโโโโโโโ โ โ cache.db โ โ โ local SQLite cache
โ โโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโ
- Runs entirely on your machine. No remote server, no API keys, no cost.
- Progressive caching. The first search for a book fetches all its tokens in one request. After that, searches in the same book are instant โ zero network calls.
- Respectful. Built-in rate limits (1 req/s, 150 HTML pages/day) protect the university server. The tool never bulk-scrapes.
Installation & Setup
Option A: Using uv (recommended)
With uv, you don't install bht-mcp yourself. Your MCP client runs uvx bht-mcp, and uvx automatically downloads it from PyPI, creates an isolated environment, and launches the server โ all at runtime.
You only need to install uv itself (one-time):
| Platform | Command |
|---|---|
| macOS | brew install uv |
| Windows | powershell -c "irm https://astral.sh/uv/install.ps1 | iex" |
| Linux | curl -LsSf https://astral.sh/uv/install.sh | sh |
Then go directly to Setting Up Your MCP Client below.
Updating (uv): uvx caches packages locally. To get the latest version:
uv cache clean bht-mcp
Then restart your MCP client.
Option B: Using pip
Install bht-mcp manually, then point your MCP client to it:
pip install bht-mcp
Updating (pip):
pip install --upgrade bht-mcp
Requires Python 3.11+. If Python is not installed: python.org/downloads (Windows: check "Add Python to PATH"). macOS:
brew install python. Linux:sudo apt install python3 python3-pip.
Setting Up Your MCP Client
MCP (Model Context Protocol) lets AI assistants use external tools. Choose your client below:
Claude Desktop
Edit your MCP settings (Settings โ Developer โ MCP Servers) and add:
If you installed with uv:
{
"mcpServers": {
"bht": {
"command": "uvx",
"args": ["bht-mcp"]
}
}
}
If you installed with pip:
{
"mcpServers": {
"bht": {
"command": "python",
"args": ["-m", "bht_mcp"]
}
}
}
Claude Code
claude mcp add bht -- uvx bht-mcp
Or with pip:
claude mcp add bht -- python -m bht_mcp
Local LLMs (Open WebUI, llama.cpp, Ollama, etc.)
If your local LLM setup supports MCP, configure it to launch bht-mcp as a stdio subprocess:
With uv:
{
"mcpServers": {
"bht": {
"command": "uvx",
"args": ["bht-mcp"]
}
}
}
With pip:
{
"mcpServers": {
"bht": {
"command": "python",
"args": ["-m", "bht_mcp"]
}
}
}
Note: MCP tool calling requires a model that supports function/tool calling. Most 7B+ instruction-tuned models work (Llama 3, Mistral, Qwen, etc.).
Other MCP-compatible clients
Any client that supports MCP stdio transport can use bht-mcp. Use uvx bht-mcp or python -m bht_mcp as the server command.
After adding, restart your client. You should see 7 BHt tools available.
Research Scenarios
You don't need to know the tool names or parameters โ just describe what you want in natural language. The AI figures out which tools to call.
1. Verse analysis โ word by word
"Show me Genesis 1:1 word by word with grammatical analysis"
Step 1 AI calls bht_search โ finds 11 tokens in Gen 1:1
Step 2 AI calls bht_token_detail on each token โ retrieves full morphology
Results:
Token Part of Speech Person Gender Number Stem Root
โโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโโโโ โโโโโโ โโโโ โโโโ
bห Praeposition โ โ โ โ โ
rฤ(สพ)ลกฤซt Substantiv โ F S โ Rสพลก
barฤ(สพ) Suffixkonjugation 3 M S Qal BRสพ
สพรฏlล*hฤซm Substantiv Abs M P โ สพL
สพศงt Praeposition โ โ โ โ โ
ha Artikel โ โ โ โ โ
ลกamaym Substantiv โ M P โ ล MM
wห Konjunktion โ โ โ โ โ
สพศงt Praeposition โ โ โ โ โ
ha Artikel โ โ โ โ โ
สพarแนฃ Substantiv โ F S โ สพRแนข
BHt requests: 1 JSON search + 11 HTML token details = 12 total
On repeat: 0 (all cached locally)
2. Cross-book root comparison
"Compare the use of root BRสพ (create) in Genesis vs Isaiah"
Step 1 AI calls bht_search with Wurzel=BRสพ, buch=Gen โ 15 tokens
Step 2 AI calls bht_search with Wurzel=BRสพ, buch=Jes โ 22 tokens
Step 3 AI calls bht_token_detail on selected tokens โ compares stems and forms
Results:
Genesis โ 15 occurrences:
Qal (G): barฤ(สพ), bหrล(สพ), ... โ "create" in narrative
Niphal (N): nibrฤสพ โ passive "was created"
Isaiah โ 22 occurrences:
Qal (G): bลrฤ(สพ), barฤ(สพ), ... โ "create" in prophetic speech
Piel (D): appears in Jes 40-55 (Deutero-Isaiah)
Observation: BRสพ clusters in Gen 1-2 and Jes 40-55, rarely elsewhere.
First run: 2 JSON searches + 5 HTML token details = 7 total
If books already cached: 0 JSON + 5 HTML = 5 total
On full repeat: 0 (all cached)
3. Syntactic structure comparison
"Compare the syntax of Genesis 1:1 and Isaiah 40:1"
Step 1 AI calls bht_sentence_analysis for Gen 1:1 satz=PR
Step 2 AI calls bht_sentence_analysis for Jes 40:1 satz=a
Step 3 AI calls bht_syntax_tree for Gen 1:1 satz=PR โ word-level tree
Results:
Gen 1:1 PR โ Sentence type: V4.1
Syntagms: P(0 1) 1(1 2) 2(2 9)
Tree: KOORDV โ [PV โ [PRAEP, ATKV], KONJS โ [KONJ, PV โ [PRAEP, ATKV]]]
Pattern: Verb-first, coordinated predicate phrases
Jes 40:1 a โ Sentence type: V1.1
Syntagms: P(0 2)
Pattern: Imperative, simpler structure
First run (cold): 2 HTML beleg (resolve) + 2 HTML sentence + 1 HTML tree = 5 total
After token analysis: 0 (resolve from cache) + 2 + 1 = 3 total
On full repeat: 0 (all cached)
4. Textual criticism
"Are there manuscript variants in Genesis 1?"
Step 1 AI calls bht_text_annotations for Gen chapter 1
Results:
Location Token Type Annotation
โโโโโโโโโโโโโ โโโโโโโ โโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Gen 1,7c (3) kin TS als 6d in G; G + 7c text added
Gen 1,9b (9) maqลm T G reads miqwว, MT reads miqwฤ-m?
Gen 1,9d (3) kin TS G + 9e text added
Gen 1,20c (11) ลกamaym TS G + d text added
Types: TS = text security note, T = text variant
Manuscripts: G = Greek (Septuagint), MT = Masoretic Text
First run: 1 HTML page (all annotations for entire chapter in one call)
On repeat: 0 (cached)
5. Aramaic section detection in Daniel
"Which parts of Daniel are in Aramaic rather than Hebrew?"
Step 1 AI calls bht_field_info for "sprache" โ discovers language codes
Step 2 AI calls bht_search with buch=Dan, sprache=fa:f+ โ Aramaic tokens
Step 3 AI calls bht_search with buch=Dan, sprache=fh:f+ โ Hebrew tokens
Results:
Language Chapters Token count
โโโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโ
Hebrew 1:1โ2:4a ~250 tokens
Aramaic 2:4bโ7:28 ~4,800 tokens
Hebrew 8:1โ12:13 ~2,100 tokens
The AI identifies the well-known bilingual structure of Daniel
directly from the linguistic data โ no manual chapter lookup needed.
First run: 1 JSON autocomplete + 2 JSON searches (Aramaic + Hebrew) = 3 total
On repeat: 0 (all cached)
Tool Reference
| Tool | Purpose | BHt Requests |
|---|---|---|
| bht_list_books | List all 47 books with codes and chapter counts | 0 |
| bht_field_info | Get valid values for any of 42 search fields | 0โ1 |
| bht_search | Search tokens by location or morphological filters | 0โ1 |
| bht_token_detail | Full morphological analysis of a single token | 0โ1 |
| bht_syntax_tree | Word-level syntactic tree (Wortfรผgungsebene) | 0โ2 |
| bht_sentence_analysis | Sentence-level analysis (Satzfรผgungsebene) | 0โ2 |
| bht_text_annotations | Textual criticism annotations for a chapter | 0โ1 |
Typical workflow: bht_list_books โ bht_search โ bht_token_detail โ bht_syntax_tree
Every response includes a quota field showing daily usage:
{
"data": [...],
"quota": {"daily_html_used": 12, "daily_html_limit": 150, "daily_html_remaining": 138}
}
Rate Limits
This tool accesses a university research server. Built-in limits protect it:
| Limit | Value | Reason |
|---|---|---|
| Request interval | 1 req/s | Server capacity protection |
| Daily HTML requests | 150/day | Token detail, syntax, sentence, annotation pages |
| Daily JSON requests | Unlimited | Search API is lightweight |
These limits are comparable to a researcher manually browsing the site (typically 25โ100 pages/day). The daily limit resets at midnight.
When the limit is reached, cached data remains fully accessible โ only new HTML fetches are blocked.
License
Code: MIT
BHt data: CC BY-SA 4.0 (LMU Munich)
๐ฐ๐ท ํ๊ตญ์ด
AI ์ด์์คํดํธ์๊ฒ ํ๋ธ๋ฆฌ์ด ์ฑ๊ฒฝ 489,000๊ฐ ์ด์์ ํํ๋ก ๋ถ์ ํ ํฐ์ ๊ฒ์, ๋ถ์, ๋น๊ตํ๋๋ก ์์ฒญํ์ธ์ โ ์ฑํ ์ธํฐํ์ด์ค์์ ๋ฐ๋ก.
์ฌ์ฉ์: "์ฐฝ์ธ๊ธฐ์ ์ด์ฌ์ผ์์ ์ด๊ทผ BRสพ(์ฐฝ์กฐํ๋ค)์ ์ฌ์ฉ์ ๋น๊ตํด์ค"
AI: [๊ฐ ์ฑ
์์ ์ด๊ทผ ํํฐ๋ก bht_search๋ฅผ ํธ์ถํ๊ณ , ์ ํ๋ ํ ํฐ์ ๋ํด
bht_token_detail์ ํธ์ถ โ ๋ ์ฑ
์ ํํ๋ก ๋ถ์, ๋์ฌ ์ด๊ฐ,
ํต์ฌ์ ๋งฅ๋ฝ์ ๋ฐํํฉ๋๋ค]
BHt ์๊ฐ
BHt (Biblia Hebraica transcripta)๋ ๋ฎํจ ๋ํ๊ต(LMU Munich)์์ Wolfgang Richter ๊ต์์ ์ง๋ ์๋ ๊ด๋ฆฌ๋๋ ํ๋ธ๋ฆฌ์ด ์ฑ๊ฒฝ ๋์งํธ ์ ์ฌ๋ณธ์ ๋๋ค.
- 489,437๊ฐ ํ ํฐ โ ์์ ํ ํํ๋ก ๋ถ์ ํฌํจ
- Richter ์ ์ฌ ์ฒด๊ณ โ ๋ผํด ๋ฌธ์ ๊ธฐ๋ฐ ์์ ํ๊ธฐ (์:
barฤ(สพ)= ืึธึผืจึธื) - 5๋ถ๋ฅ ํ์ฌ ์ฒด๊ณ (Hauptwortart, Nebenwortart, Fรผgwortart ๋ฑ)
- ํต์ฌ ํธ๋ฆฌ โ ๋จ์ด ์์ค(Wortfรผgungsebene) ๋ฐ ๋ฌธ์ฅ ์์ค(Satzfรผgungsebene)
- ํ ์คํธ ๋นํ ์ฃผ์ โ ๊ทธ๋ฆฌ์ค์ด/๋ง์๋ผ ์ฌ๋ณธ ์ด๋ณธ ๋ฐ์ดํฐ
- ์๋ผํฌ ์ฌ๋ณธ ๋จํธ 8์ข (๋ฒค ์๋ผ, ์นด์ด๋ก ๊ฒ๋์ ๋ฐ ๋ง์ฌ๋ค ์ถํ )
์๋ ๋ฐฉ์
โโโโโโโโโโโโโโโโ stdio โโโโโโโโโโโโโโโโโโโโ cache miss โโโโโโโโโโโโโโโโ
โ MCP Client โ โโโโโโโโโ bht-mcp โ โโโโโโโโโโโโโโ BHt Website โ
โ (Claude, โ โโโโโโโโโ (local process) โ โโโโโโโโโโโโโโ (LMU Munich) โ
โ local LLM, โ โ โโโโโโโโโโโโโโ โ โโโโโโโโโโโโโโโโ
โ etc.) โ โ โ ~/.bht/ โ โ
โโโโโโโโโโโโโโโโ โ โ cache.db โ โ โ local SQLite cache
โ โโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโ
- ์์ ํ ๋ก์ปฌ์์ ์คํ๋ฉ๋๋ค. ์๊ฒฉ ์๋ฒ ์์, API ํค ์์, ๋น์ฉ ์์.
- ์ ์ง์ ์บ์ฑ. ํน์ ์ฑ ์ ์ฒ์ ๊ฒ์ํ๋ฉด ํด๋น ์ฑ ์ ์ ์ฒด ํ ํฐ์ 1ํ ์์ฒญ์ผ๋ก ๊ฐ์ ธ์ต๋๋ค. ์ดํ ๊ฐ์ ์ฑ ์ ๊ฒ์์ ์ฆ์ โ ๋คํธ์ํฌ ์์ฒญ 0ํ.
- ์๋ฒ ๋ณดํธ. ๋ด์ฅ ์๋ ์ ํ(์ด๋น 1์์ฒญ, ์ผ์ผ HTML 150๊ฑด)์ด ๋ํ ์๋ฒ๋ฅผ ๋ณดํธํฉ๋๋ค. ๋๋ ์คํฌ๋ํ์ ํ์ง ์์ต๋๋ค.
์ค์น ๋ฐ ์ค์
๋ฐฉ๋ฒ A: uv ์ฌ์ฉ (๊ถ์ฅ)
uv๋ฅผ ์ฌ์ฉํ๋ฉด bht-mcp๋ฅผ ์ง์ ์ค์นํ ํ์๊ฐ ์์ต๋๋ค. MCP ํด๋ผ์ด์ธํธ๊ฐ uvx bht-mcp๋ฅผ ์คํํ๋ฉด, uvx๊ฐ ์๋์ผ๋ก PyPI์์ ๋ค์ด๋ก๋ํ๊ณ ๊ฒฉ๋ฆฌ๋ ํ๊ฒฝ์ ์์ฑํ์ฌ ์๋ฒ๋ฅผ ์์ํฉ๋๋ค.
uv๋ง ์ค์นํ๋ฉด ๋ฉ๋๋ค (์ต์ด 1ํ):
| ํ๋ซํผ | ๋ฐฉ๋ฒ |
|---|---|
| macOS | brew install uv |
| Windows | powershell -c "irm https://astral.sh/uv/install.ps1 | iex" |
| Linux | curl -LsSf https://astral.sh/uv/install.sh | sh |
์ค์น ํ ์๋ MCP ํด๋ผ์ด์ธํธ ์ค์ ์ผ๋ก ๋ฐ๋ก ์งํํ์ธ์.
์ ๋ฐ์ดํธ (uv): uvx๋ ํจํค์ง๋ฅผ ๋ก์ปฌ์ ์บ์ํฉ๋๋ค. ์ต์ ๋ฒ์ ์ ๋ฐ์ผ๋ ค๋ฉด:
uv cache clean bht-mcp
์ดํ MCP ํด๋ผ์ด์ธํธ๋ฅผ ์ฌ์์ํ์ธ์.
๋ฐฉ๋ฒ B: pip ์ฌ์ฉ
bht-mcp๋ฅผ ์ง์ ์ค์นํ ํ MCP ํด๋ผ์ด์ธํธ์์ ์ง์ ํ๋ ๋ฐฉ์:
pip install bht-mcp
์ ๋ฐ์ดํธ (pip):
pip install --upgrade bht-mcp
Python 3.11 ์ด์ ํ์. Python์ด ์๋ ๊ฒฝ์ฐ: python.org/downloads (Windows: "Add Python to PATH" ์ฒดํฌ). macOS:
brew install python. Linux:sudo apt install python3 python3-pip.
MCP ํด๋ผ์ด์ธํธ ์ค์
MCP (Model Context Protocol)๋ AI ์ด์์คํดํธ๊ฐ ์ธ๋ถ ๋๊ตฌ๋ฅผ ์ฌ์ฉํ ์ ์๊ฒ ํด์ค๋๋ค. ์๋์์ ์ฌ์ฉ ์ค์ธ ํด๋ผ์ด์ธํธ๋ฅผ ์ ํํ์ธ์:
Claude Desktop
MCP ์ค์ ์ ํธ์งํฉ๋๋ค (Settings โ Developer โ MCP Servers):
uv๋ก ์ค์นํ ๊ฒฝ์ฐ:
{
"mcpServers": {
"bht": {
"command": "uvx",
"args": ["bht-mcp"]
}
}
}
pip์ผ๋ก ์ค์นํ ๊ฒฝ์ฐ:
{
"mcpServers": {
"bht": {
"command": "python",
"args": ["-m", "bht_mcp"]
}
}
}
Claude Code
claude mcp add bht -- uvx bht-mcp
pip ์ฌ์ฉ ์:
claude mcp add bht -- python -m bht_mcp
๋ก์ปฌ LLM (Open WebUI, llama.cpp, Ollama ๋ฑ)
๋ก์ปฌ LLM ํ๊ฒฝ์ด MCP๋ฅผ ์ง์ํ๋ ๊ฒฝ์ฐ, bht-mcp๋ฅผ stdio ์๋ธํ๋ก์ธ์ค๋ก ์ค์ ํ์ธ์:
uv ์ฌ์ฉ:
{
"mcpServers": {
"bht": {
"command": "uvx",
"args": ["bht-mcp"]
}
}
}
pip ์ฌ์ฉ:
{
"mcpServers": {
"bht": {
"command": "python",
"args": ["-m", "bht_mcp"]
}
}
}
์ฐธ๊ณ : MCP tool calling์ ์ฌ์ฉํ๋ ค๋ฉด ํจ์/๋๊ตฌ ํธ์ถ์ ์ง์ํ๋ ๋ชจ๋ธ์ด ํ์ํฉ๋๋ค. ๋๋ถ๋ถ์ 7B+ instruction-tuned ๋ชจ๋ธ์ด ๋์ํฉ๋๋ค (Llama 3, Mistral, Qwen ๋ฑ).
๊ธฐํ MCP ํธํ ํด๋ผ์ด์ธํธ
MCP stdio ์ ์ก์ ์ง์ํ๋ ๋ชจ๋ ํด๋ผ์ด์ธํธ์์ ์ฌ์ฉํ ์ ์์ต๋๋ค. ์๋ฒ ๋ช
๋ น์ด๋ uvx bht-mcp ๋๋ python -m bht_mcp์
๋๋ค.
์ถ๊ฐ ํ ํด๋ผ์ด์ธํธ๋ฅผ ์ฌ์์ํ๋ฉด 7๊ฐ์ BHt ๋๊ตฌ๊ฐ ํ์ฑํ๋ฉ๋๋ค.
์ฐ๊ตฌ ์๋๋ฆฌ์ค
๋๊ตฌ ์ด๋ฆ์ด๋ ํ๋ผ๋ฏธํฐ๋ฅผ ์ ํ์ ์์ต๋๋ค โ ์ํ๋ ๊ฒ์ ์์ฐ์ด๋ก ์ค๋ช ํ๋ฉด AI๊ฐ ์ ์ ํ ๋๊ตฌ๋ฅผ ํธ์ถํฉ๋๋ค.
1. ๊ตฌ์ ๋ถ์ โ ๋จ์ด๋ณ ๋ฌธ๋ฒ
"์ฐฝ์ธ๊ธฐ 1:1์ ๋จ์ด๋ณ๋ก ๋ฌธ๋ฒ ๋ถ์๊ณผ ํจ๊ป ๋ณด์ฌ์ฃผ์ธ์"
๋จ๊ณ 1 AI๊ฐ bht_search ํธ์ถ โ Gen 1:1์์ 11๊ฐ ํ ํฐ ๋ฐ๊ฒฌ
๋จ๊ณ 2 AI๊ฐ ๊ฐ ํ ํฐ์ bht_token_detail ํธ์ถ โ ์์ ํ ํํ๋ก ์กฐํ
๊ฒฐ๊ณผ:
ํ ํฐ ํ์ฌ ์ธ์นญ ์ฑ ์ ์ด๊ฐ ์ด๊ทผ
โโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโ โโโโ โโโโ โโโโ โโโโ
bห ์ ์น์ฌ(Praeposition) โ โ โ โ โ
rฤ(สพ)ลกฤซt ๋ช
์ฌ(Substantiv) โ F S โ Rสพลก
barฤ(สพ) ์ ๋ฏธํ(Suffixkonj.) 3 M S Qal BRสพ
สพรฏlล*hฤซm ๋ช
์ฌ(Substantiv) Abs M P โ สพL
สพศงt ์ ์น์ฌ(Praeposition) โ โ โ โ โ
ha ๊ด์ฌ(Artikel) โ โ โ โ โ
ลกamaym ๋ช
์ฌ(Substantiv) โ M P โ ล MM
wห ์ ์์ฌ(Konjunktion) โ โ โ โ โ
สพศงt ์ ์น์ฌ(Praeposition) โ โ โ โ โ
ha ๊ด์ฌ(Artikel) โ โ โ โ โ
สพarแนฃ ๋ช
์ฌ(Substantiv) โ F S โ สพRแนข
BHt ์์ฒญ: JSON ๊ฒ์ 1ํ + HTML ํ ํฐ ์์ธ 11ํ = ์ด 12ํ
๋ฐ๋ณต ์: 0ํ (์ ๋ถ ๋ก์ปฌ ์บ์)
2. ์ฑ ๊ฐ ์ด๊ทผ ๋น๊ต
"์ฐฝ์ธ๊ธฐ์ ์ด์ฌ์ผ์์ ์ด๊ทผ BRสพ(์ฐฝ์กฐํ๋ค)์ ์ฌ์ฉ์ ๋น๊ตํด์ค"
๋จ๊ณ 1 AI๊ฐ bht_search (Wurzel=BRสพ, buch=Gen) ํธ์ถ โ 15๊ฐ ํ ํฐ
๋จ๊ณ 2 AI๊ฐ bht_search (Wurzel=BRสพ, buch=Jes) ํธ์ถ โ 22๊ฐ ํ ํฐ
๋จ๊ณ 3 AI๊ฐ ์ ํ๋ ํ ํฐ์ bht_token_detail ํธ์ถ โ ์ด๊ฐ๊ณผ ํํ ๋น๊ต
๊ฒฐ๊ณผ:
์ฐฝ์ธ๊ธฐ โ 15ํ ์ถํ:
์นผ(Qal, G): barฤ(สพ), bหrล(สพ), ... โ ์์ฌ์์ "์ฐฝ์กฐํ๋ค"
๋ํ(Niphal, N): nibrฤสพ โ ์๋ "์ฐฝ์กฐ๋๋ค"
์ด์ฌ์ผ โ 22ํ ์ถํ:
์นผ(Qal, G): bลrฤ(สพ), barฤ(สพ), ... โ ์์ธ์ ์ฐ์ค์์ "์ฐฝ์กฐํ๋ค"
ํผ์(Piel, D): Jes 40-55 (์ 2์ด์ฌ์ผ)์ ์ถํ
๊ด์ฐฐ: BRสพ๋ Gen 1-2์ Jes 40-55์ ์ง์ค, ๋ค๋ฅธ ๊ณณ์์๋ ๋๋ฌพ.
์ต์ด ์คํ: JSON ๊ฒ์ 2ํ + HTML ํ ํฐ ์์ธ 5ํ = ์ด 7ํ
์ฑ
์ด ์ด๋ฏธ ์บ์๋ ๊ฒฝ์ฐ: JSON 0ํ + HTML 5ํ = ์ด 5ํ
์ ์ฒด ๋ฐ๋ณต ์: 0ํ (์ ๋ถ ์บ์)
3. ํต์ฌ ๊ตฌ์กฐ ๋น๊ต
"์ฐฝ์ธ๊ธฐ 1:1๊ณผ ์ด์ฌ์ผ 40:1์ ํต์ฌ ๊ตฌ์กฐ๋ฅผ ๋น๊ตํด์ฃผ์ธ์"
๋จ๊ณ 1 AI๊ฐ bht_sentence_analysis (Gen 1:1, satz=PR) ํธ์ถ
๋จ๊ณ 2 AI๊ฐ bht_sentence_analysis (Jes 40:1, satz=a) ํธ์ถ
๋จ๊ณ 3 AI๊ฐ bht_syntax_tree (Gen 1:1, satz=PR) ํธ์ถ โ ๋จ์ด ์์ค ํธ๋ฆฌ
๊ฒฐ๊ณผ:
Gen 1:1 PR โ ๋ฌธ์ฅ ์ ํ: V4.1
ํตํฉ์: P(0 1) 1(1 2) 2(2 9)
ํธ๋ฆฌ: KOORDV โ [PV โ [PRAEP, ATKV], KONJS โ [KONJ, PV โ [PRAEP, ATKV]]]
ํจํด: ๋์ฌ ์ ํ, ๋ฑ์ ์ ์ด๊ตฌ
Jes 40:1 a โ ๋ฌธ์ฅ ์ ํ: V1.1
ํตํฉ์: P(0 2)
ํจํด: ๋ช
๋ นํ, ๋จ์ ๊ตฌ์กฐ
์ต์ด ์คํ (์ฝ๋): HTML beleg 2ํ (ํด์) + HTML ๋ฌธ์ฅ 2ํ + HTML ํธ๋ฆฌ 1ํ = ์ด 5ํ
ํ ํฐ ๋ถ์ ํ: 0ํ (์บ์์์ ํด์) + 2 + 1 = ์ด 3ํ
์ ์ฒด ๋ฐ๋ณต ์: 0ํ (์ ๋ถ ์บ์)
4. ํ ์คํธ ๋นํ
"์ฐฝ์ธ๊ธฐ 1์ฅ์ ์ฌ๋ณธ ์ด๋ณธ์ด ์๋์?"
๋จ๊ณ 1 AI๊ฐ bht_text_annotations (Gen, 1์ฅ) ํธ์ถ
๊ฒฐ๊ณผ:
์์น ํ ํฐ ์ ํ ์ฃผ์
โโโโโโโโโโโโโโ โโโโโโโ โโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Gen 1,7c (3) kin TS 6d๋ก์ G์; G์ 7c ํ
์คํธ ์ถ๊ฐ
Gen 1,9b (9) maqลm T G๋ miqwว, MT๋ miqwฤ-m?
Gen 1,9d (3) kin TS G์ 9e ํ
์คํธ ์ถ๊ฐ
Gen 1,20c (11) ลกamaym TS G์ d ํ
์คํธ ์ถ๊ฐ
์ ํ: TS = ํ
์คํธ ํ์ค์ฑ ์ฃผ์, T = ํ
์คํธ ์ด๋ณธ
์ฌ๋ณธ: G = ๊ทธ๋ฆฌ์ค์ด(70์ธ์ญ), MT = ๋ง์๋ผ ๋ณธ๋ฌธ
์ต์ด ์คํ: HTML 1ํ (์ฅ ์ ์ฒด ์ฃผ์์ ํ ๋ฒ์ ์กฐํ)
๋ฐ๋ณต ์: 0ํ (์บ์)
5. ๋ค๋์์ ์๋์ด ๊ตฌ๊ฐ ์๋ณ
"๋ค๋์์์์ ํ๋ธ๋ฆฌ์ด๊ฐ ์๋ ์๋์ด ๊ตฌ๊ฐ์?"
๋จ๊ณ 1 AI๊ฐ bht_field_info ("sprache") ํธ์ถ โ ์ธ์ด ์ฝ๋ ๋ฐ๊ฒฌ
๋จ๊ณ 2 AI๊ฐ bht_search (buch=Dan, sprache=fa:f+) ํธ์ถ โ ์๋์ด ํ ํฐ
๋จ๊ณ 3 AI๊ฐ bht_search (buch=Dan, sprache=fh:f+) ํธ์ถ โ ํ๋ธ๋ฆฌ์ด ํ ํฐ
๊ฒฐ๊ณผ:
์ธ์ด ์ฅ ํ ํฐ ์
โโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโ
ํ๋ธ๋ฆฌ์ด 1:1โ2:4a ~250๊ฐ
์๋์ด 2:4bโ7:28 ~4,800๊ฐ
ํ๋ธ๋ฆฌ์ด 8:1โ12:13 ~2,100๊ฐ
AI๊ฐ ์ ์๋ ค์ง ๋ค๋์์์ ์ด์ค ์ธ์ด ๊ตฌ์กฐ๋ฅผ ์ธ์ดํ ๋ฐ์ดํฐ์์
์ง์ ์๋ณํฉ๋๋ค โ ์๋ ์ฅ ์กฐํ ์์ด.
์ต์ด ์คํ: JSON ์๋์์ฑ 1ํ + JSON ๊ฒ์ 2ํ (์๋์ด + ํ๋ธ๋ฆฌ์ด) = ์ด 3ํ
๋ฐ๋ณต ์: 0ํ (์ ๋ถ ์บ์)
๋๊ตฌ ์ฐธ์กฐ
| ๋๊ตฌ | ์ฉ๋ | BHt ์์ฒญ ์ |
|---|---|---|
| bht_list_books | 47๊ฐ ์ฑ ๋ชฉ๋ก (์ฝ๋์ ์ฅ ์ ํฌํจ) | 0 |
| bht_field_info | 42๊ฐ ๊ฒ์ ํ๋์ ์ ํจํ ๊ฐ ์กฐํ | 0โ1 |
| bht_search | ์์น ๋๋ ํํ๋ก ํํฐ๋ก ํ ํฐ ๊ฒ์ | 0โ1 |
| bht_token_detail | ๋จ์ผ ํ ํฐ์ ์์ ํ ํํ๋ก ๋ถ์ | 0โ1 |
| bht_syntax_tree | ๋จ์ด ์์ค ํต์ฌ ํธ๋ฆฌ (Wortfรผgungsebene) | 0โ2 |
| bht_sentence_analysis | ๋ฌธ์ฅ ์์ค ๋ถ์ (Satzfรผgungsebene) | 0โ2 |
| bht_text_annotations | ์ฅ ๋จ์ ํ ์คํธ ๋นํ ์ฃผ์ | 0โ1 |
์ผ๋ฐ์ ์ธ ์ํฌํ๋ก์ฐ: bht_list_books โ bht_search โ bht_token_detail โ bht_syntax_tree
๋ชจ๋ ์๋ต์ ์ผ์ผ ์ฌ์ฉ๋์ ๋ณด์ฌ์ฃผ๋ quota ํ๋๊ฐ ํฌํจ๋ฉ๋๋ค:
{
"data": [...],
"quota": {"daily_html_used": 12, "daily_html_limit": 150, "daily_html_remaining": 138}
}
์ฌ์ฉ ์ ํ
์ด ๋๊ตฌ๋ ๋ํ ์ฐ๊ตฌ ์๋ฒ์ ์ ๊ทผํฉ๋๋ค. ๋ด์ฅ๋ ์ ํ์ด ์๋ฒ๋ฅผ ๋ณดํธํฉ๋๋ค:
| ์ ํ | ๊ฐ | ์ด์ |
|---|---|---|
| ์์ฒญ ๊ฐ๊ฒฉ | ์ด๋น 1ํ | ์๋ฒ ์ฉ๋ ๋ณดํธ |
| ์ผ์ผ HTML ์์ฒญ | 150๊ฑด/์ผ | ํ ํฐ ์์ธ, ํต์ฌ, ๋ฌธ์ฅ, ์ฃผ์ ํ์ด์ง |
| ์ผ์ผ JSON ์์ฒญ | ๋ฌด์ ํ | ๊ฒ์ API๋ ๊ฒฝ๋ |
์ด ์ ํ์ ์ฐ๊ตฌ์๊ฐ ์ง์ ์ฌ์ดํธ๋ฅผ ํ์ํ๋ ์์ค(๋ณดํต ํ๋ฃจ 25โ100 ํ์ด์ง)๊ณผ ๋๋ฑํฉ๋๋ค. ์ผ์ผ ์ ํ์ ์์ ์ ์ด๊ธฐํ๋ฉ๋๋ค.
์ ํ์ ๋๋ฌํ๋ฉด ์บ์๋ ๋ฐ์ดํฐ๋ ์ฌ์ ํ ์์ ํ ์ ๊ทผ ๊ฐ๋ฅํฉ๋๋ค โ ์๋ก์ด HTML ๊ฐ์ ธ์ค๊ธฐ๋ง ์ฐจ๋จ๋ฉ๋๋ค.
๋ผ์ด์ ์ค
์ฝ๋: MIT
BHt ๋ฐ์ดํฐ: CC BY-SA 4.0 (LMU Munich)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bht_mcp-0.2.3.tar.gz.
File metadata
- Download URL: bht_mcp-0.2.3.tar.gz
- Upload date:
- Size: 37.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e498f8feaf461a22b21f1a81cda7b8f570d3ca2fab1dd32ed31b8703d95f7c4
|
|
| MD5 |
bfda99c36ad4770694a10673b478aeda
|
|
| BLAKE2b-256 |
b51f985d071a7e221679f821d918acaabd6df5c88f78081aa6009acbc916eeaf
|
File details
Details for the file bht_mcp-0.2.3-py3-none-any.whl.
File metadata
- Download URL: bht_mcp-0.2.3-py3-none-any.whl
- Upload date:
- Size: 44.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cb9ff5ad10b4ff3b23b3c11f6222d8a36e79da696ea35337bc08181b36e290a
|
|
| MD5 |
4059d07ef1c14a090743d627fe0a5152
|
|
| BLAKE2b-256 |
0d139315359e2080b1e7b360458d79604fc42ef3b7a24f545b9c59f372d92c39
|