Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Solana Alpha x402

@nero-zngMCP server · External

Pay-per-call Solana market intel via x402 USDC: price, news, trending, perps, rugcheck, wallet.

Crypto marketsv1.4.0MITJavaScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

Dockerghcr.io/nero-zng/solana-alpha-x402-mcp:1.4.0

Run

docker run -i --rm ghcr.io/nero-zng/solana-alpha-x402-mcp:1.4.0

MCP client config

{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/nero-zng/solana-alpha-x402-mcp:1.4.0"
      ]
    }
  }
}
README3 min read

solana-alpha-x402-mcp

MCP score

stdio MCP server for the Solana Alpha API (x402 v2, USDC on Solana mainnet).

One tool per paid HTTP endpoint, plus a free list_pricing tool. Each tool calls the live API at https://solana-x402-data.netlify.app (override with API_BASE_URL).

ToolEndpointPrice
list_pricing—free
get_price/api/price0.005 USDC
get_news/api/news0.005 USDC
get_new/api/new0.005 USDC
get_trending/api/trending0.01 USDC
get_perps/api/perps0.01 USDC
get_rugcheck/api/rugcheck0.01 USDC
get_wallet/api/wallet0.02 USDC
get_token_report/api/token-report0.08 USDC

PayTo (never change): 3WN7T7VMnRJzjRhKosbaT2oiwuMiBCe6KBfZGiZygv7n

Behavior

  • No SOLANA_PRIVATE_KEY: tools still call the live API. A 402 is returned as a readable JSON result (price, payTo, network, asset, feePayer) — not a hard failure — so agents can discover payment requirements.
  • With SOLANA_PRIVATE_KEY: uses @x402/fetch + @x402/svm (ExactSvmScheme) to sign and settle USDC payments automatically. Optional MAX_PRICE_USDC rejects calls above the cap.
  • This package is a standalone Node MCP server; it talks to the live Solana Alpha API over HTTPS and does not embed Netlify Functions.

Install (local / from this repo)

bash
npm install
npm run smoke          # initialize + tools/list + get_price → 402 info (no key, no payment)

Published npm name (when published): solana-alpha-x402-mcp
Until then, point your MCP host at the local entry: node /absolute/path/to/solana-alpha-x402-mcp/src/index.mjs

Environment

VariableRequiredMeaning
SOLANA_PRIVATE_KEYnoBuyer secret key: base58 (Phantom/Solana CLI export) or JSON byte array […]. Never commit this.
MAX_PRICE_USDCnoCap per call (e.g. 0.02). Listed price above the cap → error, no payment.
API_BASE_URLnoDefault https://solana-x402-data.netlify.app

Claude Desktop (claude_desktop_config.json)

json
{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/solana-alpha-x402-mcp/src/index.mjs"],
      "env": {
        "API_BASE_URL": "https://solana-x402-data.netlify.app"
      }
    }
  }
}

With auto-pay (use a funded burner wallet only):

json
{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/solana-alpha-x402-mcp/src/index.mjs"],
      "env": {
        "SOLANA_PRIVATE_KEY": "YOUR_BASE58_SECRET",
        "MAX_PRICE_USDC": "0.08",
        "API_BASE_URL": "https://solana-x402-data.netlify.app"
      }
    }
  }
}

After npm publish of this package you can use:

json
{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "npx",
      "args": ["-y", "solana-alpha-x402-mcp"],
      "env": {
        "MAX_PRICE_USDC": "0.08"
      }
    }
  }
}

Cursor (mcp.json)

Project or user MCP config:

json
{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/solana-alpha-x402-mcp/src/index.mjs"],
      "env": {
        "API_BASE_URL": "https://solana-x402-data.netlify.app"
      }
    }
  }
}

Or via npx once published:

json
{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "npx",
      "args": ["-y", "solana-alpha-x402-mcp"]
    }
  }
}

Discovery (HTTP, free)

Public discovery documents on the live API host:

Safety

  • Do not put a real funded key in git, screenshots, or chat logs.
  • Smoke tests intentionally unset SOLANA_PRIVATE_KEY and never settle a payment.
  • PayTo is a receive-only public address hard-coded to match the API; changing it would break settlement against the live service.

Similar modules

Browse Crypto markets