Developer Ecosystem & Model Context Protocol
BibleDesk Developer Platform
Build Christian applications, AI agents, church integrations, and research workflows with our open REST APIs, TypeScript SDK, and standard Model Context Protocol (MCP) server.
Official Isomorphic TypeScript / JS SDK
Zero-config client library works in browser environments, Node.js backends, Next.js server actions, and Cloudflare Workers.
1. Installation
npm install @bibledesk/sdk
2. Quickstart Usage
import { createBibleDeskClient } from '@bibledesk/sdk';
// Initialize isomorphic client (no key needed for public domain Scripture & lexicons)
const bibledesk = createBibleDeskClient({
baseUrl: 'https://bible-desk.vercel.app',
});
// 1. Read Chapter Text (KJV, ASV, WEB, BBE, Darby, YLT)
const passage = await bibledesk.bible.getChapter({
book: 'John',
chapter: 3,
translation: 'web',
});
console.log(passage.reference, passage.verses[15].text);
// 2. Strong's Greek / Hebrew Lexicon Lookup
const greekWord = await bibledesk.bible.getLexicon({ strongs: 'G2889' }); // Kosmos
console.log(greekWord.lemma, greekWord.definition);
// 3. Query Biblical Concept Knowledge Graph
const graphData = await bibledesk.graph.query({ node: 'grace' });
console.log(graphData.nodes, graphData.edges);
// 4. Church Prayer Chain Escalation
await bibledesk.prayer.escalate({
prayerId: 'prayer-uuid-123',
targetLevel: 'church',
urgencyLevel: 'urgent',
isAnonymous: false,
});