Gospel Library MCP Server
Enables LLMs to fetch exact LDS scripture verses, search scriptures by topic, retrieve random verses, and search General Conference talks with smart fuzzy matching.
README
Gospel Library MCP Server (Unofficial)
This is a Model Context Protocol server for LLM interfaces such as Claude, ChatGPT, or LM Studio. You can set up a remote server via Cloudflare Workers (free), or you can run the MCP server locally using node.
Quick Deploy
One-click deployment to Cloudflare Workers - Sets up your own free MCP server instance in under 2 minutes.
Tools Overview
Current active tools:
-
get_exact_scripture - Fetch an exact LDS scripture verse or short contiguous range
- reference (string, required): A verse or short range like "John 3:16", "Alma 32:27-28", "1 Nephi 3:7". Range limit: ≤50 verses.
- Fuzzy matching supported: "Matt 5:16" → "Matthew 5:16", "Omni 7" → "Omni 1:7", "Doc 121" → "D&C 121"
- Always call before quoting scripture wording to ensure accuracy.
-
search_scriptures_by_keyword - Search LDS scriptures by keyword/phrase for topic discovery
- query (string, required): Keyword or short phrase (<100 chars), e.g. "charity", "plan of salvation", "endure to the end"
- limit (number, optional): Max number of results (default 10, max 20)
- Use before teaching on a topic or when user asks "verses about X".
-
get_random_scripture - Return a single random scripture verse
- No parameters required
- Useful for daily verse prompts or inspiration.
-
search_conference_talks - General Conference talks search and retrieval
- id (number, optional): Specific talk ID to retrieve full talk
- query (string, optional): Keyword(s)/phrase to search in talk content (<100 chars)
- speaker (string, optional): Speaker name with fuzzy matching. E.g. "Nelson", "Russell M. Nelson", "Russel Nelson"
- conference (string, optional): Conference identifier with fuzzy matching. E.g. "April 2023", "Oct 2022", "October 1990"
- limit (number, optional): Maximum results (default 10, max 20)
Enhanced Features:
- Fuzzy matching: "Russel M. Nelson" matches "Russell M. Nelson", "Oct 1990" matches "October 1990"
- Smart single results: When only 1 talk matches, returns full talk content automatically
- Intelligent filtering: Combines multiple parameters for precise searches
- Always fetch before quoting to ensure accuracy.
Typical Query Flows
Find a specific scripture reference:
get_exact_scripture{ reference: "John 3:16" }
get_exact_scripture{ reference: "Omni 7" } // Fuzzy matches to Omni 1:7
get_exact_scripture{ reference: "Matt 5:16" } // Fuzzy matches to Matthew 5:16
Search scriptures by topic:
search_scriptures_by_keyword{ query: "charity", limit: 5 }
search_scriptures_by_keyword{ query: "plan of salvation" }
Find a Russell M. Nelson talk from October 1990:
search_conference_talks{ speaker: "Russell M. Nelson", conference: "October 1990" }
Search for talks about a specific topic:
search_conference_talks{ query: "atonement", speaker: "Russell M. Nelson", limit: 5 }
search_conference_talks{ query: "faith", conference: "April 2023" }
Get a full talk by ID:
search_conference_talks{ id: 12345 }
Get a random scripture:
get_random_scripture{}
Key Features
Scripture Tools:
- Comprehensive coverage: Bible, Book of Mormon, Doctrine & Covenants, Pearl of Great Price
- Intelligent fuzzy matching: Handles abbreviations and common misspellings
- Flexible reference parsing: Supports "Book Chapter:Verse", "Book Verse" (assumes chapter 1), and D&C sections
- Fast keyword search: Full-text search across all scriptures
- Random verse generator: Perfect for daily inspiration
Conference Talk Tools:
- Modern prophet teachings: Conference talks from April 1971 onward
- Smart speaker matching: Finds speakers even with typos ("Russel" → "Russell")
- Conference abbreviations: "Oct 1990" → "October 1990", "Apr 2023" → "April 2023"
- Intelligent results: Single matches return full talk content automatically
- Multi-parameter filtering: Combine speaker, conference, and keyword searches
Error / Guidance Messages
The tools return actionable hints when no results are found, suggesting alternative search approaches or parameter adjustments.
Local Development
Type check:
bun run type-check
Deploy:
wrangler deploy
Tail logs:
wrangler tail
Local Database Priority (Local -> D1)
At runtime the server resolves the database in this order:
- Local file
gospel-library.db(Node using better-sqlite3 if available, otherwise Bun's built-in sqlite) - Cloudflare D1 binding
DB(only if no local file connection was established)
Place a SQLite dump named gospel-library.db in the project root to operate entirely offline. The same tools work unchanged.
Connecting a Client
There are two ways to connect to a client: locally and remotely. For developer use, local is recommended. Remote is easier to set up and uses the Cloudflare endpoint.
Local
Example config snippet:
{
"mcpServers": {
"gospel-library": {
"command": "node",
"args": ["/Users/path/to/repository/dist/stdio-server.js"],
"env": { "GOSPEL_DB_PATH": "/Users/path/to/database/gospel-library.db"}
}
}
}
Remote
Option 1: One-Click Deploy (Recommended)
This will:
- Fork the repository to your GitHub account
- Set up a Cloudflare Workers deployment
- Configure the D1 database automatically
- Deploy your MCP server instance
Once deployed, use your Worker URL with the /sse endpoint in your MCP client.
Option 2: Manual Deployment
- Clone this repository
- Install dependencies:
npm install - Set up Cloudflare Workers CLI:
npm install -g wrangler - Login to Cloudflare:
wrangler login - Create D1 database:
wrangler d1 create gospel-library - Update database ID in
wrangler.jsonc - Deploy:
wrangler deploy
Option 3: Use Existing Deployment
No authentication is required to use this tool. You will need a client that supports remote MCP servers, such as Claude on a Pro plan or ChatGPT on a Pro plan.
URL: https://gospel-library-mcp.harrisadam42103.workers.dev/sse
Future Enhancements (Ideas)
- Ranking improvements or FTS.
- Citation generation referencing talk paragraphs.
- Caching of frequent queries.
- Footnotes
- Optionally allow for web scraping
- More resources from Gospel Library
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。