Developer Ecosystem & Model Context Protocol
BibleDesk Developer Platform
Build Christian applications, AI agents, ministry tools, 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
const bibledesk = createBibleDeskClient({
baseUrl: 'https://your-bibledesk.up.railway.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. Bidirectional Treasury of Scripture Knowledge (TSK) Cross-References
const crossRefs = await bibledesk.study.getCrossReferences({
book: 'John',
chapter: 1,
verse: 1,
});
console.log('Cross references:', crossRefs.references);
// 4. Grounded 5-Dimension Commentary & Evidence Assessment
const commentary = await bibledesk.study.getCommentary({ verseRef: 'John 1:1' });
console.log(commentary.summary, commentary.confidence);
// 5. Query Biblical Concept Knowledge Graph
const graphData = await bibledesk.graph.query({ nodeKey: 'grace' });
console.log(graphData.nodes, graphData.edges);