Skip to content
MCP server

Bazaar MCP

x402 micropayment-powered developer tools: screenshots, AI analysis, PDFs, code scanning

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.2
Listing updated
6 days ago

About Bazaar MCP

Bazaar MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add bazaar-mcp --env X402_PAYMENT_TOKEN='<X402_PAYMENT_TOKEN>' -- npx -y bazaar-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "bazaar-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bazaar-mcp"
      ],
      "env": {
        "X402_PAYMENT_TOKEN": "<X402_PAYMENT_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "bazaar-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bazaar-mcp"
      ],
      "env": {
        "X402_PAYMENT_TOKEN": "<X402_PAYMENT_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "bazaar-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bazaar-mcp"
      ],
      "env": {
        "X402_PAYMENT_TOKEN": "<X402_PAYMENT_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "bazaar-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bazaar-mcp"
      ],
      "env": {
        "X402_PAYMENT_TOKEN": "<X402_PAYMENT_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "bazaar-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bazaar-mcp"
      ],
      "env": {
        "X402_PAYMENT_TOKEN": "<X402_PAYMENT_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • X402_PAYMENT_TOKENx402 payment token for authenticated requests to the Bazaar gateway
  • BAZAAR_GATEWAY_URLBase URL for the x402 Bazaar gateway (defaults to https://a2a.opspawn.com)

Pricing

Open source

Bazaar MCP FAQ

Is Bazaar MCP free?

Yes. Bazaar MCP is open source, so you can use and self-host it for free.

How do I add Bazaar MCP to Claude Code?

Run this command in your terminal: claude mcp add bazaar-mcp --env X402_PAYMENT_TOKEN='<X402_PAYMENT_TOKEN>' -- npx -y bazaar-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers