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

bazaar-mcp

v1.0.2

Published

MCP server for the OpSpawn x402 Bazaar — screenshot capture, AI analysis, PDF/HTML generation, code security scanning, and dependency auditing via x402 micropayments

Readme

@opspawn/bazaar-mcp

MCP server for the x402 Bazaar — AI-powered tools available via x402 micropayments.

Use screenshots, AI analysis, PDF/HTML generation, code security scanning, and dependency auditing directly from Claude Code, Cursor, Cline, or any MCP client.

Available Tools

| Tool | Description | Cost | |------|-------------|------| | bazaar_screenshot | Capture a screenshot of any URL with AI analysis | $0.01 USDC | | bazaar_ai_analysis | AI-powered page analysis using Gemini 2.0 Flash | $0.01 USDC | | bazaar_md_to_pdf | Convert markdown to a styled PDF document | $0.005 USDC | | bazaar_md_to_html | Convert markdown to styled HTML | $0.005 USDC | | bazaar_code_scan | Scan code for security vulnerabilities | $0.05 USDC | | bazaar_dep_audit | Audit dependencies for known CVEs | $0.10 USDC | | bazaar_test | Free connectivity test | Free | | bazaar_status | List all services and pricing | Free |

Installation

npm install -g @opspawn/bazaar-mcp

Or use directly with npx:

npx @opspawn/bazaar-mcp

Configuration

Claude Code

Add to your Claude Code MCP settings (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "bazaar": {
      "command": "npx",
      "args": ["@opspawn/bazaar-mcp"],
      "env": {
        "X402_PAYMENT_TOKEN": "your-payment-token-here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "bazaar": {
      "command": "npx",
      "args": ["@opspawn/bazaar-mcp"]
    }
  }
}

Cline

Add to your Cline MCP settings:

{
  "mcpServers": {
    "bazaar": {
      "command": "npx",
      "args": ["@opspawn/bazaar-mcp"]
    }
  }
}

SSE Transport (Remote/Web Clients)

Start the server in SSE mode:

npx @opspawn/bazaar-mcp --sse

Connect your MCP client to http://localhost:3402/sse.

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | X402_PAYMENT_TOKEN | Payment signature for paid endpoints | (empty — will get 402 responses) | | A2A_GATEWAY_URL | x402 Bazaar gateway URL | https://a2a.opspawn.com | | REQUEST_TIMEOUT | Request timeout in milliseconds | 30000 | | SSE_PORT | Port for SSE transport mode | 3402 |

Payment Setup

x402 Bazaar endpoints use the x402 protocol for micropayments in USDC.

How it works

  1. When you call a paid tool without a payment token, you'll get a detailed 402 response showing the price and payment options
  2. Payment is supported on Base (standard) and SKALE Europa (gasless, sub-second)
  3. To make paid requests, set the X402_PAYMENT_TOKEN environment variable with a valid x402 payment signature

Supported networks

  • Base (eip155:8453) — USDC, standard gas fees
  • SKALE Europa (eip155:2046399126) — USDC, zero gas fees, sub-second finality
  • Arbitrum One (eip155:42161) — USDC, standard gas fees

Development

git clone https://github.com/opspawn/bazaar-mcp-server.git
cd bazaar-mcp-server
npm install
npm run build
npm test

License

MIT