bible-cuv-mcp
bible-cuv-mcp
和合本圣经 MCP 服务器 — 把完整的中文和合本圣经装进你的 AI 助手:本地运行、离线可用、零依赖。
底本口径(请先读) 本服务器的经文来自 bible-cuv-dataset, 底本为 1919 年和合本译文(圣经公会电子本字形):译文是 1919 年官话和合本, 字形为圣经公会通行电子本的规范化字形——不是 1919 年印本逐字原貌, 也不是 1988 年新标点本。全部已知偏离在数据集仓的 DEVIATIONS.md 中逐项公开。
这是什么
一个 Model Context Protocol(MCP)服务器, 把 66 卷 / 1,189 章 / 31,103 节和合本全文放在本地,供 Claude Code、Codex、 Cursor 等 MCP 客户端直接调用:查经文、搜关键词、取每日一节, 全程不联网、不调任何 API。
纯 Python 标准库实现,无外部依赖,Python ≥ 3.9 即可运行;
数据随仓自带(
data/目录,约 11 MB),克隆下来就能用;stdio 传输,手写 JSON-RPC(initialize / tools/list / tools/call)。
Related MCP server: Bible MCP
三个工具
工具 | 做什么 | 主要参数 |
| 按书卷/章/节取经文,支持节范围 |
|
| 关键词检索(简繁双字段都查),返回命中总数与前若干节 |
|
| 每日一节: |
|
调用示例(经文为数据集原文):
get_passage {book: "约翰福音", chapter: 1, verse_start: 1, verse_end: 3}→ 「太初有道,道与神同在,道就是神。……」search_verses {keyword: "神爱世人"}→ 共命中 1 节:约翰福音 3:16verse_of_the_day {date: "2026-11-30"}→ 历代志上 21:28
快速开始
git clone https://github.com/Ezra-Zhao/bible-cuv-mcp.git
cd bible-cuv-mcp
python3 server.py # 启动后等待 MCP 客户端连接(stdio)
python3 test_mcp.py # 自带实测:真调三个工具,21 项断言接入配置
把下面片段里的路径换成你克隆到的实际路径。
Claude Code
claude mcp add bible-cuv -- python3 /path/to/bible-cuv-mcp/server.py或写进 .mcp.json / ~/.claude.json:
{
"mcpServers": {
"bible-cuv": {
"command": "python3",
"args": ["/path/to/bible-cuv-mcp/server.py"]
}
}
}Codex(~/.codex/config.toml)
[mcp_servers.bible-cuv]
command = "python3"
args = ["/path/to/bible-cuv-mcp/server.py"]Cursor(.cursor/mcp.json,与上面的 JSON 片段同形)
{
"mcpServers": {
"bible-cuv": {
"command": "python3",
"args": ["/path/to/bible-cuv-mcp/server.py"]
}
}
}数据与许可
数据:来自 bible-cuv-dataset v1.0.0(66 卷 JSONL + 书卷索引,原样随仓附带),许可 CC BY 4.0(署名数据集仓),见 DATA-LICENSE.md。
代码:MIT © 2026 Guangyi Zhao,见 LICENSE。
经文本身为 1919 年译文,早已进入公有领域;本仓的标注口径见文首。
文件清单
server.py MCP 服务器(标准库,手写 JSON-RPC)
test_mcp.py 实测脚本(21 项断言,期望值独立从数据重算)
data/books.json 书卷索引(66 卷)
data/books/*.jsonl 66 卷经文,一行一节(text 简体 / text_trad 繁体)Available Tools
3 toolsget_passageA
按书卷、章、节取和合本经文(可给节范围;支持简体/繁体)。Get Bible verses by book/chapter/verse range (CUV).
Inputs: book (required), chapter (required), script, verse_end, +1 more.
search_versesB
按关键词检索和合本经文(简繁双字段都查),返回命中总数与前若干节。Search CUV verses by keyword.
Inputs: keyword (required), limit, testament.
verse_of_the_dayB
每日一节:按日期确定性选取一节经文(同一日期永远同一节)。Deterministic verse of the day for a date.
Inputs: date.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a clearly different need: a deterministic daily verse, a reference-based passage lookup, and a keyword search. The descriptions make the boundary between 'known reference' (get_passage) and 'known words' (search_verses) explicit, so an agent can select reliably.
All names are snake_case and readable, with get_passage and search_verses following a verb_noun pattern. verse_of_the_day is noun-only rather than verb-led, a minor deviation but still unambiguous.
Three tools is at the thin end but justified for a read-only scripture lookup server—retrieval, search, and a daily verse cover the core use cases. A small addition (e.g., a book/chapter index) would round it out without bloat.
Lookup, range retrieval, keyword search, and a daily verse are covered, but there is no tool to list books/chapters or confirm valid book names and abbreviations, which is a common dead end for agents constructing references. No alternative translations or cross-reference support either, though those are secondary.
Maintenance
Related MCP Connectors
MCP server for Chinese dictionary lookup: character definitions, pinyin, stroke order and word
Unofficial Bible MCP — wraps the Bible API (free, no auth) https://bible-api.com
Bible MCP server for ChatGPT, Claude and Grok: Scripture, study notes, Strong's Greek and Hebrew.
Bible corpus MCP server: scripture, Greek/Hebrew interlinear data, cross-refs, semantic search.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for Bible verse lookup, search, and navigation, supporting multiple translations and books including Apocrypha.1MIT
- AlicenseAqualityBmaintenanceFree, 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.73MIT
- AlicenseAqualityCmaintenanceMCP server for Bible study, providing multi-version verse lookup, keyword/semantic search, cross-references, and word studies with original language and lexicon details.6MIT
- AlicenseBqualityDmaintenanceA lightweight, dependency-free MCP server that answers cited queries over a Tero corpus index.json via stdio JSON-RPC 2.0, with honest refusal semantics and no silent empty results.9MIT