Skip to main content
Glama
Nathan22Miles

ptx-mcp

ptx-mcp

MCP (Model Context Protocol) server that reads scripture text directly from local Paratext project folders (USFM files) and exposes it as tools an LLM can call.

Example prompts supported

Once the server is installed (see below), you can ask Claude natural-language questions — it picks the right tool and arguments on its own.

  • "What Paratext projects do I have available?"

  • "What books are in the WEB project?"

  • "Show me Genesis 1:1 from WEB."

  • "Get John chapter 3 from WEB."

  • "Show me the whole book of Jonah from WEB."

  • "Compare Genesis 1:1-5 in WEB and BTBK side by side."

  • "Get James 1 from WEB and BTBK together, and skip any verses that are missing in either one."

  • "Read Genesis 1:26 through 2:3 from BTBK."

  • "Does BTBK have a translation of the Gospel of John? If so, show me chapter 1."

Related MCP server: GetBible MCP

Caveats

  • This code

    • Has only had very limited testing so far. It did work for me on Mac and Windows.

    • Has only been tested with Claude Desktop.

    • Does not support access to Paratext resource projects, e.g. RVR80.

  • In order for Claude to access this stdin MCP server, Claude must be running on the local machine, not in the cloud.

    • I think this means you must choose the 'Chat' option and NOT the 'Cowork' option when starting the chat. The Cowork option seems to (at least sometimes?) run in a cloud sandbox that does not have access to the local machine.

Requirements

  • Node.js 18+

    • I think this is automatically installed when you install Claude Desktop

  • One or more Paratext project folders on disk (each containing a Settings.xml and USFM book files)

Setup/Installation

In Claude Desktop

  • Click button with your name in the bottom left corner

  • Click 'Settings'

  • Click 'Developers'

  • Click 'Edit Config'

  • Double click 'claude_desktop_config.json' to open editor

Edit 'claude_desktop_config.json' to add server as follows

{
  "mcpServers": {
    "ptx-mcp": {
      "command": "npx",
      "args": ["-y", "@milesnl/ptx-mcp"]
    }
  }
  ...
}

IMPORTANT! Close and restart Claude to load the new MCP server.

The ptx-mcp package will be automatically downloaded from the NPM library the first time you give a Paratext related command to Claude.

To test installation ask Claude: "List Paratext projects"

Installation Troubleshooting

  • Go to command line and try 'npx -y @milesnl/ptx-mcp'

    • Successful outcome is runs and then waits for terminal input. Control C to terminate. If it prints error messages instead, there is some reason we cannot access the @milesn/ptx-mcp NPM package.

  • After restarting Claude, go to Settings/Developers. This should show ptx-mcp as a Local MCP Server. If not something went wrong with loading.

  • If says "ptx-mcp failed", click "View Logs" to see why.

Installation Notes

If your My Paratext folder is not at the default location, C:\My Paratext 9 Projects, you will need to modify "args" to include that location.

      "args": ["-y", "@milesnl/ptx-mcp", "/path/to/My Paratext 9 Projects"]

To run ptx-mcp from source in development mode

To run from locally installed source

Add to your MCP client's config (e.g. claude_desktop_config.json).

"mcpServers": {
    "ptx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "/path/to/PtxMCP"
      ]
    }
  }

If you don't have Paratext installed, you can add '/path/to/source/PtxMCP/myParatextProjects' to args. This provides access to WEB project.

MCP Supported Commands

Note: In most cases you do not need to know these low level commands. Claude automatically translates your requests into this format to access the MCP.

list-projects

Lists the Paratext project ids (folder names) found under the projects root.

list-books

Lists the 3-letter USFM book codes present in a given project.

  • project — project id (folder name)

get-scripture

Returns verse text for a book, chapter, or verse range from one or more projects.

  • projects — one or more project ids to fetch text from

  • book — 3-letter USFM book code (e.g. GEN, MAT, 1CO)

  • startChapter / startVerse / endChapter / endVerse — optional; omit all four for the whole book, omit verses for a whole chapter, or specify a full range (which may span chapters)

  • allowPartial — if true, silently omits missing projects/books/verses instead of returning an error

Output is plain verse text only — no section headings, book titles, footnotes, or cross-references — one verse per line, formatted as BOOK CHAPTER:VERSE text.

When multiple projects are requested, each line is prefixed with the project id and verses are interleaved project-by-project:

WEB GEN 1:1 In the beginning God created the heavens and the earth.
BTBR GEN 1:1 In the beginning, when God began to create all things,

WEB GEN 1:2 The earth was formless and empty ...
BTBR GEN 1:2 the earth did not exist yet, there still was nothing...

Verse bridges in the source text (e.g. \v 6-7) are returned as a single line labeled 6-7, not duplicated per verse number.

Development

npm install
npm run build   # compile TypeScript to dist/
npm test        # run the Vitest suite (uses the myParatextProjects/ fixture data)

Tests read Paratext project data from the myParatextProjects/ folder.

Acknowledgements

Special thanks to unfoldingWord for usfm-js, the USFM parser this project relies on.

To Do

  • Provide auto install, e.g. 'npx @milesnl/ptx-mcp --install'

  • Try out with Gemini CLI etc.

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables interaction with translation helps APIs through multiple interfaces (MCP, OpenAI, stdio, etc.) for fetching scripture, translation notes, and more via natural language.
    8
    14
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables reading scripture from the GetBible API V2, including translations, books, chapters, and verses, with built-in cache integrity checks.
    GPL 2.0
  • A
    license
    B
    quality
    D
    maintenance
    Provides Hebrew & Greek word study, full morphological parsing, cross-references, LXX alignment, and more from open-licensed data sources, usable by any MCP-compatible client.
    9
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Offline command-line toolkit for biblical study, allowing AI agents to access original-language texts, perform morphological searches, cross-references, and more, with all results traceable to queries.
    122
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Bible corpus MCP server: scripture, Greek/Hebrew interlinear data, cross-refs, semantic search.

  • AI-powered biblical research tools — lexicons, morphology, manuscripts, and more.

  • Multi-engine scholarly research server for search, traversal, full text, and reading lists.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nathan22Miles/PtxMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server