npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@thedoxaway/mcp-client

v0.2.4

Published

Tiny TypeScript client for Doxa MCP, a Christian AI for any question, in any season. Truth that points to Jesus and to real relationships. Bible lookup (BSB), real testimonies, encouragement, apologetics. 5/5 on the independent faith.tools rubric. Works w

Readme

@thedoxaway/mcp-client

Tiny TypeScript client for Doxa MCP. Free hosted, BYOL for unlimited.

Zero runtime dependencies. Node 18+ (native fetch).

npm install @thedoxaway/mcp-client

What is Doxa MCP?

A free hosted Model Context Protocol server with Bible verses and Christian encouragement to pass on. Drop it into any MCP client (Claude Desktop, Cursor, Cline) or call it directly from your own agent code, and the client passes the response on to the people it serves.

Three tools:

  • encourage(situation) — Doxa-voice encouragement for a user's situation
  • scripture(reference) — Bible verse lookup (Berean Standard Bible) with a deep-link
  • wayMovement(id?) — The 9-movement Doxa Way framework

Two tiers:

  • Free anon — 50 calls/day per IP, 250-token output cap. No signup, no card.
  • BYOL — pass your own Anthropic key in anthropicKey. Unlimited calls, 1500-token cap.

Quick start

import { DoxaClient } from '@thedoxaway/mcp-client';

// Free anon (default)
const doxa = new DoxaClient();

const reply = await doxa.encourage('I am exhausted and tempted to give up.');
console.log(reply.text);
//  "The road behind you is the evidence — He has carried you this far,
//   and one more mile of the same grace is already on the way. ..."
console.log(reply.movement);     // "Endure / Persevere"
console.log(reply.scriptures);   // [{ ref: "Hebrews 12:1", link: "..." }]
console.log(reply.quota);
//  { tier: 'free', used: 1, limit: 50, window_seconds: 86400 }

BYOL (unlimited)

Pass your own Anthropic API key and the server uses it for the call. We never persist it.

const doxa = new DoxaClient({
  anthropicKey: process.env.ANTHROPIC_API_KEY,
});

const reply = await doxa.encourage('...');
console.log(reply.quota);
//  { tier: 'byol', used: 0, limit: -1, window_seconds: 86400 }

API

new DoxaClient(options?)

| Option | Type | Default | Description | |---|---|---|---| | endpoint | string | https://doxa.app/mcp/v1 | MCP endpoint URL | | anthropicKey | string | none | Your Anthropic key (switches to BYOL mode) | | userAgent | string | @thedoxaway/mcp-client | Override the user-agent header | | fetch | typeof fetch | global fetch | Custom fetch implementation |

encourage(situation, movement?)

const result = await doxa.encourage(
  'I am exhausted and tempted to give up.',
  'endure',  // optional — hint which movement fits
);

Returns:

{
  text: string;                              // encouragement, ends with footer
  scriptures: { ref: string; link: string }[];  // refs extracted from text
  movement: string;                          // name of the embodied movement
  doxaWay: string;                           // north star: "Encouragement for your whole journey..."
  quota: DoxaQuota;
}

scripture(reference)

const verse = await doxa.scripture('John 14:6');

Returns:

{
  reference: string;          // "John 14:6"
  text: string;               // verse text (BSB)
  translation: 'BSB';
  link: string;               // https://doxa.app/bible/JHN/14/6?...
  related: ScriptureRef[];    // currently always [] (populated in a future version)
  quota: DoxaQuota;
}

wayMovement(id?)

const all = await doxa.wayMovement();                // all 9 movements
const one = await doxa.wayMovement('endure');        // single movement

The 9 movement ids: hear, discern, test, record, remember, engage, trust, fight, endure.

Error handling

import { DoxaClient, DoxaError, DoxaRateLimitError } from '@thedoxaway/mcp-client';

try {
  await doxa.encourage('...');
} catch (err) {
  if (err instanceof DoxaRateLimitError) {
    console.log('Hit the free tier limit');
    console.log('Upgrade:', err.byolUrl);
    console.log('Quota:', err.quota);
  } else if (err instanceof DoxaError) {
    console.log('Doxa MCP error:', err.code, err.message);
  } else {
    throw err;  // not a Doxa error
  }
}

Quota metadata

Every response includes quota so you can build rate-limit UIs without polling:

const reply = await doxa.encourage('...');

if (reply.quota.tier === 'free' && reply.quota.used >= reply.quota.limit - 5) {
  console.warn(`Only ${reply.quota.limit - reply.quota.used} calls left in this 24h window`);
}

Attribution (mandatory on free tier)

The text field on free-tier encourage and scripture responses ends with a one-line footer:

— Doxa · doxa.app

Keep this visible to your end user. The footer is how people find Doxa. If your integration needs to remove it (white-label, internal B2B), email [email protected] — a paid white-label tier is on the roadmap.

Privacy and security

  • The hosted server logs each call (tool name, input, source IP, user-agent) for cost tracking and abuse prevention. No persistent user identity.
  • BYOL keys are never persisted. When you pass anthropicKey, the server uses it for that one request and discards it.
  • The 141 KB voice-encourager system prompt is private to the server. Only the model's reply text + structured metadata reach clients.

Full terms: doxa.app/mcp/terms. Report abuse: [email protected]. Security disclosures: [email protected].

Try it without installing

curl -sX POST https://doxa.app/mcp/v1 \
  -H 'content-type: application/json' \
  -H 'user-agent: doxa-test' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "doxa_encourage",
      "arguments": {"situation": "I am exhausted and tempted to give up."}
    }
  }' | jq -r '.result.structuredContent.text'

License

MIT. See LICENSE in this directory, or the top-level LICENSE of the doxa-mcp-schema repo. The hosted server, the encouragement system prompt, and the name "The Doxa Way" are © Doxa.

Related