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

hosannaith-mcp

v0.3.2

Published

MCP server for the Hosannaith x402 reliability oracle on Algorand — gives any MCP agent a check_x402_reliability tool to vet an endpoint before paying it.

Readme

hosannaith-mcp

An MCP server that gives any MCP-capable agent (Claude Desktop, Cursor, Claude Code, etc.) a tool to check the reliability of an x402 endpoint on Algorand before it routes a payment there.

It wraps the Hosannaith reliability oracle. One tool call pays a small USDC amount over x402 and returns a verified reliability score.

Tools

| Tool | Cost | What it does | | --- | --- | --- | | get_hosannaith_info | free | Explains what the score means and how to act on it. Call this first. | | check_x402_reliability | small USDC payment (x402 on Algorand) | Returns the reliability score for a target x402 endpoint URL. | | check_x402_reliability_batch | $7 flat (x402 on Algorand) | Scores up to 50 endpoint URLs in one call — for vetting a whole watchlist. |

A score looks like:

{
  "target": "https://api.example.com/resource",
  "status": "pass",
  "score": 95.8,
  "detail": {
    "observations": 142,
    "windowHours": 24,
    "uptimePct": 100,
    "correct402Pct": 100,
    "p50LatencyMs": 180,
    "p95LatencyMs": 420,
    "p99LatencyMs": 610,
    "confidence": "history",
    "availability_pct": 100,
    "error_rate_pct": 0,
    "protocol_conformance_pct": 100,
    "score_normalized": 0.958
  },
  "observedAt": "2026-10-14T00:00:00.000Z",
  "spec_version": "1.0.0",
  "generated_at": "2026-10-14T00:00:00.120Z",
  "signature": { "alg": "ES256", "kid": "tva-5LvOz8DrLJKcj3pYlryzOtKpgAcos-56dyWRA-k", "sig": "…" }
}
  • status: pass (score ≥90) · degraded (60–89) · fail (<60) · unknown (too little data)
  • score: 0–100, or null when there isn't enough history to stand behind a number
  • detail.confidence: history (scored from accrued observations) · one-shot (only one live probe — treat cautiously)
  • detail.availability_pct, error_rate_pct, protocol_conformance_pct, score_normalized: the same measurements in OpenEAGO SLO terms (field reference)
  • signature: every result is signed (ES256), so it can be forwarded and still checked against the published keys. The hosannaith-client package verifies automatically; the format is in docs/attestation.md.

Install

Published on npm. The easiest path is to let your MCP client run it with npx — nothing to install or build (see config below). To install the command globally instead:

npm install -g hosannaith-mcp

Or run from source:

git clone https://github.com/cameron4316/x402-oracle-server
cd x402-oracle-server/mcp
npm install && npm run build   # produces dist/index.js

Configure your MCP client

check_x402_reliability pays for the score, so the server needs the 25-word mnemonic of a funded, USDC-opted-in Algorand account in the AVM_MNEMONIC environment variable. Use a low-balance throwaway hot account — never your main wallet, never a receive-only address. The mnemonic is read only from the environment; it is never logged or returned.

Claude Desktop

Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "hosannaith": {
      "command": "npx",
      "args": ["-y", "hosannaith-mcp"],
      "env": {
        "AVM_MNEMONIC": "word1 word2 ... word25"
      }
    }
  }
}

Then fully quit and reopen Claude Desktop. (Running from source instead? Use "command": "node" with the absolute path to mcp/dist/index.js as the single arg.)

Cursor

Add to ~/.cursor/mcp.json (or the project's .cursor/mcp.json):

{
  "mcpServers": {
    "hosannaith": {
      "command": "npx",
      "args": ["-y", "hosannaith-mcp"],
      "env": {
        "AVM_MNEMONIC": "word1 word2 ... word25"
      }
    }
  }
}

Try it

  1. Call get_hosannaith_info (free) and read how to interpret a score.
  2. Call check_x402_reliability with a target URL, e.g. https://x402.goplausible.xyz/examples/weather. The server pays via x402 and returns the score.

Environment variables

| Variable | Required | Default | Purpose | | --- | --- | --- | --- | | AVM_MNEMONIC | for paid tool | — | 25-word mnemonic of a funded, USDC-opted-in throwaway Algorand account used to pay for scores. | | HOSANNAITH_BASE_URL | no | https://api.hosannaith.com | Override the oracle endpoint (local testing only). |

Security

  • AVM_MNEMONIC is a spending key. Keep it to a throwaway account with a small balance.
  • It lives only in your MCP client config's env block — never commit it to version control.
  • The server never prints, logs, or returns the mnemonic.

License

Licensed under the Apache License, Version 2.0. See NOTICE.

Earlier releases were published under the MIT License and remain available under its terms: hosannaith-mcp 0.2.1 and earlier.