bible-ko-mcp
v0.3.0
Published
MCP server (and Claude Skill) for the Korean Bible (bskorea.or.kr)
Downloads
181
Maintainers
Readme
Bible Korean MCP Server
MCP (Model Context Protocol) server for accessing the Korean Bible from bskorea.or.kr.
Features:
- ⚡️ In-memory caching with 30-min TTL for fast repeated requests
- 🔄 Automatic retry with exponential backoff (3 retries, 1s→2s→4s) for transient failures
- 🛡️ Robust error handling with try/catch and graceful fallbacks
- ✅ Input validation with Zod schemas
- 🏥 Health check tool for monitoring
- 📚 All 66 books with 5 translations supported
- 🔍 Full-text search across entire Bible
Node.js Version
Requires Node.js 20+
Features
This MCP server provides tools to:
- Get complete chapters from the Korean Bible
- Retrieve specific verses or verse ranges
- Search for verses containing keywords
- List all available books
- Compare verses across different Korean translations
Use as a Claude Skill (lightweight alternative)
The same Korean Bible access is also packaged as a Claude Skill under
skill/ — a token-frugal alternative to the always-on MCP server. A
skill loads into the agent's context only when invoked and shells out to a small
zero-dependency Python CLI, so it costs nothing while idle. Use the MCP server
in MCP clients (Claude Desktop, TypingMind); use the skill in coding agents
(Claude Code, etc.) that already have shell access.
chmod +x skill/bin/bible && export PATH="$PWD/skill/bin:$PATH"
bible verses John 3 16
bible compare John 3 16See skill/README.md for install and the MCP-vs-skill
trade-off. (The industry is steadily shifting routine API access from always-on
MCP servers toward on-demand skills — this repo ships both.)
Installation
Install globally via npm:
npm install -g bible-ko-mcpOr use directly with npx (no installation required):
npx -y bible-ko-mcpAvailable Tools
1. get-chapter
Get all verses from a specific chapter.
Parameters:
book(string, required): Book name in English, Korean, or book code- Examples: "Genesis", "창세기", "gen"
chapter(number, required): Chapter numberversion(string, optional): Bible translation version (default: "GAE")- Options: "GAE", "GAE1", "NIR", "KOR", "CEV"
Example:
{
"book": "Genesis",
"chapter": 1,
"version": "GAE"
}2. get-verses
Get specific verse(s) from a chapter.
Parameters:
book(string, required): Book name or codechapter(number, required): Chapter numberverseStart(number, required): Starting verse numberverseEnd(number, optional): Ending verse number (defaults to verseStart)version(string, optional): Bible translation version (default: "GAE")
Example:
{
"book": "John",
"chapter": 3,
"verseStart": 16,
"verseEnd": 17,
"version": "GAE"
}3. search-bible
Search for verses containing specific keywords.
Parameters:
query(string, required): Search query in Korean or Englishversion(string, optional): Bible translation version (default: "GAE")
Note: Search covers all 66 books of the Bible with fallback results.
Example:
{
"query": "사랑",
"version": "GAE"
}4. list-books
List all available books in the Bible.
Parameters:
testament(string, optional): Filter by testament ("OT" or "NT")
Example:
{
"testament": "NT"
}5. compare-translations
Compare a verse across different Korean translations.
Parameters:
book(string, required): Book name or codechapter(number, required): Chapter numberverse(number, required): Verse numberversions(array, optional): Array of version codes to compare (default: all versions)
Example:
{
"book": "John",
"chapter": 3,
"verse": 16,
"versions": ["GAE", "NIR", "KOR"]
}Bible Translations
- GAE: 개역개정 (Revised Korean Standard Version)
- GAE1: 개역한글 (Korean Revised Version)
- NIR: 새번역성경 (New Korean Revised Version)
- KOR: 공동번역 (Common Translation)
- CEV: CEV (Contemporary English Version)
Book Codes
Old Testament
- Genesis (창세기):
gen - Exodus (출애굽기):
exo - Leviticus (레위기):
lev - Numbers (민수기):
num - Deuteronomy (신명기):
deu - ... (see full list in source code)
New Testament
- Matthew (마태복음):
mat - Mark (마가복음):
mrk - Luke (누가복음):
luk - John (요한복음):
jhn - Acts (사도행전):
act - ... (see full list in source code)
Usage with Claude Desktop
Add to your Claude Desktop configuration:
macOS
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"bible-ko": {
"command": "npx",
"args": [
"-y",
"bible-ko-mcp"
]
}
}
}Windows
Edit %APPDATA%\Claude\claude_desktop_config.json with the same configuration above.
After adding the configuration, restart Claude Desktop completely.
Development
For local development:
# Clone the repository
git clone https://github.com/oksure/bible-ko-mcp.git
cd bible-ko-mcp
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Watch mode (auto-rebuild on changes)
npm run watch
# Run locally
npm startLocal Development with Claude Desktop
For testing local changes, use this configuration:
{
"mcpServers": {
"bible-ko": {
"command": "node",
"args": [
"/absolute/path/to/bible-ko-mcp/build/index.js"
]
}
}
}Remember to run npm run build after making changes.
Technical Details
- Built with TypeScript and the MCP SDK
- Uses cheerio for HTML parsing
- Fetches data from bskorea.or.kr with automatic retry (exponential backoff) on transient failures
- In-memory cache (30-min TTL, 2000 entries) avoids redundant requests
- Supports all 66 books of the Bible
- Handles Korean and English book names
Use Cases
Sermon Preparation
Weekly Sunday sermon with the Beatitudes
Ask Claude: "Give me Matthew 5:3-12 in Korean (GAE) with each beatitude on a separate line for my sermon outline."
Tool: get-verses
Book: Matthew, Chapter: 5, Start: 3, End: 12Good Friday — Messianic prophecy from Isaiah
Tool: get-chapter
Book: Isaiah, Chapter: 53, Version: GAEChristmas Eve sermon — The nativity narrative
Tool: get-verses
Book: Luke, Chapter: 2, Start: 1, End: 20Easter Sunday — The resurrection account
Tool: get-chapter
Book: John, Chapter: 20, Version: GAEWedding homily — The Love Chapter
Tool: get-chapter
Book: 1 Corinthians, Chapter: 13, Version: GAEMissions Sunday — The Great Commission
Tool: get-verses
Book: Matthew, Chapter: 28, Start: 18, End: 20Bible Study Groups
Comparing John 3:16 across translations for group discussion
Tool: compare-translations
Book: John, Chapter: 3, Verse: 16
Versions: ["GAE", "GAE1", "NIR", "KOR"]Topical study: Living Faith (야고보서의 믿음)
Tool: get-verses
Book: James, Chapter: 2, Start: 14, End: 26Fruit of the Spirit study
Tool: get-verses
Book: Galatians, Chapter: 5, Start: 22, End: 23Hebrews 11 "Faith Hall of Fame" — full chapter
Tool: get-chapter
Book: Hebrews, Chapter: 11, Version: GAESpiritual warfare — full armor of God passage
Tool: get-verses
Book: Ephesians, Chapter: 6, Start: 10, End: 18Personal Devotional
Psalm 23 for comfort (funeral message, hospital visits)
Tool: get-chapter
Book: Psalms, Chapter: 23, Version: GAERomans 8:28-39 — Assurance of God's love
Tool: get-verses
Book: Romans, Chapter: 8, Start: 28, End: 39Daily scripture memory verse
Tool: get-verses
Book: Philippians, Chapter: 4, Start: 13, End: 13Advent devotional — The Word became flesh
Tool: get-verses
Book: John, Chapter: 1, Start: 1, End: 14Korean Language Look-up
All tools accept Korean book names, making it natural to reference Scripture in Korean:
Tool: get-chapter
Book: 시편 (Psalms), Chapter: 23Tool: get-verses
Book: 잠언 (Proverbs), Chapter: 3, Start: 5, End: 6Tool: search-bible
Query: 하나님의 사랑 (God's love)Notes
- The HTML parsing may need adjustment based on website updates
- Search functionality is limited for demo purposes to avoid excessive requests
- Some translations may not be available for all books
Publishing
This package is automatically published to NPM when a new GitHub release is created. See PUBLISHING.md for detailed instructions.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT
