X402 MCP Server

177 crypto market intel endpoints with auto x402 USDC micropayments from your AI agent

Local serverstdio

What is the X402 MCP server?

If you already use X402, the x402 mcp server is the piece that lets your assistant work with it directly. 177 crypto market intel endpoints with auto x402 USDC micropayments from your AI agent.

What the server does

MCP server that exposes Carbon & Cashmere's 177 crypto market intelligence endpoints to your AI agent — with automatic x402 USDC micropayments from your wallet.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • get_v1_news — analyzed crypto news with sentiment + market impact
  • get_v1_stablecoins — total market cap, per-coin supply, chain distribution
  • get_v1_onchain_btc — Bitcoin on-chain metrics (hash-rate, mempool, miner flows)
  • get_v1_bittensor_leaderboard — top-100 Bittensor miners by emission
  • get_v1_mantis_realized_accuracy — MANTIS subnet (UID 253) realized accuracy track-record
  • get_v1_intel_snapshot — aggregated market intel snapshot
  • One — time cost: ~$10 USDC covers 200+ tool calls
  • base58 — encoded Solana keypair bytes
  • Pay-per — call cap.** Each call costs $0.003–$0.50. Even a runaway loop is bounded by wallet balance
  • X402_TOOL_LIMIT — What you get
  • Variable — Required
  • EVM_PRIVATE_KEY — one of

Credentials and setup notes

Configuration is passed through the environment: EVM_PRIVATE_KEY, SVM_PRIVATE_KEY, X402_TOOL_LIMIT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. X402's toolset — get_v1_news, get_v1_stablecoins, get_v1_onchain_btc and 11 more — is a fair guide to whether it matches your workflow. It is maintained by CarbonCashmere; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch X402.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
get_v1_newsanalyzed crypto news with sentiment + market impact
get_v1_stablecoinstotal market cap, per-coin supply, chain distribution
get_v1_onchain_btcBitcoin on-chain metrics (hash-rate, mempool, miner flows)
get_v1_bittensor_leaderboardtop-100 Bittensor miners by emission
get_v1_mantis_realized_accuracyMANTIS subnet (UID 253) realized accuracy track-record
get_v1_intel_snapshotaggregated market intel snapshot
Onetime cost: ~$10 USDC covers 200+ tool calls
base58encoded Solana keypair bytes
Pay-percall cap.** Each call costs $0.003–$0.50. Even a runaway loop is bounded by wallet balance.
X402_TOOL_LIMITWhat you get
VariableRequired
EVM_PRIVATE_KEYone of
SVM_PRIVATE_KEYone of
X402_API_BASEno

How to install the X402 MCP server

{
  "mcpServers": {
    "carbon-cashmere": {
      "command": "npx",
      "args": ["-y", "@carbon-cashmere/x402-mcp"],
      "env": {
        "EVM_PRIVATE_KEY": "0x_your_evm_private_key_here",
        "SVM_PRIVATE_KEY": "your_base58_solana_private_key_here_optional"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
EVM_PRIVATE_KEYCredential the server authenticates with.Yes
SVM_PRIVATE_KEYCredential the server authenticates with.Yes
X402_TOOL_LIMITConfiguration value read at startup.Optional

Example prompts to try

  • Use X402 to get v1 news.
  • Use X402 to get v1 stablecoins.
  • Use X402 to get v1 onchain btc.

Frequently asked questions

It connects X402 to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (get_v1_news, get_v1_stablecoins, get_v1_onchain_btc, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with X402 directly.