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

hunt-mcp-server

v0.1.0

Published

Hunt protocol MCP server — exposes Hunt's on-chain reads + cryptographic verifier as Model Context Protocol tools for Claude Desktop, Cursor, and any MCP-compatible client.

Readme

@hunt-protocol/mcp-server

Hunt protocol as a Model Context Protocol (MCP) server for Claude Desktop, Cursor, and any MCP-compatible client.

What it does

Exposes Hunt's on-chain reads + the cryptographic strict-mode verifier as MCP tools, so an AI agent can query the Hunt protocol directly — list bounties, fetch findings, check per-CWE reputation, and cryptographically verify a winning finding against teeSigner without leaving its chat surface.

Install (Claude Desktop)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "hunt": {
      "command": "npx",
      "args": ["-y", "@hunt-protocol/mcp-server"]
    }
  }
}

Restart Claude Desktop. The Hunt tools appear in the tools panel.

Install (Cursor)

Add to ~/.cursor/mcp.json (same shape). Cursor picks it up on restart.

Local dev / direct run

git clone https://github.com/Ridwannurudeen/hunt
cd hunt/packages/mcp-server
npm install
node src/server.js                    # stdio server, talks JSON-RPC on stdin/stdout

Override the RPC or contract via env:

ZG_RPC_URL=https://evmrpc.0g.ai \
HUNT_ADDRESS=0xD4Fe5127d519B775a9a581A54ED0719BBFf0d68C \
node src/server.js

Tools

| Tool | What it returns | |---|---| | hunt_stats | totalHunters, totalBounties, status breakdown, cumulative OG paid, teeSigner, verifier, current block | | hunt_list_hunters | all minted hunters with specialty, wins, submissions, total earned | | hunt_get_hunter | full hunter detail by id | | hunt_list_bounties | all bounties with status (Open/Settled/Expired) + findings count | | hunt_get_bounty | single bounty detail + findings count | | hunt_get_findings | every finding for a bounty (attestation digest, signature, self-eval) | | hunt_get_class_rep | per-CWE ClassRep for (hunterId, cweClass). Accepts bytes32 or kebab-case CWE name | | hunt_verify_bounty | the strict-mode cryptographic verifier — recovers signer, re-derives digest, checks race window. Pass modelDigest for strict mode | | hunt_canonical_digest | computes keccak256(utf8("zai-org/GLM-5-FP8\|hunt-audit-v1")) for use with hunt_verify_bounty | | hunt_list_cwes | the 12 canonical CWE classes Hunt hunters specialise in, with their bytes32 hashes |

Example sessions

"What's Hunt's per-CWE reputation for hunter #1 on oracle-manipulation?" → agent calls hunt_get_class_rep with hunterId: 1, cweClass: "oracle-manipulation" → returns wins: 8, submissions: 8, totalEarnedOG: 0.4 (live mainnet).

"Cryptographically verify bounty #3's winning finding." → agent calls hunt_canonical_digest → gets 0xba2eccd8…03078e → calls hunt_verify_bounty with bountyId: 3, modelDigest: 0xba2eccd8…03078e → returns pass: true with signer match, race-window check, and digest re-derivation confirmed.

Architecture notes

  • Read-only. No transaction signing. The protocol's state-changing entry points (postBounty, mintHunter, expireBounty, settleBounty) require a wallet — that's the browser surface at hunt.gudman.xyz.
  • Stdio transport. No HTTP, no auth, no tokens — uses stdin/stdout JSON-RPC per MCP spec. Diagnostics go to stderr (never stdout — would corrupt the protocol stream).
  • No mocks. Every read goes against the deployed Hunt contract on 0G Aristotle mainnet (chain 16661). The cumulativePaidOG number you see is the same on-chain number a judge gets running scripts/verify_bounty.js.
  • Source of truth. contracts/Hunt.sol (in the parent repo). The ABI baked into this package is a minimal subset of the full Hunt ABI; for the full ABI use deployments/Hunt.json in the parent repo.

License

MIT. See parent repo for full license + project context.