Access Bible Content via API
Bible MCP Server puts verses, chapters, and random-verse lookups across many translations directly into Claude via bible-api.com.
Maintainer of this project? Claim this page to edit the listing.
1.0.0Add to Favorites
Why it matters
Integrate biblical content into LLM applications. This asset provides access to verses, chapters, and multiple translations through bible-api.com, enabling enhanced Bible study and content generation.
Outcomes
What it gets done
Retrieve Bible verses by reference and translation.
Get random Bible verses with optional covenant filtering.
List available Bible translations.
Access Bible chapters and verses via resource URIs.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-bible | bash Capabilities
Tools your agent gets
Retrieves Bible verses by reference with optional translation selection
Retrieves a random verse with optional covenant and translation filtering
Returns a formatted list of all available Bible translations
Overview
Bible MCP Server
Bible MCP Server exposes Bible verses and chapters from bible-api.com as MCP resources and tools. It supports direct URI lookups by translation, book, and chapter/verse, plus tools for reference-based lookup, random verses filtered by testament, and listing available translations. Use it for Bible study assistants or any workflow that needs an exact verse pulled by reference rather than paraphrased. It only returns raw verse text plus prompt scaffolding, not generated commentary.
What it does
Bible MCP Server is a Model Context Protocol server that exposes Bible content from bible-api.com to LLMs like Claude. It provides three kinds of MCP surfaces: resources for direct URI-based lookups, tools for parameterized queries, and prompt templates for scaffolding further reasoning. Chapter and verse resources follow the pattern bible://{translation}/{book}/{chapter} and bible://{translation}/{book}/{chapter}/{verse} - for example bible://web/JHN/3 for John 3 in the World English Bible, or bible://kjv/JHN/3/16 for John 3:16 in the King James Version. A bible://random/{translation} resource returns a random verse from a given translation. On the tool side, get_verse_by_reference(reference, translation="web") accepts a plain-text reference like "John 3:16" or a range like "Matthew 5:1-10"; get_random_verse_tool(translation="web", testament=None) returns a random verse with an optional Old Testament/New Testament filter; and list_available_translations() returns a formatted list of every translation the server supports. Two prompt templates are also included: analyze_verse_prompt(reference) builds a prompt for analyzing a specific verse, and find_verses_on_topic_prompt(topic) builds a prompt for finding verses on a given topic.
When to use - and when NOT to
Use it when an agent needs to quote, look up, or reason about specific Bible passages - Bible study assistants, sermon-prep tools, or any workflow that needs a specific verse or chapter pulled by reference rather than paraphrased from training data. It is well suited to cases needing multiple translations side by side, since translation is a parameter on nearly every resource and tool. Skip it if the task needs Bible commentary, cross-references, or theological analysis beyond raw verse text - the server only returns the text bible-api.com provides, plus the prompt templates that scaffold further reasoning; it does not generate commentary itself.
Capabilities
- Direct resource lookup: fetch a specific chapter, verse, or random verse by URI without going through a tool call.
- Reference parsing:
get_verse_by_referenceaccepts natural references and ranges, such as "Matthew 5:1-10", not just single verses. - Testament-filtered randomness:
get_random_verse_tooland thebible://random/{translation}resource can restrict results to Old Testament or New Testament only. - Translation discovery:
list_available_translationsreturns every translation the server currently supports, so a client does not need to hardcode translation codes likeweb,kjv,asv, orbbe. - Study-prompt scaffolding:
analyze_verse_promptandfind_verses_on_topic_promptgenerate ready-to-use prompts for verse analysis and topic-based verse search, rather than requiring the caller to hand-write them. - Comprehensive error handling, per the project's stated feature list, for requests to the underlying bible-api.com service.
How to install
The recommended path is installing from PyPI:
pip install bible-mcp
After installing, add it to an MCP client config:
"Bible MCP": {
"command": "uvx",
"args": [
"bible-mcp"
]
}
Alternatively, clone the repository and install from source (pip install -e .), which requires Python 3.10+ and manages dependencies via pyproject.toml. During development, mcp dev bible_server.py launches the server with the MCP Inspector web UI for testing resources and tools directly, and mcp install bible_server.py installs it into Claude Desktop. The project is released under the MIT License.
Who it's for
Developers building Bible study or devotional assistants, anyone wiring verse lookup into an MCP-compatible client like Claude Desktop, and users who want a random daily verse or topic-based verse search with translation choice built in.
Source README
Bible MCP Server
A Model Context Protocol server that exposes Bible content from bible-api.com for Large Language Models like Claude.
Features
- Access Bible verses and chapters as resources
- Tools for retrieving verses by reference and getting random verses
- Support for multiple translations
- Prompt templates for Bible study
- True random verse generation from any book in the Bible
- Testament filtering (OT/NT) for random verses
- Comprehensive error handling
Add to Claude config
"Bible MCP": {
"command": "uvx",
"args": [
"bible-mcp"
]
}
Installation
From PyPI (recommended)
The simplest way to install Bible MCP is via pip:
pip install bible-mcp
From Source
Clone the repository and install dependencies:
git clone https://github.com/trevato/bible-mcp.git
cd bible-mcp
pip install -e .
Requirements:
- Python 3.10+
- Dependencies are managed via
pyproject.toml
Usage
Running with MCP Development Tools
The fastest way to test the server is with the MCP Inspector:
mcp dev bible_server.py
This will run the server and open a web interface for testing.
Installing in Claude Desktop
To use this server with Claude Desktop:
mcp install bible_server.py
After installation, you can access Bible content in your Claude conversations.
Direct Execution
You can also run the server directly:
python -m bible_server
Available Resources
Bible MCP provides the following resources:
Chapter Resource
bible://{translation}/{book}/{chapter}
Example: bible://web/JHN/3 (John chapter 3 from the World English Bible)
Verse Resource
bible://{translation}/{book}/{chapter}/{verse}
Example: bible://kjv/JHN/3/16 (John 3:16 from the King James Version)
Random Verse Resource
bible://random/{translation}
Example: bible://random/web (Random verse from the World English Bible)
Available Tools
Get Verse by Reference
get_verse_by_reference(reference: str, translation: str = "web") -> str
Parameters:
reference: Bible reference (e.g., "John 3:16", "Matthew 5:1-10")translation: Translation ID (default: "web")
Example:
get_verse_by_reference("Psalm 23:1", "kjv")
Get Random Verse
get_random_verse_tool(translation: str = "web", testament: Optional[str] = None) -> str
Parameters:
translation: Translation ID (default: "web")testament: Optional filter for "OT" (Old Testament) or "NT" (New Testament)
Example:
get_random_verse_tool(translation="web", testament="NT")
List Available Translations
list_available_translations() -> str
Returns a formatted list of all available Bible translations.
Prompts
Analyze Verse Prompt
analyze_verse_prompt(reference: str) -> str
Creates a prompt for analyzing a specific Bible verse.
Example:
analyze_verse_prompt("John 3:16")
Find Verses on Topic Prompt
find_verses_on_topic_prompt(topic: str) -> str
Creates a prompt for finding verses on a specific topic.
Example:
find_verses_on_topic_prompt("love")
Supported Translations
Bible MCP supports multiple translations through the bible-api.com service:
- World English Bible (web) - Default
- King James Version (kjv)
- American Standard Version (asv)
- Bible in Basic English (bbe)
- And many more...
Run the list_available_translations tool to see all available translations.
Examples
Example: Getting John 3:16 from the Web UI
When running mcp dev bible_server.py, you can navigate to the Web UI and:
- Select the "Resources" tab
- Enter
bible://web/JHN/3/16in the URI field - Click "Read Resource"
Example: Using Bible MCP in an LLM Tool
from mcp import ClientSession, StdioServerParameters
import asyncio
async def use_bible_mcp():
server_params = StdioServerParameters(
command="python",
args=["bible_server.py"],
)
async with ClientSession.from_stdio_server(server_params) as session:
# Initialize session
await session.initialize()
# Get a verse
content, _ = await session.read_resource("bible://web/JHN/3/16")
print(content)
# Use a tool
result = await session.call_tool(
"get_random_verse_tool",
{"testament": "NT"}
)
print(result.content[0].text)
if __name__ == "__main__":
asyncio.run(use_bible_mcp())
Development
See CONTRIBUTING.md for details on how to contribute to this project.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.