solana-alpha-x402-mcp
Provides tools for accessing the live Solana Alpha API, including token prices, news, new tokens, trending tokens, perpetuals, rugcheck data, wallet information, and token reports. Supports x402 USDC payments on Solana mainnet, with optional automatic payment signing and per-call price caps.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@solana-alpha-x402-mcp what are the trending Solana tokens right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
solana-alpha-x402-mcp
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 |
| — | free |
|
| 0.005 USDC |
|
| 0.005 USDC |
|
| 0.005 USDC |
|
| 0.01 USDC |
|
| 0.01 USDC |
|
| 0.01 USDC |
|
| 0.02 USDC |
|
| 0.08 USDC |
PayTo (never change): 3WN7T7VMnRJzjRhKosbaT2oiwuMiBCe6KBfZGiZygv7n
Behavior
No
SOLANA_PRIVATE_KEY: tools still call the live API. A402is 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. OptionalMAX_PRICE_USDCrejects 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 |
| no | Buyer secret key: base58 (Phantom/Solana CLI export) or JSON byte array |
| no | Cap per call (e.g. |
| no | Default |
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:
/.well-known/mcp.json — server card / install command
/tools.json — Claude/OpenAI-style function schemas (incl. price)
Safety
Do not put a real funded key in git, screenshots, or chat logs.
Smoke tests intentionally unset
SOLANA_PRIVATE_KEYand 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 toolsget_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_trendingA
Trending Solana tokens — 0.01 USDC. Trending and newly promoted Solana tokens (DexScreener) with live price, liquidity, volume, age and risk flags. Cost: 0.01 USDC via x402.
Inputs: sort, limit, minLiquidity.
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
Scored across 9 tools
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.
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.
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.
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
Related MCP Connectors
Pay-per-call MCP tools over x402 (USDC/Solana): LLM, utilities, x402 market and model prices.
Pay-per-call DeFi and macro intel for AI agents. x402 USDC tools via streamable HTTP /api/mcp.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Related MCP Servers
- AlicenseAqualityBmaintenanceEight 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.887 npmMIT
- AlicenseAqualityCmaintenanceEnables 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.5MIT
- AlicenseAqualityCmaintenanceEnables 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.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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