Skip to content
MCP server

Spraay X402 MCP

MCP server for Spraay x402 Gateway. 60 tools for crypto payments, DeFi, and AI on Base.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
3.1.1
Listing updated
5 days ago

About Spraay X402 MCP

Spraay X402 MCP is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add spraay-x402-mcp --env X402_WALLET_PRIVATE_KEY='<X402_WALLET_PRIVATE_KEY>' -- npx -y spraay-x402-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "spraay-x402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "spraay-x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "<X402_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

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

Configuration

  • X402_WALLET_PRIVATE_KEYPrivate key for the wallet that pays for x402 requests (USDC on Base)Required

Pricing

Open source

Spraay X402 MCP FAQ

Is Spraay X402 MCP free?

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

How do I add Spraay X402 MCP to Claude Code?

Run this command in your terminal: claude mcp add spraay-x402-mcp --env X402_WALLET_PRIVATE_KEY='<X402_WALLET_PRIVATE_KEY>' -- npx -y spraay-x402-mcp

What are the best alternatives to Spraay X402 MCP?

The closest alternatives to Spraay X402 MCP are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

Where this comes from

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

How AIPoweredBot checks servers

Alternatives to Spraay X402 MCP

  1. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  2. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  3. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments
  4. Stock scores, what a price assumes, earnings quality and quiet profit revisions

    • 11 tools
    • Remote
    • Free
    • Finance and payments
  5. Provyan

    MCP server

    Backtested crypto signal results on 94 coins, with luck odds and sources

    • 7 tools
    • Remote
    • Free
    • Finance and payments
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    • 5 tools
    • Remote
    • Open source
    • Legal and government