شعار Logos Bible Software MCP Server + Socratic Bible Study Agent

Logos Bible Software MCP Server + Socratic Bible Study Agent

المجتمع
robrawks

A Model Context Protocol (MCP) server that connects Claude Code to Logos Bible Software, plus a custom Socratic Bible study agent that uses these tools for guided theological dialogue.

الناشرrobrawks
المستودعLogosBibleSoftwareMCP
اللغةTypeScript
التفريعات
19
النجوم
28
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Logos Bible Software MCP Server + Socratic Bible Study Agent إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 28، والنسخ المتفرعة: 19 في المستودع المرتبط.

Logos Bible Software MCP Server + Socratic Bible Study Agent

A Model Context Protocol (MCP) server that connects Claude Code to Logos Bible Software, plus a custom Socratic Bible study agent that uses these tools for guided theological dialogue.

What This Does

  • 24 MCP tools that let Claude read Bible text, search Scripture, navigate Logos, access your notes/highlights/favorites/clippings, check reading plans, explore word studies and factbook entries, search your library catalog, open commentaries and lexicons, run cross-resource searches, capture Logos panels for vision reading, check what Logos is showing, and diagnose environment issues
  • A Socratic Bible Study agent that guides you through Scripture using questions (not lectures), welcoming any denominational background, with four questioning layers: Observation, Interpretation, Correlation, and Application
  • A QA Tool Tester agent that systematically exercises all tools and produces a pass/fail/skip report

Prerequisites

RequirementDetails
macOS or WindowsmacOS uses the open command and AppleScript; Windows uses the registered logos4: protocol handler and tasklist
Logos Bible SoftwaremacOS: /Applications/Logos.app (tested with v48); Windows: standard install under %LOCALAPPDATA%\Logos
Node.jsv18+ (v23+ recommended for native fetch support)
Claude CodeAnthropic's CLI tool (install guide)
Biblia API KeyFree key from bibliaapi.com
Xcode Command Line Toolsclang is required to compile the window-capture helper used by capture_panel_screenshot (install: xcode-select --install)
macOS permissionsScreen Recording permission for your terminal app (System Settings → Privacy & Security → Screen Recording) is required for screenshots; Automation/Accessibility permission is prompted on first AppleScript use (detecting whether Logos is running)

Setup

1. Clone the repo

bash
git clone https://github.com/robrawks/LogosBibleSoftwareMCP.git
cd LogosBibleSoftwareMCP

2. Install dependencies and build

bash
cd logos-mcp-server
npm install
npm run build
cd ..

3. Get a Biblia API key

  1. Go to bibliaapi.com
  2. Sign up for a free account
  3. Copy your API key

4. Create .mcp.json in the project root

json
{
  "mcpServers": {
    "logos": {
      "command": "node",
      "args": ["logos-mcp-server/dist/index.js"],
      "env": {
        "BIBLIA_API_KEY": "your_api_key_here"
      }
    }
  }
}

5. Create .env in the project root (optional, for development)

BIBLIA_API_KEY=your_api_key_here

6. Verify it works

bash
claude

Once Claude Code starts, type /mcp to check that the "logos" server appears with 24 tools.

Using with Claude Desktop or Cowork

The same server can be used with Claude Desktop or other MCP clients. Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

json
{
  "mcpServers": {
    "logos": {
      "command": "node",
      "args": ["/Users/you/LogosBibleSoftwareMCP/logos-mcp-server/dist/index.js"],
      "env": {
        "BIBLIA_API_KEY": "your_api_key_here"
      }
    }
  }
}

Use an absolute path in args — relative paths only resolve when the client is launched from the repo root, which is not guaranteed for desktop apps. The same absolute-path rule applies to any MCP client (Claude Code's .mcp.json works with relative paths only because it is loaded from the project root).

Available Tools

Bible Text & Reading

Tools for retrieving, reading, and comparing Bible text

ToolWhat it does
get_bible_textRetrieves passage text (LEB default; also KJV, ASV, DARBY, YLT, WEB)
get_passage_contextGets a passage with surrounding verses for context
compare_passagesCompares two Bible references for overlap, subset, or ordering
get_available_biblesLists all Bible versions available for text retrieval

Navigation & UI

Tools that open things in the Logos desktop app

ToolWhat it does
navigate_passageOpens a passage in the Logos UI
open_word_studyOpens a word study in Logos (Greek/Hebrew/English)
open_factbookOpens a Factbook entry for a person, place, event, or topic
open_resourceOpens a specific commentary, lexicon, or other resource in Logos at a passage
open_guideOpens an Exegetical Guide or Passage Guide for a Bible passage
get_logos_stateChecks whether Logos is running and lists its open window titles
capture_panel_screenshotNavigates Logos and captures the visible panel as an image for AI vision

Search & Discovery

Tools for searching Bible text and library resources

ToolWhat it does
search_bibleSearches Bible text for words, phrases, or topics
get_cross_referencesFinds related passages by extracting key terms
scan_referencesFinds Bible references embedded in arbitrary text
search_allSearches across ALL resources in your library (not just Bible text)

Library & Resources

Tools for browsing your owned library catalog

ToolWhat it does
get_library_catalogSearches your owned resources (commentaries, lexicons, etc.) by type, author, or keyword
get_resource_typesShows a summary of resource types and counts in your library

Personal Study Data

Tools for accessing your notes, highlights, favorites, and reading progress

ToolWhat it does
get_user_notesReads your study notes from Logos
get_user_highlightsReads your highlights and visual markup
get_clippingsReads your saved clippings (excerpt text you clipped from resources)
get_favoritesLists your saved favorites/bookmarks
get_reading_progressShows your reading plan status

Study Workflows

Tools for structured study paths

ToolWhat it does
get_study_workflowsLists available study workflow templates and active instances

System & Diagnostics

Tools for troubleshooting and verifying your setup

ToolWhat it does
diagnoseChecks Logos data paths, database availability, and API configuration

Using the Socratic Bible Study Agent

Start Claude Code in the project directory, then:

/agent socratic-bible-study

The agent will ask what you want to study and guide you through Scripture using the Socratic method. It's tradition-neutral -- it works with any denominational background and presents multiple perspectives where Christians disagree. It guides you through four layers:

  1. Observation - "What does the text say?"
  2. Interpretation - "What does the text mean?"
  3. Correlation - "How does this relate to the rest of Scripture?"
  4. Application - "What does this mean for us?"

Example session starters

  • "Let's study Romans 8:28-30"
  • "I want to do a word study on 'justification'"
  • "What does the Bible teach about grace?"
  • "Walk me through Psalm 23"

Project Structure

LogosBibleSoftwareMCP/
├── .claude/
│   └── agents/
│       ├── socratic-bible-study.md    # Socratic agent definition
│       └── tool-tester.md            # QA agent for testing all 24 tools
├── .mcp.json                          # MCP server config (you create this)
├── .env                               # API key (you create this)
├── logos-mcp-server/
│   ├── package.json
│   ├── tsconfig.json
│   ├── src/
│   │   ├── index.ts                   # MCP server entry point (24 tools)
│   │   ├── cli.ts                     # Diagnose CLI entry point
│   │   ├── config.ts                  # Paths, API config, constants
│   │   ├── types.ts                   # Shared TypeScript types
│   │   └── services/
│   │       ├── reference-parser.ts    # Bible reference normalization
│   │       ├── biblia-api.ts          # Biblia.com REST API client
│   │       ├── logos-app.ts           # macOS URL scheme / AppleScript
│   │       ├── sqlite-reader.ts       # Read-only Logos SQLite access
│   │       └── catalog-reader.ts     # Library catalog search (catalog.db)
│   └── dist/                          # Built output (after npm run build)

How It Works

The MCP server integrates with Logos through four channels:

  • Biblia API - Retrieves Bible text and search results via the free REST API from Faithlife (same company as Logos)
  • URL schemes - Opens passages, word studies, and factbook entries directly in the Logos app using logos4:/// URLs (via open on macOS, the registered protocol handler on Windows)
  • SQLite databases - Reads your personal data (notes, highlights, favorites, workflows, reading plans) and library catalog directly from the Logos local database files (read-only access, never modifies your data)
  • Screen capture + vision - Captures Logos windows so AI can read content displayed in the app UI when direct DB text access is unavailable

Logos Data Path

The server auto-detects your Logos data by scanning for the per-install instance directory:

macOS:    ~/Library/Application Support/Logos4/Documents/<instance-id>/
Windows:  %LOCALAPPDATA%\Logos\Documents\<instance-id>\

Each Logos install uses a randomly named instance directory (e.g. a3wo155q.w14); detection prefers the directory containing LibraryCatalog/catalog.db, so there is no fixed path to configure. If your Logos data lives at a non-standard path, the LOGOS_DATA_DIR and LOGOS_CATALOG_DIR environment variables remain available as manual overrides (set them in .mcp.json). The library catalog lives under Data/ (not Documents/) — set LOGOS_CATALOG_DIR if your catalog path differs:

json
{
  "mcpServers": {
    "logos": {
      "command": "node",
      "args": ["logos-mcp-server/dist/index.js"],
      "env": {
        "BIBLIA_API_KEY": "your_key",
        "LOGOS_DATA_DIR": "/path/to/your/Logos4/Documents/xxxx.w14",
        "LOGOS_CATALOG_DIR": "/path/to/your/Logos4/Data/xxxx.w14"
      }
    }
  }
}

Troubleshooting

Quick diagnostic check - Run cd logos-mcp-server && npm run diagnose to verify all data paths, databases, and API configuration before launching Claude Code.

"BIBLIA_API_KEY is not set" - Get a free key at bibliaapi.com and add it to the env block in .mcp.json. Bible-text tools need it, but Logos-local tools (notes, highlights, clippings, library catalog) work without it.

"Database not found" - Logos isn't installed, or your data is at a non-standard path. Run find ~/Library/Application\ Support/Logos4 -name "*.db" -maxdepth 5 to locate your databases and set LOGOS_DATA_DIR.

Screenshot tool fails - Check that your terminal app has Screen Recording permission (System Settings → Privacy & Security → Screen Recording) and that Xcode Command Line Tools are installed (xcode-select --install).

Tools don't appear in /mcp - Restart Claude Code. The MCP server is loaded at startup from .mcp.json.

Logos doesn't open passages - Make sure Logos Bible Software is running before using navigate_passage, open_word_study, or open_factbook.

Book content is encrypted in local resource files - Use capture_panel_screenshot to let AI read what is visible in Logos, and use get_clippings for text you've explicitly clipped/highlighted.

License

MIT

التثبيت

TypingMind
{
  "mcpServers": {
    "logosbiblesoftwaremcp": {
      "command": "node",
      "args": [
        "logos-mcp-server/dist/index.js"
      ],
      "env": {
        "BIBLIA_API_KEY": "<BIBLIA_API_KEY>"
      }
    }
  }
}

استخدم MCP الخاص بـ Logos Bible Software MCP Server + Socratic Bible Study Agent مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Logos Bible Software MCP Server + Socratic Bible Study Agent، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Logos Bible Software MCP Server + Socratic Bible Study Agent كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Logos Bible Software MCP Server + Socratic Bible Study Agent.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "logosbiblesoftwaremcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Logos Bible Software MCP Server + Socratic Bible Study Agent، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Logos Bible Software MCP Server + Socratic Bible Study Agent.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Logos Bible Software MCP Server + Socratic Bible Study Agent لمساعدتي في هذه المهمة؟
Logos Bible Software MCP Server + Socratic Bible Study Agent
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Logos Bible Software MCP Server + Socratic Bible Study Agent.

الأسئلة الشائعة

ما استخدامات خادم MCP Logos Bible Software MCP Server + Socratic Bible Study Agent؟

Logos Bible Software MCP Server + Socratic Bible Study Agent هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Logos Bible Software MCP Server + Socratic Bible Study Agent مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Logos Bible Software MCP Server + Socratic Bible Study Agent مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Logos Bible Software MCP Server + Socratic Bible Study Agent مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Logos Bible Software MCP Server + Socratic Bible Study Agent، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Logos Bible Software MCP Server + Socratic Bible Study Agent بـ TypingMind؟

يعمل Logos Bible Software MCP Server + Socratic Bible Study Agent عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Logos Bible Software MCP Server + Socratic Bible Study Agent في TypingMind؟

يتيح Logos Bible Software MCP Server + Socratic Bible Study Agent إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Logos Bible Software MCP Server + Socratic Bible Study Agent؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Logos Bible Software MCP Server + Socratic Bible Study Agent يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇