47620 Solana Data API

v1.1.0
xyz.47620/solana-data Checked 2 days ago Published 2 months ago

x402 pay-per-call Solana data + crypto market + JWT/unit utils for AI agents.

Give any MCP-capable AI agent (Claude, Cursor, Windsurf, OpenClaw, …) native access to 47620 pay-per-call data settled over x402 (HTTP 402) in USDC — non-custodial, no signup, no API key. 26 tools across four lines: 1. Onchain data — multichain (Solana, Base, Polygon): health, balance, token, tx, gas, trending, contract. 2. Crypto market data — price, OHLCV, RSI/EMA/SMA indicators, funding/open interest, order book. 3. CPU utilities — decode JWT, convert units, generate QR, unix timestamps, SHA-256. 4.

Summary extracted from the README.

47620 Data — MCP server (multichain)

Give any MCP-capable AI agent (Claude, Cursor, Windsurf, OpenClaw, …) native access to 47620 pay-per-call data settled over x402 (HTTP 402) in USDC — non-custodial, no signup, no API key. 26 tools across four lines:

  1. Onchain data — multichain (Solana, Base, Polygon): health, balance, token, tx, gas, trending, contract.
  2. Crypto market data — price, OHLCV, RSI/EMA/SMA indicators, funding/open interest, order book.
  3. CPU utilities — decode JWT, convert units, generate QR, unix timestamps, SHA-256.
  4. Research & trust — live x402 ecosystem adoption stats, payee trust, MCP server trust checks.

Multichain. One endpoint serves Solana, Base and Polygon. Onchain tools take an explicit chain param (solana | base | polygon). The chain you pay on is independent of the chain you query — pay USDC on any of the three.

Remote (streamable HTTP): https://47620.xyz/mcp/multichain (also /mcp). Legacy solana_* tool names keep working as aliases.

Tools

Tool chain What it returns Price
health solana · base · polygon Network health: block/slot, gas, native token price $0.001
balance solana · base · polygon Native + stablecoin balances for an address $0.002
token solana · base · polygon Price, liquidity, 24h volume + DEX pairs $0.002
tx solana · base · polygon Status + transfer summary (signature or 0x hash) $0.003
gas base · polygon Current gas price + transfer cost $0.001
contract base · polygon Is an address a contract? Bytecode size + ERC-20 metadata $0.002
trending solana · base · polygon Trending DEX pairs by 24h volume $0.005
trust_check solana · base · polygon Pre-payment payee verdict: safe | review | avoid, from re-verifiable on-chain facts $0.02

Solana bundles

Tool What it returns Price
solana_snapshot Bundle: cluster health + slot + epoch + SOL/USD + top trending pairs, in ONE call $0.01
solana_risk_check Pre-payment risk check: account type, balance, activity, 0-100 risk score + verdict $0.01
solana_token_report Bundle: price + liquidity + volume + DEX pairs + on-chain supply + mint authority $0.01

Crypto market data

Tool What it returns Price
crypto_price Live spot USD price (+24h change/high/low/volume) for btc, eth, sol, bnb, xrp, ada, doge, avax, link, matic, arb, op $0.002
crypto_ohlcv OHLCV candle history (interval 1m–1d, limit ≤500) — raw input for a trading agent $0.003
crypto_indicators RSI(14)+signal, EMA(20/50), SMA(20/50/200) — the exact "rsi ema" analysis agents ask for $0.004
crypto_derivatives Perp funding rate, mark vs index, next funding, open interest $0.005
crypto_orderbook Top-of-book: best bid/ask, mid, spread (bps), depth, book imbalance $0.005
crypto_deep One-call decision pack: spot + last candle + indicators + funding/OI + book $0.02

CPU utilities (deterministic, keyless, instant)

Tool What it returns Price
jwt_decode Decode a JWT → header/payload/claims (sub/iss/aud/exp+expired/iat/nbf, alg, kid). Signature NOT verified $0.002
unit_convert Length/mass/area/temperature — incl. Russian verst/sazhen/pood/funt $0.001
qr_generate QR code as inline SVG + base64 data URI (pure CPU) $0.002
unix_timestamp Unix ↔ ISO-8601, auto-detects s/ms, formats in a target timezone $0.001
sha256_fingerprint SHA-256: hex, colon-hex, short 16-char id, base64 $0.001

x402 ecosystem research & MCP trust

Tool What it returns Price
x402_ecosystem_stats Live, sourced x402 adoption: indexed services, networks, assets, categories, USD price points (min/median/mean/max). Every figure carries its source URL + fetchedAt; nothing fabricated $0.01
x402_ecosystem_networks Network/asset histogram of the live x402 ecosystem $0.005
mcp_trust_check Before connecting: an MCP server's reachability, handshake, HTTPS, tools, risky capabilities and prompt-injection exposure → safe | review | avoid $0.02

Install

npx -y 47620-solana-mcp

Configure (Claude Desktop / Cursor / any MCP client)

{
  "mcpServers": {
    "47620-data": {
      "command": "npx",
      "args": ["-y", "47620-solana-mcp"],
      "env": {
        "X402_BASE_URL": "https://47620.xyz",
        "X402_WALLET_KEY": "<base58 Solana secret key>"
      }
    }
  }
}

Payment modes

  1. X402_WALLET_KEY — base58 secret key of a wallet that holds a little USDC + gas. The server signs the payment and retries automatically. Fully autonomous (best for agents).
  2. X402_PAY_URL — an HTTP payment broker: POST { url, challenge } → { header }. For hosted / MPC wallets where the key never touches the process.
  3. neither — the tool returns the 402 challenge plus a ready-to-run npx awal x402 pay "<url>" command, so the agent (or its x402-aware runtime) pays.

Each call is a standard x402 paid request. Funds go directly to the seller's wallet (non-custodial).

Env vars

Var Default Notes
X402_BASE_URL https://47620.xyz API base
X402_WALLET_KEY — base58 secret key (payment mode 1)
X402_PAY_URL — payment broker (payment mode 2)
X402_RPC_URL mainnet-beta RPC for settlement

Try it

// agent prompt
"Use trending with chain=base to get the top Base DEX pairs right now."

Also available

  • npm: npx -y 47620-solana-mcp
  • HTTP API: GET https://47620.xyz/x/solana/trending → 402 (pay & retry)
  • Remote MCP: https://47620.xyz/mcp
  • Agent Skill: npx skills add 47620-xyz/solana-data-skills
  • Directory / catalog: https://47620.xyz/x/catalog

License

MIT