# Spraay X402 MCP

> Spraay X402 MCP is an open-source MCP server for finance and payments. MCP server for Spraay x402 Gateway. 60 tools for crypto payments, DeFi, and AI on Base. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/plagtech/spraay-x402-mcp
- **MCP Registry name:** io.github.plagtech/spraay-x402-mcp
- **Categories:** finance and payments
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [L2WS](https://ai-powered.com/mcp/l2ws): L2WS is a paid MCP server for finance and payments.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/spraay-x402-mcp
