Skip to main content
Glama
silverback-x402-mcp

silverback-x402-mcp

by RidingLiquid

silverback-x402-mcp

MCP server for Silverback DeFi Intelligence — 27 paid endpoints via x402 micropayments. No API keys, no subscriptions. Your AI agent pays per call in USDC on Base.

Quick Start

PRIVATE_KEY=0xYourKey npx -y silverback-x402-mcp

The server registers 27 DeFi intelligence tools over stdio. Your agent can immediately query swap routes, yield opportunities, token audits, whale movements, portfolio analytics, and more.

Related MCP server: Carbon Cashmere MCP Server

Requirements

  • Node.js 20+

  • Wallet private key with USDC on Base (+ small amount of ETH for gas)

Configuration

Variable

Description

Default

PRIVATE_KEY

Wallet private key (hex, 0x-prefixed)

required

SILVERBACK_API_URL

Silverback API endpoint

https://x402.silverbackdefi.app

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "silverback": {
      "command": "npx",
      "args": ["-y", "silverback-x402-mcp"],
      "env": {
        "PRIVATE_KEY": "0xYourPrivateKeyHere"
      }
    }
  }
}

Restart Claude Desktop. You'll see Silverback tools in the tools menu.

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "silverback": {
      "command": "npx",
      "args": ["-y", "silverback-x402-mcp"],
      "env": {
        "PRIVATE_KEY": "0xYourPrivateKeyHere"
      }
    }
  }
}

Claude Code

claude mcp add silverback -- npx -y silverback-x402-mcp

Set PRIVATE_KEY in your environment.

Available Tools (27)

Core DeFi Services

Tool

Description

Price

swap_quote

Optimal swap route with price impact on Base

$0.01

swap

Non-custodial Permit2 swap with EIP-712 signing

$0.05

pool_analysis

Liquidity pool analysis (TVL, volume, IL risk)

$0.01

technical_analysis

RSI, MACD, Bollinger Bands, pivot point S/R

$0.03

defi_yield

Yield opportunities on Aerodrome, Morpho, etc.

$0.03

backtest

Strategy backtesting with historical data

$0.10

Market Data

Tool

Description

Price

top_pools

Top liquidity pools by TVL and volume

$0.005

top_protocols

Top DeFi protocols on Base

$0.005

top_coins

Top cryptocurrencies by market cap

$0.005

gas_price

EIP-1559 gas prices, USD cost estimates, congestion

$0.005

trending_tokens

Trending tokens by chain

$0.005

token_metadata

Token price, market cap, description

$0.005

correlation_matrix

Token correlation for diversification

$0.01

arbitrage_scanner

Cross-DEX arbitrage (OpenOcean, 1inch, 0x)

$0.03

price_history

Historical price/volume over 1–365 days

$0.005

market_overview

Global market cap, BTC/ETH dominance, gainers/losers

$0.005

protocol_fees

Protocol fee revenue (24h/7d/30d) on Base

$0.01

Solana

Tool

Description

Price

jupiter_quote

Jupiter DEX swap quote — route, impact, fees

$0.01

solana_trending

Trending tokens/pools on Solana

$0.005

Intelligence

Tool

Description

Price

token_audit

Security audit: contract, holders, deployer reputation, risk score

$0.02

whale_moves

Whale transfers and accumulation patterns

$0.02

holder_analytics

Token holder distribution and concentration metrics

$0.01

wallet_portfolio

Wallet ERC-20 holdings with USD values

$0.02

token_compare

Side-by-side comparison of two tokens

$0.01

agent_reputation

ERC-8004 agent reputation scores

$0.005

agent_discover

Discover registered agents by capability

$0.01

Chat

Tool

Description

Price

chat

AI DeFi assistant — ask anything about crypto

$0.05

How It Works

AI Agent (Claude, Cursor, etc.)
  |  stdio JSON-RPC
  v
silverback-x402-mcp (local, has your wallet)
  |  1. Tool call from agent
  |  2. HTTP request to Silverback API
  |  3. Server returns 402 Payment Required
  |  4. MCP server auto-signs USDC payment
  |  5. Retries with payment proof
  |  6. Returns data to agent
  v
Silverback API (x402.silverbackdefi.app)

Payment is invisible to the agent. It calls a tool, the MCP server handles x402 payment, and returns the data.

Payment Networks

Silverback accepts USDC on:

  • Base (primary) — via CDP facilitator

  • Solana — via PayAI facilitator

  • SKALE Base — zero gas fees

  • Keeta — zero gas fees

This MCP server pays via Base USDC by default.

License

MIT

Available Tools

27 tools
agent_discoverB

Discover ERC-8004 registered agents by capability tags (cached, faster) ($0.01 USDC per call)

Inputs: tags, chainId.

agent_reputationB

Query ERC-8004 agent reputation scores and on-chain feedback ($0.005 USDC per call)

Inputs: agentId (required), chainId.

arbitrage_scannerB

Cross-DEX arbitrage scanner — OpenOcean, 1inch, 0x Protocol, with gas cost analysis ($0.03 USDC per call)

Inputs: tokenIn (required), tokenOut (required), amount.

backtestB

Strategy backtesting with historical data and performance metrics ($0.10 USDC per call)

Inputs: token (required), days, strategy.

chatC

AI-powered DeFi assistant — ask anything about crypto, DeFi, tokens, or markets ($0.05 USDC per call)

Inputs: message (required).

correlation_matrixB

Price correlation matrix between tokens for portfolio diversification ($0.01 USDC per call)

Inputs: tokens (required).

defi_yieldC

DeFi yield opportunities across Aerodrome, Morpho, and other Base protocols ($0.03 USDC per call)

Inputs: token, amount, riskTolerance.

gas_priceA

Base chain gas prices with EIP-1559 data, USD cost estimates, and congestion indicator ($0.005 USDC per call)

Inputs: no named parameters.

holder_analyticsB

Token holder distribution — top holders, concentration metrics, holder count ($0.01 USDC per call)

Inputs: token (required), limit.

jupiter_quoteA

Jupiter DEX swap quote for Solana tokens — optimal route, price impact, fees ($0.01 USDC per call)

Inputs: amount (required), inputMint (required), outputMint (required), slippageBps.

market_overviewA

Global crypto market snapshot — total market cap, BTC/ETH dominance, top gainers/losers ($0.005 USDC per call)

Inputs: no named parameters.

pool_analysisB

Deep liquidity pool analysis with TVL, volume, fees, and impermanent loss risk ($0.01 USDC per call)

Inputs: pool, token.

price_historyA

Historical price, volume, and market cap for a token over 1–365 days ($0.005 USDC per call)

Inputs: token (required), days.

protocol_feesA

24h/7d/30d fee revenue for top Base protocols (Aerodrome, Uniswap, Morpho, etc.) ($0.01 USDC per call)

Inputs: limit.

swapB

Execute non-custodial Permit2 swap with EIP-712 signing data ($0.05 USDC per call)

Inputs: tokenIn (required), amountIn (required), tokenOut (required), slippage, +1 more.

swap_quoteB

Get optimal swap route with price impact analysis on Base chain ($0.01 USDC per call)

Inputs: tokenIn (required), amountIn (required), tokenOut (required).

technical_analysisB

Technical analysis with RSI, MACD, Bollinger Bands, pivot point S/R levels ($0.03 USDC per call)

Inputs: token (required), timeframe.

token_auditA

Token security audit — contract analysis, holder distribution, deployer reputation, risk score ($0.02 USDC per call)

Inputs: token (required).

token_compareA

Side-by-side comparison of two tokens — market cap, volume, supply, relative metrics ($0.01 USDC per call)

Inputs: tokenA (required), tokenB (required).

token_metadataB

Token metadata including price, market cap, description, and links ($0.005 USDC per call)

Inputs: token (required).

top_coinsB

Top cryptocurrencies by market cap with price and 24h change ($0.005 USDC per call)

Inputs: limit.

top_poolsB

Top liquidity pools on Base by TVL and volume ($0.005 USDC per call)

Inputs: limit.

top_protocolsB

Top DeFi protocols on Base by TVL ($0.005 USDC per call)

Inputs: limit.

wallet_portfolioB

Wallet ERC-20 holdings on Base with USD values and total portfolio value ($0.02 USDC per call)

Inputs: address (required).

whale_movesC

Whale transaction tracker — large transfers, accumulation/distribution patterns ($0.02 USDC per call)

Inputs: token (required), limit, minValueUsd.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 27 tools

    Disambiguation4/5

    Most tools target clearly distinct concerns (audit vs holders vs whale moves vs gas vs yield), and the swap-related tools are separable by chain/purpose (swap, swap_quote, jupiter_quote, arbitrage_scanner). There is mild overlap among the market-data cluster (market_overview, top_coins, trending_tokens, token_metadata, price_history) and between token_compare/token_metadata, but descriptions largely disambiguate them.

    Naming Consistency4/5

    All names are consistently snake_case, which is good. The pattern is mostly noun_phrase (price_history, token_audit, correlation_matrix), with a few bare verbs (swap, chat, backtest) mixed in, a minor deviation from the otherwise descriptive compound style.

    Tool Count3/5

    27 tools is at the heavy end and spans several sub-domains (market data, token analytics, DeFi yield/backtesting, Base swaps, Solana swaps, ERC-8004 agents). Most earn their place, but the redundant market-data listings (top_coins, trending_tokens, market_overview, token_metadata) push the surface larger than its core scope requires.

    Completeness4/5

    Coverage is broad for a DeFi/crypto trading agent: market data, token security, holders, portfolio, swap quote+execute, arbitrage, yield, backtesting, technicals, gas, and agent reputation/discovery. Minor gaps remain (no wallet transaction history, no NFT or bridging operations, cross-chain limited to Base and Solana), but core workflows are covered end-to-end.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers