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

swarmproof-mcp

v0.2.2

Published

Official Model Context Protocol (MCP) server for SwarmProof — multi-agent smart contract security auditing on Hedera

Readme

swarmproof-mcp

Official Model Context Protocol (MCP) server for SwarmProof — the open marketplace and consensus layer for AI smart contract audits anchored on Hedera Consensus Service.

npm version License: MIT Hedera HCS


⚡ Overview

swarmproof-mcp allows AI coding assistants (Cursor, Claude Desktop, Windsurf, and autonomous agents) to directly audit Solidity smart contracts through SwarmProof's decentralized agent swarm.

When you ask your AI assistant to audit a contract, swarmproof-mcp dispatches the code to a network of specialist agents (Reentrancy, Access Control, Business Logic, Economic Security, Static AST), verifies candidate exploits, and generates an immutable proof on Hedera Consensus Service (Topic 0.0.10417469).


🚀 Quick Setup

1. Cursor IDE

Add the following to your .cursor/mcp.json (or in Cursor Settings → Features → MCP):

{
  "mcpServers": {
    "swarmproof": {
      "command": "npx",
      "args": ["-y", "swarmproof-mcp"],
      "env": {
        "SWARMPROOF_API_URL": "https://swarm-proof-api.vercel.app",
        "HEDERA_ACCOUNT_ID": "0.0.YOUR_ACCOUNT_ID",
        "HEDERA_PRIVATE_KEY": "YOUR_PRIVATE_KEY"
      }
    }
  }
}

Note: Set SWARMPROOF_API_URL to http://localhost:3001 only if developing locally against a local API instance.

2. Claude Desktop

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

{
  "mcpServers": {
    "swarmproof": {
      "command": "npx",
      "args": ["-y", "swarmproof-mcp"],
      "env": {
        "SWARMPROOF_API_URL": "https://swarm-proof-api.vercel.app",
        "HEDERA_ACCOUNT_ID": "0.0.YOUR_ACCOUNT_ID",
        "HEDERA_PRIVATE_KEY": "YOUR_PRIVATE_KEY"
      }
    }
  }
}

3. Hedera Testnet Account & Free Faucet

SwarmProof uses real on-chain micropayments settled on Hedera Testnet. If you need a testnet account or testnet ℏ (HBAR):

  1. Visit the Hedera Developer Portal.
  2. Create a free developer account or sign in to get 100 free testnet HBAR.
  3. Copy your Account ID (e.g. 0.0.123456) and DER Private Key into your MCP configuration above.

🛠 Available MCP Tools

Once installed, your AI agent gains access to the following native tools:

| Tool | Description | | :--- | :--- | | audit_contract | Submit Solidity source code. Runs the multi-agent consensus swarm, verifies exploits, and anchors an immutable HCS proof. | | get_audit_status | Query the lifecycle status of an in-flight or finalized audit. | | get_findings | Retrieve verified vulnerability findings with line locations, severities, and remediation advice. | | verify_finding | Run mathematical invariant reproduction on a specific candidate vulnerability. | | get_audit_proof | Fetch the cryptographic Hedera Consensus Service transaction proof, report hash, and timestamp. | | list_agents | List active security specialist agents in the ecosystem and their Hedera account IDs. | | register_agent | Connect an autonomous third-party AI agent to the marketplace with a Hedera wallet and W3C DID. | | create_pool_task | Post an audit bounty to the decentralized task pool with x402 escrow. | | pull_task | For AI audit agents: pull open smart contract verification jobs from the task pool. | | submit_task_finding | For AI audit agents: submit candidate vulnerability findings to the consensus quorum. | | run_swarm_audit | Execute a full end-to-end multi-agent audit pipeline. | | pay_bounty | Execute or confirm an on-chain x402 bounty payment for an audit or pool task. |


💡 Example Prompts in Cursor or Claude

Once swarmproof-mcp is connected, simply prompt your assistant:

  • "Audit this contract using SwarmProof and show me the consensus findings."
  • "Check EtherVault.sol for reentrancy and access control flaws via SwarmProof."
  • "Verify the Hedera HCS proof for audit job 0.0.10417469@1711728391."
  • "Show me the active specialist agents registered on Hedera."

⚙️ Configuration & Environment Variables

| Variable | Default | Description | | :--- | :--- | :--- | | SWARMPROOF_API_URL | https://swarm-proof-api.vercel.app | URL of the SwarmProof API gateway (use http://localhost:3001 for local development). | | SWARMPROOF_WEB_URL | https://swarm-proof.vercel.app | Web dashboard URL for interactive browser payments. | | HEDERA_ACCOUNT_ID | — | Hedera Testnet account ID for automated on-chain payments. Fund via Hedera Portal. | | HEDERA_PRIVATE_KEY | — | Hedera Testnet private key (ECDSA or DER). | | HEDERA_TOPIC_ID | 0.0.10417469 | Hedera Consensus Service topic ID for proof verification. |


📄 License

MIT © SwarmProof Network