Skip to main content
Glama
solana-alpha-x402-mcp

solana-alpha-x402-mcp

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

Tool

Endpoint

Price

list_pricing

—

free

get_price

/api/price

0.005 USDC

get_news

/api/news

0.005 USDC

get_new

/api/new

0.005 USDC

get_trending

/api/trending

0.01 USDC

get_perps

/api/perps

0.01 USDC

get_rugcheck

/api/rugcheck

0.01 USDC

get_wallet

/api/wallet

0.02 USDC

get_token_report

/api/token-report

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

Related MCP server: 47620 Solana Data

Install (local / from this repo)

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

Variable

Required

Meaning

SOLANA_PRIVATE_KEY

no

Buyer secret key: base58 (Phantom/Solana CLI export) or JSON byte array […]. Never commit this.

MAX_PRICE_USDC

no

Cap per call (e.g. 0.02). Listed price above the cap → error, no payment.

API_BASE_URL

no

Default https://solana-x402-data.netlify.app

Claude Desktop (claude_desktop_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"
      }
    }
  }
}

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

{
  "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:

{
  "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:

{
  "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:

{
  "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.

Available Tools

9 tools
get_newB

Newest Solana tokens — 0.005 USDC. Newest Solana token profiles and fresh launches, youngest pair first, with price, liquidity, volume and risk flags. Cost: 0.005 USDC via x402.

Inputs: limit, minLiquidity.

get_newsA

Crypto news + Fear & Greed — 0.005 USDC. Latest crypto headlines from Cointelegraph, Decrypt, The Block and CoinDesk, deduplicated, with Fear & Greed index. Optional keyword filter. Cost: 0.005 USDC via x402.

Inputs: q, limit.

get_perpsA

Solana perps funding & open interest — 0.01 USDC. Perpetual futures snapshot across Solana venues (Phoenix, Velocity, Jupiter Perps): funding, OI, mark/index, basis, cross-venue spreads. Max 5 markets. Cost: 0.01 USDC via x402.

Inputs: markets.

get_priceA

Solana token prices — 0.005 USDC. Live USD price, 24h change, liquidity and market cap for up to 20 Solana tokens in one call. Accepts symbols (SOL, JUP, BONK, WIF, any Jupiter-listed ticker) or SPL mint addresses. Source: Jupiter Price API v3. Cost: 0.005 USDC via x402.

Inputs: tokens (required).

get_rugcheckA

Solana token rug check — 0.01 USDC. Rug-risk report for any SPL / Token-2022 mint: authorities, Token-2022 extensions, supply, top-10 holders excl. pools, LP lock/burn, age, 0-100 risk score. Cost: 0.01 USDC via x402.

Inputs: mint (required).

get_token_reportA

Solana token due-diligence report (premium bundle) — 0.08 USDC. One-call due diligence: full rug check + Jupiter price/changes + DexScreener market data + socials, with pass/caution/avoid verdict. Cost: 0.08 USDC via x402.

Inputs: mint (required).

get_walletA

Solana wallet profile & PnL — 0.02 USDC. Profile any Solana wallet: SOL and token holdings with USD values, recent swaps, per-token flows with approximate PnL, bot-like behavior signals. Cost: 0.02 USDC via x402.

Inputs: address (required), limit.

list_pricingA

Free. List all Solana Alpha API tools with USDC prices, PayTo, network, params, and whether a signer is configured. Call this first.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 9 tools

    Disambiguation4/5

    Each tool targets a distinct data need (price, news, trending, new, perps, rugcheck, token report, wallet), and descriptions make the intent clear. Mild overlap exists between get_trending and get_new (both DexScreener token discovery) and between get_rugcheck/get_price and the premium get_token_report bundle, but the cost tiers and 'premium bundle' framing help an agent choose correctly.

    Naming Consistency5/5

    All tools follow a clean snake_case verb_noun pattern (get_price, get_news, get_rugcheck, etc.), with list_pricing as the only verb variation and it still fits the pattern. No mixed conventions or ambiguous prefixes.

    Tool Count5/5

    Nine tools is well within the ideal 3-15 range for a data API server. Each tool covers a distinct Solana data domain, plus a free list_pricing discovery tool, so nothing feels padded or missing at the count level.

    Completeness4/5

    Coverage spans pricing, discovery, derivatives, security/rug-check, due-diligence bundling, and wallet analysis—a broad surface with a clear entry point via list_pricing. Minor gaps remain: no historical/OHLCV time-series, no pool/liquidity-pair specifics beyond trending, and no batch/multi-wallet or token-holder detail, though agents can work around these.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Eight crypto and DeFi data tools for AI agents: prices, gas, one ParaSwap route quote, GoPlus token security and top-holder samples, DefiLlama yields, Hyperliquid/dYdX funding, and observed wallet balances. Inspect prices free; pay 0.001–0.008 USDC per call on Base through x402. No API key or subscription.
      8
      87 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP-capable AI agents to access pay-per-call Solana data such as health, token prices, account balances, transactions, and trending DEX pairs, with automated x402 USDC settlement and no signup or API key required.
      5
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP-capable AI agents to make pay-per-call Solana data requests (snapshots, risk checks, token reports, health, balances, transactions, trending pairs) with automatic USDC settlement over x402.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to call live x402-metered crypto intelligence tools for Hyperliquid funding and market data, TradingView technical analysis, wallet balances, trade plans, and desk state, paid in USDC on Base. It also supports a builder referral program that pays a share of referred sales.
      MIT