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

augurrisk-mcp

v1.0.1

Published

Local stdio MCP server for Augur's paid Base contract risk API.

Readme

Augur MCP Server

Local stdio MCP server that pays Augur over x402 and exposes Augur's paid Base contract risk API as MCP tools.

This package keeps Augur itself as the canonical HTTP product at https://augurrisk.com and uses a local MCP bridge so wallet signing stays on the operator's machine.

What You Get

  • local stdio MCP server
  • x402 payment stays client-side
  • no API key or signup for Augur itself
  • two tools out of the box: analyze_base_contract_risk and describe_augur_service

Package Surface

Package name:

augurrisk-mcp

Fastest install path:

npx -y augurrisk-mcp

Local Install

cd examples/javascript/augur-mcp
npm install
cp .env.example .env

Required env:

  • CLIENT_PRIVATE_KEY: wallet key used for the x402 payment handshake

Optional env:

  • AUGUR_URL: defaults to https://augurrisk.com
  • AUGUR_ADDRESS: defaults to 0x4200000000000000000000000000000000000006

Run

npm start

The server communicates over stdio, which is the expected transport for local MCP clients such as Claude Desktop and Codex-compatible clients.

Smoke Test

Verify the server starts and the MCP tool list is reachable:

npm run smoke

Verify one real paid MCP tool call end-to-end:

npm run smoke -- --paid

Preview the publish payload:

npm run pack:preview

Tools

analyze_base_contract_risk

Inputs:

  • address: Base mainnet contract address

Behavior:

  • calls Augur's paid /analyze endpoint
  • handles the x402 payment handshake locally with your wallet
  • returns both text output and structured JSON content

describe_augur_service

Returns the configured Augur base URL, default example address, and payment path details without exposing the local payer wallet address.

Claude Desktop Wiring

Current Local-Repo Setup

{
  "mcpServers": {
    "augur": {
      "command": "npm",
      "args": ["start", "--prefix", "/absolute/path/to/risk-api/examples/javascript/augur-mcp"],
      "env": {
        "CLIENT_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY",
        "AUGUR_URL": "https://augurrisk.com"
      }
    }
  }
}

Package-Based Setup After Publish

{
  "mcpServers": {
    "augur": {
      "command": "npx",
      "args": ["-y", "augurrisk-mcp"],
      "env": {
        "CLIENT_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY",
        "AUGUR_URL": "https://augurrisk.com"
      }
    }
  }
}

If you prefer not to place the private key directly in the Claude config, start the server from a shell where CLIENT_PRIVATE_KEY is already set.

On Windows, Claude Desktop config typically lives at:

%APPDATA%\Claude\claude_desktop_config.json

Example Windows entry for this repo:

{
  "mcpServers": {
    "augur": {
      "command": "npm",
      "args": [
        "start",
        "--prefix",
        "C:\\Users\\justi\\dev\\risk-api\\examples\\javascript\\augur-mcp"
      ],
      "env": {
        "CLIENT_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY",
        "AUGUR_URL": "https://augurrisk.com",
        "AUGUR_ADDRESS": "0x4200000000000000000000000000000000000006"
      }
    }
  }
}